Platforms · Instagram

Instagram Profile Country Scraper API

Country is the account's own declared country, not where a post was filmed and not the country you are calling from, and it is null when the account shows no transparency panel. author.ext.former_usernames_count is how many former usernames the account has had (0 when none).

GET /api/v1/data/instagram/profile-country · 1 credit per call · The same call repeated within 30 days may get the same answer, so data can be up to 30 days old.

Inputs

  • user_id (required): User id.

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.ext.account_created (string): When the account was created, as a readable label such as 'August 2013'.
  • source_data.author.ext.business_hours (array)
  • source_data.author.ext.country (string): Account country as an ISO 3166-1 alpha-2 code, or null when the profile does not name a single country.
  • source_data.author.ext.country_name (string): English name of country, for example 'South Korea' for KR.
  • source_data.author.ext.products (array): Null when it lists none.
  • 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.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 30 days may get the same answer, so data can be up to 30 days old.

Example call

GET /api/v1/data/instagram/profile-country?user_id=25025320

Questions

How much does the Instagram Profile Country API cost?

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

What do I send?

You must send user_id. 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 30 days may get the same answer, so data can be up to 30 days 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

  • Profile About: Get Instagram account transparency details. 1 credit a call
  • Profile Full: Instagram profile, recent posts, and computed analytics in one call. 5 credits a page
  • Profile Posts: List Instagram user posts. 1 credit a page
  • Profile Posts Full: Instagram posts with views, likes, comments, and per-post share counts where available, in one call. 5 credits a page
  • Profile Reels Full: Instagram reels with views, likes, comments, and per-reel share counts where available, in one call. 5 credits a page

More Instagram scraper APIs