Instagram Profiles in bulk API
Look up several Instagram accounts at once with usernames: each row has username, bio, follower_count and input, for $0.56 per 1,000 calls.
- Each account in
usernamescounts as one call inputties each row to the item you sent- Accounts not found are listed in
missed
API health
- 24h health
- Normal
- Healthy / normal
- Available
- Limited
- Mostly down
Last 24 hours
Last 30 days
1Request
POST /api/v1/social { "platform": "instagram", "action": "profiles_batch", "params": { "usernames": [ "natgeo", "nasa" ] } }2JSON response
{ "results": [ { "username": string, "display_name": string, "bio": string, "follower_count": number }, … ] }3Rows
username display_name bio follower_count string string string number 4CSV
instagram-profiles_batch-sample.csv username,display_name,bio,follower_count,following_count,post_count,is_private,is_verified,is_business,is_professional,category,external_url,avatar_url,user_id,avatar_hd_url,external_urls,has_reels,highlight_count,recent_posts,url,reels_count,business_email,business_phone,threads_username,fbid,is_memorialized,is_joined_recently,account_type,emails,phones,pronouns,bio_links_detail,messaging_ids,business_address,platform,input
usernames array returns one profile row per account, and input ties each row to the item you sent. Accounts that were not found are listed in missed in the response. Rows come as a field table or a CSV.What data you get
Each row is one account. The table lists the fields each row returns, with their types and meanings, and shows no values.
| Field | Type | Meaning |
|---|---|---|
| username | string | Username (@handle). |
| display_name | string | Display name; can differ from username. |
| bio | string | Profile bio written by the account; may contain line breaks and emoji. |
| follower_count | number | Followers. null means not disclosed, not 0. |
| following_count | number | Accounts followed. null means not disclosed, not 0. |
| post_count | number | Total posts. null means not disclosed, not 0. |
| is_private | boolean | Whether the account is private. |
| is_verified | boolean | Whether the platform verified the account. null means it cannot be determined. |
| is_business | boolean | Whether the account is a business account. |
| is_professional | boolean | Whether the account is a professional account (business or creator). |
| category | string | Category name in the platform's own taxonomy, not normalized across platforms. |
| external_url | string | External link on the profile. |
| avatar_url | string | Avatar image link. Some platforms return sized CDN links that can expire. |
| user_id | string | User's unique ID on the platform. |
| avatar_hd_url | string | High-resolution avatar URL (avatar_url is the small image). |
| external_urls | array | All external links in the bio: url, title (external_url is only the first one). |
| has_reels | boolean | Whether the account has posted Reels. |
| highlight_count | number | Number of Highlights. |
| recent_posts | array | Latest posts on the profile page (pinned posts included), as an array; each entry is one post with the same fields as a row of user_posts (a field appears only when it has a value). Absent when the account is private or has no posts. |
| url | string | Link to the record on the platform. |
| reels_count | number | Number of Reels the account has posted (integer). |
| business_email | — | Email the business account makes public behind the Contact button on its profile. Absent when there is none. |
| business_phone | — | Phone number the business account makes public behind the Contact button on its profile. Absent when there is none. |
| threads_username | string | Name shown on the Threads badge on the profile; usually the person's Threads username. |
| fbid | string | Another numeric ID that Meta assigns to the account; it is not the same number as user_id. |
| is_memorialized | — | The account is memorialized (the status Instagram gives an account after its owner has died). Appears only for memorialized accounts, with the value true. |
| is_joined_recently | — | The profile is marked "Joined recently". Appears only when the mark is there, with the value true. |
| account_type | string | Account type: personal (individual), business or creator. |
| emails | — | Contact email addresses (a record can have several), passed through as is with duplicates removed. |
| phones | — | Phone numbers the person wrote publicly in the bio, as an array. Only numbers that start with + or 00, or that follow a label such as WhatsApp or Phone, are included. Absent when there are none. |
| pronouns | — | Pronouns filled in on the profile, as an array. |
| bio_links_detail | array | Each link in the bio section, one entry per link: url (the real address, with the redirect layer Instagram wraps around it removed), title (link title, present only on some links), type (link type given by Instagram, such as external). external_urls holds the url and title of the same links. |
| messaging_ids | — | Chat accounts written publicly in the bio, one entry per account as {app, id}; app is a value such as wechat, line, telegram, kakao, skype or signal. |
| business_address | — | Address the business account makes public, as an object: street, city, zip, lat, lng; each appears only when available. |
| platform | string | Source platform identifier, the same as platform in the request (for example xiaohongshu, tiktok). |
| input | — | (profiles_batch) The entry from usernames that this row answers, returned exactly as you passed it. Use it to match rows to your entries; the returned username can be written differently, for example when you passed a profile link. |
Use cases
Look up a list in one request
Put the accounts from a list in
usernamesand get back theirfollower_countandpost_countin one request.Match rows to your list with `input`
inputis the item you sent, returned as you wrote it. It matches rows back to your list even when you mix usernames and profile links.Find accounts that were not found
Read
missedin the response to see which accounts were not found. They are not charged.Sort private and business accounts
Group by
is_private,is_businessandcategoryto sort the accounts in your list.
Instagram Graph API vs EveryInfra
Instagram's Graph API and EveryInfra profiles_batch, compared on which accounts you can read and access.
| Compared | Instagram Graph API | EveryInfra |
|---|---|---|
| Which accounts | "Get fields and edges on an Instagram Business or Creator Account." | Each account in usernames, as a username or a profile link. Each row includes the is_private, is_business and is_professional flags. |
| Access you need | Access token: "Required. App user’s User access token." | One EveryInfra API key in the Authorization: Bearer header. No Instagram login or Instagram access token is needed. |
Quotes are from Meta's developer documentation (the IG User page), checked 2026-11-22. Official sources: IG User (updated 2026-04-22)
Limits and gotchas
usernamesis an array, not a comma-separated string. The maximum number of items is in the parameter reference.- Each item is a username or a profile link. An account can appear only once, and different letter case counts as the same account.
- Billing is per account. Accounts that were not found are not charged and are listed in
missedin the response. - The
inputon each row is the item you sent. The returnedusernamecan differ from what you wrote, for example when you sent a profile link. - For a private account,
is_privateis true andrecent_postsis absent. - Only synchronous calls are supported.
Pricing
Billing is per account: each account in usernames counts as one call at $0.000556. Accounts that were not found are not charged and are listed in missed. Failed calls and empty results are not charged.
| Calls | Cost |
|---|---|
| 10,000 | $5.56 |
| 100,000 | $55.56 |
| 1,000,000 | $555.56 |
Totals use the list price per call.
Code samples
#curl -X POST 'https://api.everyinfra.com/api/v1/social' \
-H "Authorization: Bearer $EVERYINFRA_API_KEY" \
-H 'Content-Type: application/json' \
--data-raw '{
"platform": "instagram",
"action": "profiles_batch",
"params": {
"usernames": [
"natgeo",
"nasa"
]
}
}'OpenAPI definition (JSON)Samples read the key from the EVERYINFRA_API_KEY environment variable; copied code never contains your key.
API reference
See the parameters, response fields, errors and billing for profiles_batch, and copy the page or open it as Markdown for an AI assistant.
AI prompt
#Please help me write a data collection script with the EveryInfra Instagram Profiles in bulk endpoint (instagram/profiles_batch).
How the endpoint works:
- Request: POST https://api.everyinfra.com/api/v1/social with the header Authorization: Bearer <API key>. Read the key from the EVERYINFRA_API_KEY environment variable and never hard-code it.
- In the request body, set platform to instagram and action to profiles_batch, and put the parameters inside params.
- Required parameters:
- usernames: Instagram accounts for profiles_batch, as an array of up to 20 entries; a comma-separated string is not accepted. Each entry is a username such as natgeo (a leading @ is dropped) or a profile link.
- Optional parameters:
- limit: The most rows to return in this call, an integer of 1 or more. The default applies when you leave it out, and a call can return fewer rows.
- Returns a list of records. Main fields of each record: username, display_name, bio, follower_count, following_count, post_count, is_private (Whether the account is private), is_verified, is_business (Whether the account is a business accou…), is_professional (Whether the account is a professional a…), category, external_url (External link on the profile); 35 fields in total, full list at https://api.everyinfra.com/api/v1/social/catalog?platform=instagram.
- Example request body:
{
"platform": "instagram",
"action": "profiles_batch",
"params": {
"usernames": [
"natgeo",
"nasa"
]
}
}
- Price: $0.56 per 1,000 requests; failed and empty results are not charged.
- This endpoint runs synchronously only; do not add "mode": "async" to the body.
- On 422, fix the request using the suggested parameter names and allowed values in the error; on 429 or 503, wait for Retry-After and try again.
Before writing code, ask me which targets I need, how many, which fields, and what output format I want; then confirm the plan and the rough cost with me.Request parameters
#| Name | In | Type | Required | Default | Description |
|---|---|---|---|---|---|
Authorization | header | string | Yes | - | Bearer followed by your API key. Create it in the console; never put it in a URL or a code repository. |
platform | body | string | Yes | instagram | Platform identifier, fixed value. |
action | body | string | Yes | profiles_batch | Capability identifier, fixed value. |
usernames | body.params | array | Yes | - | Instagram accounts for profiles_batch, as an array of up to 20 entries; a comma-separated string is not accepted. Each entry is a username such as natgeo (a leading @ is dropped) or a profile link. List each account once; a different capitalization is still the same account. A request with an unrecognized entry, a duplicate or more than 20 entries is rejected with a 422 before any charge. Billed per account; accounts not found are not charged and are listed in missed. |
limit | body.params | integer (1–) | No | - | The most rows to return in this call, an integer of 1 or more. The default applies when you leave it out, and a call can return fewer rows. |
Response example
#{ "id": "req_…", "platform": "instagram", "action": "profiles_batch", "results": [ { "username": …, "display_name": …, "bio": …, "follower_count": …, "following_count": …, "post_count": …, "is_private": …, "is_verified": …, "is_business": …, "is_professional": …, "category": …, "external_url": …, "avatar_url": …, "user_id": …, "avatar_hd_url": …, "external_urls": …, "has_reels": …, "highlight_count": …, "recent_posts": …, "url": …, "reels_count": …, "business_email": …, "business_phone": …, "threads_username": …, "fbid": …, "is_memorialized": …, "is_joined_recently": …, "account_type": …, "emails": …, "phones": …, "pronouns": …, "bio_links_detail": …, "messaging_ids": …, "business_address": …, "platform": …, "input": … } ], "count": …, "billing": { "charged": …, "charged_usd": …, "balance_after_usd": …, … }, "quota": { … }}
Response fields
#Business data is in results. The table lists the fields a record can contain; values the platform does not show are never made up.
| Field | Meaning |
|---|---|
username | Username (@handle). |
display_name | Display name; can differ from username. |
bio | Profile bio written by the account; may contain line breaks and emoji. |
follower_count | Followers. null means not disclosed, not 0. |
following_count | Accounts followed. null means not disclosed, not 0. |
post_count | Total posts. null means not disclosed, not 0. |
is_private | Whether the account is private. |
is_verified | Whether the platform verified the account. null means it cannot be determined. |
is_business | Whether the account is a business account. |
is_professional | Whether the account is a professional account (business or creator). |
category | Category name in the platform's own taxonomy, not normalized across platforms. |
external_url | External link on the profile. |
avatar_url | Avatar image link. Some platforms return sized CDN links that can expire. |
user_id | User's unique ID on the platform. |
avatar_hd_url | High-resolution avatar URL (avatar_url is the small image). |
external_urls | All external links in the bio: url, title (external_url is only the first one). |
has_reels | Whether the account has posted Reels. |
highlight_count | Number of Highlights. |
recent_posts | Latest posts on the profile page (pinned posts included), as an array; each entry is one post with the same fields as a row of user_posts (a field appears only when it has a value). Absent when the account is private or has no posts. |
url | Link to the record on the platform. |
reels_count | Number of Reels the account has posted (integer). |
business_email | Email the business account makes public behind the Contact button on its profile. Absent when there is none. |
business_phone | Phone number the business account makes public behind the Contact button on its profile. Absent when there is none. |
threads_username | Name shown on the Threads badge on the profile; usually the person's Threads username. |
fbid | Another numeric ID that Meta assigns to the account; it is not the same number as user_id. |
is_memorialized | The account is memorialized (the status Instagram gives an account after its owner has died). Appears only for memorialized accounts, with the value true. |
is_joined_recently | The profile is marked "Joined recently". Appears only when the mark is there, with the value true. |
account_type | Account type: personal (individual), business or creator. |
emails | Contact email addresses (a record can have several), passed through as is with duplicates removed. |
phones | Phone numbers the person wrote publicly in the bio, as an array. Only numbers that start with + or 00, or that follow a label such as WhatsApp or Phone, are included. Absent when there are none. |
pronouns | Pronouns filled in on the profile, as an array. |
bio_links_detail | Each link in the bio section, one entry per link: url (the real address, with the redirect layer Instagram wraps around it removed), title (link title, present only on some links), type (link type given by Instagram, such as external). external_urls holds the url and title of the same links. |
messaging_ids | Chat accounts written publicly in the bio, one entry per account as {app, id}; app is a value such as wechat, line, telegram, kakao, skype or signal. |
business_address | Address the business account makes public, as an object: street, city, zip, lat, lng; each appears only when available. |
platform | Source platform identifier, the same as platform in the request (for example xiaohongshu, tiktok). |
input | (profiles_batch) The entry from usernames that this row answers, returned exactly as you passed it. Use it to match rows to your entries; the returned username can be written differently, for example when you passed a profile link. |
Errors and billing
#- 401
- Missing or invalid key.
- 402
- Insufficient balance. Top up first.
- 422
- Invalid parameter name or value. Fix it using the suggestions in the error. No charge.
- 429
- Per-minute request limit reached. Wait for Retry-After, then try again.
- 503
- Could not complete. The held charge is returned to your balance. If the outcome is unknown, verify it before you retry.
- 200 empty
- No data. No charge.
FAQ
What does the Instagram batch profiles endpoint return?
One row per account: username, display_name, bio, follower_count, following_count, post_count, is_private, is_verified, category, external_url, input and more.
How is a batch lookup billed?
Each account in usernames counts as one call: $0.000556 each, or $0.56 per 1,000 calls. Accounts that were not found are not charged. Failed calls and empty results are not charged.
How do I see which accounts were not found?
Read missed in the response. The accounts that were not found are listed there.
Do I need to log in to Instagram to look up accounts in a batch?
No. Put your EveryInfra API key in the Authorization: Bearer header. You need no Instagram login and no Instagram access token.
How do profiles_batch and profile differ?
profile reads one account from username. profiles_batch reads the accounts in usernames, and input on each row ties it to the item you sent.
Related Instagram endpoints
The same EveryInfra API key also calls Instagram's other endpoints, such as profile, which reads one account.
- Post details
post$0.56 per 1,000 callsFetch one or more Instagram posts or Reels from the links inurls. - Details
profile$0.56 per 1,000 callsLook up an Instagram account by handle or profile URL. - Account insights
persona$0.56 per 1,000 callsGet an account overview for an Instagram handle, built from its public profile. - Posts by user
user_posts$0.56 per 1,000 callsList posts from an Instagram account byusername, each with caption, media type, likes, comments, views, location, hashtags and top comments. - Content discovery
discover$0.56 per 1,000 callsTrack posts under an Instagram hashtag passed inkeyword. - Comments
comments$0.79 per 1,000 callsRead comments on one Instagram post or Reel aturl. - Reels
reels$1.19 per 1,000 callsPull an Instagram account's Reels byusername, with caption, play count, duration in seconds, likes, comments, hashtags, music and video link. - Hashtag
hashtag$0.56 per 1,000 callsCollect posts for an Instagram hashtag inhashtag, without the # sign. - Followers
followers$0.56 per 1,000 callsSee the follower and following counts of an Instagram account byusername. - Follower list
followers_list$0.56 per 1,000 callsList the accounts that follow an Instagram user, byusername, with handle, name, avatar, private and verified flags and relation type. - Following list
following_list$0.56 per 1,000 callsList the accounts an Instagram user follows, byusername, with handle, name, avatar, private and verified flags and relation type. - Account search
user_search$4.81 per 1,000 callsSearch Instagram accounts bykeyword, in the order Instagram search ranks them for that word. - Reels search
reels_search$7.19 per 1,000 callsSearch Instagram Reels bykeyword, such as coffee. - Similar accounts
similar_profiles$8.81 per 1,000 callsFind accounts Instagram suggests as similar to one account, byusernamesuch as nasa. - Tagged posts
tagged_posts$7.44 per 1,000 callsList public posts by other accounts that tag one Instagram account, given asusername, profile URL or numeric user ID. - Stories
stories$1.5 per 1,000 callsGet the stories an Instagram account has live right now, from its username. - Story highlights
highlights$1.6 per 1,000 callsList the story highlights on an Instagram profile. - Comment replies
comment_replies$0.88 per 1,000 callsRead the replies under one comment on an Instagram post or Reel, from the post link and the comment'sidreturned bycomments. - Post likers
likers$1.32 per 1,000 callsList the accounts that liked one Instagram post or Reel, from itsurl. - Posts at a location
location_posts$0.56 per 1,000 callsList the posts tagged at one Instagram location, fromlocation_id(theidin a post'slocation_detail, or a location page link). - Reels using a music track
audio_posts$0.56 per 1,000 callsList the Instagram Reels that use one piece of music, fromaudio_id(theaudio_idin a post'smusic, or an audio page link). - Explore
explore$0.56 per 1,000 callsRead one page of the posts Instagram recommends on Explore; no input is needed. - Engagement statistics
engagement$0.56 per 1,000 callsWork out an Instagram account's engagement from its latest posts, byusername. - Profile by numeric ID
profile_by_id$0.56 per 1,000 callsLook up an Instagram account from its numericuser_id. - About this account
user_about$0.56 per 1,000 callsRead the About this account panel of an Instagram profile byusername: the month it joined (joined_at), itscountry, how many times it changed its username (former_usernames_count) and when it was verified. - Location details
location_info$0.56 per 1,000 callsRead one Instagram location from itslocation_id: name, category, coordinates (lat,lng), address details when listed, andpost_count. - Link recognition
resolve_links$0.56 per 1,000 callsConvert one Instagram post reference intext(a post link, a shortcode or a numeric post ID) into all three:shortcode,media_idandurl. - Post embed code
oembed$0.56 per 1,000 callsGet the oEmbed data and embed code for one Instagram post or Reel from itsurl: the same fields as Instagram's official oEmbed, withhtmlready to paste into a web page. - Post caption translation
post_translation$6.39 per 1,000 callsTranslate the caption of one Instagram post intotarget_language(defaulten), from itsurlormedia_id. - Nearby locations
location_nearby$0.56 per 1,000 callsList the locations Instagram shows near one location, from itslocation_id: about 20 rows in one call, no next page. - Hashtag search
hashtag_search$0.56 per 1,000 callsFind Instagram hashtags for akeyword: the hashtags Instagram's search box suggests, withpost_countfor each. - Stories in a highlight
highlight_stories$0.56 per 1,000 callsRead every story in one Instagram highlight fromhighlight_id(theidfromhighlights, or a highlight link): up to 100 stories in one call, with media links,posted_atandduration_seconds. - Comment translations
comment_translations$6.39 per 1,000 callsTranslate up to 10 comments on one Instagram post, from the posturlandcomment_ids, intotarget_language(defaulten). - Recommended Reels
recommended_reels$1.18 per 1,000 callsRead the Reels Instagram recommends on its Reels page, 10 per page; no input is needed. - User reposts
user_reposts$0.56 per 1,000 callsList the posts and Reels an Instagram account reposted to its profile, byusername, 12 per page. - Cities in a country
location_cities$0.56 per 1,000 callsList the cities Instagram's location directory has for onecountry_code, 96 per page. - Locations in a city
city_locations$0.56 per 1,000 callsList the locations Instagram's location directory has for one city, fromcity_id, 96 per page.