Platforms · Instagram

Instagram User Embed Scraper API

Returns the embed for a public Instagram profile. author.ext.embed_html is Instagram's own embed code for the profile (a blockquote plus the embed.js script tag), ready to paste into a page on your site, where it renders the profile card with its latest posts. author.ext.embed_url is the address of the frame that script loads (https://www.instagram.com/<username>/embed/), for placing the frame yourself. The response also carries the profile the embed shows: username, display name, picture, verification, exact follower count, post count and the account id.

GET /api/v1/data/instagram/user-embed · 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

  • handle (required): Instagram username without the @ symbol

What comes back

  • result_status (string): success, or not_available when the item does not exist, was removed or is not public.
  • source_data.author.avatar_url (string): URL to profile picture
  • source_data.author.display_name (string): Display name or full name
  • source_data.author.ext.business_hours (array)
  • source_data.author.ext.embed_html (string): Instagram's embed snippet for the profile, ready to paste into a page.
  • source_data.author.ext.embed_url (string)
  • source_data.author.ext.products (array): Null when it lists none.
  • source_data.author.followers (number): Follower or subscriber count as an integer. YouTube above 1,000 subscribers is YouTube's published three-significant-figure figure. When the integer is a published/rounded value, `author.ext.followers_approximate` is true.
  • source_data.author.id (string): Platform-specific user ID (always a string; platform-specific prefixes like `did:`, `spotify:artist:`, `t2_` are stripped)
  • source_data.author.posts_count (number): Total number of posts / videos / tracks / episodes
  • source_data.author.private (boolean): Whether the account is private.
  • source_data.author.url (string): Direct URL to the profile page
  • source_data.author.username (string): User handle or username
  • source_data.author.verified (boolean): Whether the account is verified
  • source_data.computed.content_category (string): Keyword-classified content category (e.g. tech, food, gaming). Null when undetectable.
  • source_data.computed.engagement_rate (number): Computed engagement rate (0..1).
  • source_data.computed.estimated_reach (number): Estimated reach based on views or follower count. Null when uncomputable.
  • source_data.computed.language (string)
  • source_data.computed.save_rate (number)
  • source_data (object): Everything the platform sent for this call, as it came.

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.

Example call

GET /api/v1/data/instagram/user-embed?handle=instagram

Questions

How much does the Instagram User Embed API cost?

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

What do I send?

You must send handle. 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.

More Instagram scraper APIs