API reference
Instagram Post Insights API
GET
/posts/{post_id}/insightsInsight fields for a post: ``like_count``, ``comment_count``, media type, creation time and ``ad_media``, which is set when the post has run as a boosted ad and ``null`` otherwise. Owner-only metrics such as ``save_count`` and ``inline_insights_node`` are always ``null``. ``post_id`` accepts the shortcode, the bare ``media_id`` or the composite ``<media_id>_<owner_id>`` pk.
$0.0004 per request ($0.40 per 1,000), flat. Only successful calls are billed.
Parameters
| Name | In | Required | Description |
|---|---|---|---|
| post_id | path | yes | — |
Request
curl --request GET \
--url https://api.herascrape.com/posts/3291000000000000000/insights \
--header "x-api-key: $HERASCRAPE_KEY"`data` holds a single JSON record. See the API reference for the full field list.