Platforms · Instagram

Instagram Highlights Scraper API

Returns a list of story highlight collections for an Instagram user including highlight titles, cover images, and item counts.

GET /api/v1/data/instagram/highlights · 1 credit per call · The same call repeated within 15 minutes may get the same answer, so data can be up to 15 minutes old.

Inputs

  • user_id: Instagram user id. Use for faster response times.
  • handle: Instagram username without the @ symbol
  • since: Only rows published on or after this date: YYYY-MM-DD (midnight UTC) or an ISO 8601 timestamp. Rows older than it are left off each page. A row with no date is kept. `published_after`, `start_date`, `from_date`, `publish_time` (`yesterday`, `this-week`, `this-month`, `last-3-months`, `last-6-months`) and `max_age_days` are accepted and applied as `since`.
  • until: Only rows published on or before this date: YYYY-MM-DD (that whole UTC day is included) or an ISO 8601 timestamp. A row with no date is kept. `published_before`, `end_date` and `to_date` are accepted and applied as `until`.

What comes back

  • result_status (string): success, or not_available when the item does not exist, was removed or is not public.
  • count (integer): How many posts this answer holds.
  • posts[].id (string): The item's ID on the platform.
  • posts[].text (string): Its text.
  • posts[].language (string): Its language code.
  • posts[].deleted (boolean): Whether it was deleted.
  • posts[].author_username (string): The author's username.
  • posts[].author_avatar_url (string): The author's picture.
  • posts[].media[].url (string): Its media.
  • posts[].media[].thumbnail_url (string): Its media's thumbnail.
  • posts[].content_type (string): What it is: post.
  • posts[].platform (string): The platform's name.
  • posts[].source_data (object): Everything the platform sent for this row, as it came.
  • posts[].source_data.computed.content_category (string): Keyword-classified content category (e.g. tech, food, gaming). Null when undetectable.
  • posts[].source_data.computed.engagement_rate (number): Computed engagement rate (0..1).
  • posts[].source_data.computed.estimated_reach (number): Estimated reach based on views or follower count. Null when uncomputable.
  • posts[].source_data.computed.language (string): ISO 639-1 language code detected from the post text. Null when undetectable.
  • posts[].source_data.computed.save_rate (number): Saves divided by views, rounded to six places. Present only when the post has both a save count and a view count above zero.
  • posts[].source_data.post.author.avatar_url (string): URL to author profile picture
  • posts[].source_data.post.author.username (string): Author username
  • posts[].source_data.post.content.media_urls (any): URL(s) of the primary media. Single string for video/photo posts; array of strings for carousels.
  • posts[].source_data.post.content.text (string): Post caption, description, or text content
  • posts[].source_data.post.content.thumbnail_url (string): URL to thumbnail image
  • posts[].source_data.post.flags.deleted (boolean): Whether the post is tombstoned (always present)
  • posts[].source_data.post.id (string)

Good to know

  • Each call costs 1 credit. A call that finds nothing, or fails, is free.
  • The same call repeated within 15 minutes may get the same answer, so data can be up to 15 minutes old.
  • Send one of: user_id, handle.

Example call

GET /api/v1/data/instagram/highlights?handle=instagram

Questions

How much does the Instagram Highlights API cost?

Each call costs 1 credit. A call that finds nothing, or fails, costs nothing.

What do I send?

Give one of user_id and handle. 4 more inputs are optional: user_id, handle, since and until. Inputs go in the query string of a GET, or as JSON in a POST, along with your API key.

How fresh is the data?

The same call repeated within 15 minutes may get the same answer, so data can be up to 15 minutes old.

Do I need an Instagram account or developer app?

No. You call SocialHz with your SocialHz API key, and the same key works for every platform.

Can I try it before paying?

Yes. Signing up gives you 10 free credits, with no card needed.

Related Instagram endpoints

More Instagram scraper APIs