Instagram API
Get Instagram accounts, posts and Reels, comments and stories as JSON with one EveryInfra API key, from $0.56 per 1,000 calls.
All you need is one API key, no Instagram account or cookie. It also works as an MCP tool in Claude and Cursor. Star our two GitHub repositories to claim $1 in trial credit and try it first. The credit is valid for 24 hours after you claim it.
- Failed calls and empty results are not charged.
- No Instagram login needed
- 38 endpoints, one key
Real sample values for nasa
POST /api/v1/social params {"username":"nasa"}
- Profiles
profile- follower_count
- 104,332,084
- post_count
- 5,010
- Reels
reels- count
- 30
- results[0].play_count
- 2,043,930
- Posts by user
user_posts- count
- 30
- results[0].play_count
- 3,956,303
- Follower list
followers_list- count
- 48
- Following list
following_list- count
- 50
nasa, captured September 26, 2026 – November 15, 2026 (UTC); each box links to that endpoint.6 questions to ask before choosing a data API for Instagram
Does Instagram have an official API, and how is it different from this one?
Instagram has an official API for professional accounts (Business and Creator); the Basic Display API for personal accounts was retired on December 4, 2024. Reading other accounts' public content is limited to Business Discovery, which only covers Business and Creator accounts, and hashtag search. Both need Meta App Review and a query from a professional account that has authorized your app. EveryInfra reads public content with one API key, without applying to Meta.
Official sources: Meta: Instagram Platform overview · Meta: Instagram Business Discovery · Checked
Do I need to log in to Instagram or provide a cookie to make calls?
No. Send Authorization: Bearer with your API key in the request header, and put platform, action and the capability parameters in the request body. There is no QR-code login, no login state to maintain and no browser to run.
How is it billed? Are failed requests charged? Is there a free trial?
Billing is per request, from $0.56 per 1,000 requests. Failed requests, empty results, invalid parameters and authentication failures are not charged; when urls has several links, each link counts as one request. Star both everyinfra/everyinfra-agent-plugins and everyinfra/seo-skills on GitHub, then claim $1 under Balance & top-ups in the console. It is valid for 24 hours after you claim it, and no credit card is needed.
Can I connect this Instagram API to Claude or Cursor?
Yes. The remote MCP URL is https://api.everyinfra.com/mcp. Add Authorization: Bearer and your API key as a request header; there is no local program to install. Setup for Claude, Cursor, ChatGPT and Claude Code is on https://everyinfra.com/en/mcp-server.
What compliance points apply when using Instagram data?
The EveryInfra Terms of Service require you to make sure your use of the data complies with applicable law and the platform's terms. They prohibit unlawful use, violating privacy or intellectual property, and bulk scraping for harassment, fraud or other malicious purposes. If you use personal information such as nicknames and avatars, keep only the fields your business needs.
What Instagram data can I get?
Available Instagram capabilities (38): Post details, Profiles, Account insights, Posts by user, Content discovery, Comments, Reels, Hashtag, Followers, Follower list, Following list, Account search, Reels search, Similar accounts, Tagged posts, Stories, Story highlights, Comment replies, Post likers, Posts at a location, Reels using a music track, Explore, Engagement statistics, Profile by numeric ID, About this account, Location details, Link recognition, Post embed code, Post caption translation, Nearby locations, Hashtag search, Stories in a highlight, Comment translations, Recommended Reels, User reposts, Cities in a country, Locations in a city, Profiles in bulk. The parameters and response fields of each capability are in the API reference on this page.
Platform availability
- 24h health
- 99%
Last 30 days
Available capabilities
Retrieve Instagram posts, reels, comments, and public profile details using account handles, media URLs, or hashtags.
Fetch one post with its complete URL. Follower counts and relation lists need separate queries.
Accounts
- ProfilesHealthy · health 99%
Look up an Instagram account by handle or profile URL.
profile$0.56 per 1,000 calls - Account insightsNormal
Get an account overview for an Instagram handle, built from its public profile.
persona$0.56 per 1,000 calls - FollowersHealthy · health 99%
See the follower and following counts of an Instagram account by
username.followers$0.56 per 1,000 calls - Follower listHealthy · health 95%
List the accounts that follow an Instagram user, by
username, with handle, name, avatar, private and verified flags and relation type.followers_list$0.56 per 1,000 calls - Following listHealthy · health 100%
List the accounts an Instagram user follows, by
username, with handle, name, avatar, private and verified flags and relation type.following_list$0.56 per 1,000 callsEvery 50 rows count as one call - Account searchNormal
Search Instagram accounts by
keyword, in the order Instagram search ranks them for that word.user_search$4.81 per 1,000 calls - Similar accountsNormal
Find accounts Instagram suggests as similar to one account, by
usernamesuch as nasa.similar_profiles$8.81 per 1,000 calls - Profile by numeric IDNormal
Look up an Instagram account from its numeric
user_id.profile_by_id$0.56 per 1,000 calls - About this accountHealthy · health 100%
Read the About this account panel of an Instagram profile by
username: the month it joined (joined_at), itscountry, how many times it changed its username (former_usernames_count) and when it was verified.user_about$0.56 per 1,000 calls - Profiles in bulkHealthy · health 100%
Look up as many as 20 Instagram accounts at once from
usernames, each given as a username such asnatgeoor a profile link.profiles_batch$0.56 per 1,000 callsEach element in usernames counts as one call - Engagement statisticsNormal
Work out an Instagram account's engagement from its latest posts, by
username.engagement$0.56 per 1,000 calls
Posts and Reels
- Post detailsNormal
Fetch one or more Instagram posts or Reels from the links in
urls.post$0.56 per 1,000 callsEach element in urls counts as one call - Posts by userHealthy · health 100%
List posts from an Instagram account by
username, each with caption, media type, likes, comments, views, location, hashtags and top comments.user_posts$0.56 per 1,000 calls - ReelsHealthy · health 98%
Pull an Instagram account's Reels by
username, with caption, play count, duration in seconds, likes, comments, hashtags, music and video link.reels$1.19 per 1,000 calls - Reels searchHealthy · health 100%
Search Instagram Reels by
keyword, such as coffee.reels_search$7.19 per 1,000 callsEvery 20 rows count as one call - Tagged postsNormal
List public posts by other accounts that tag one Instagram account, given as
username, profile URL or numeric user ID.tagged_posts$7.44 per 1,000 calls - HashtagHealthy · health 100%
Collect posts for an Instagram hashtag in
hashtag, without the # sign.hashtag$0.56 per 1,000 calls - Content discoveryHealthy · health 97%
Track posts under an Instagram hashtag passed in
keyword.discover$0.56 per 1,000 callsEvery 30 rows count as one call - User repostsNormal
List the posts and Reels an Instagram account reposted to its profile, by
username, 12 per page.user_reposts$0.56 per 1,000 calls - Post likersNormal
List the accounts that liked one Instagram post or Reel, from its
url.likers$1.32 per 1,000 calls
Comments
- CommentsAvailable · health 87%
Read comments on one Instagram post or Reel at
url.comments$0.79 per 1,000 calls - Comment repliesNormal
Read the replies under one comment on an Instagram post or Reel, from the post link and the comment's
idreturned bycomments.comment_replies$0.88 per 1,000 calls - Comment translationsNormal
Translate up to 10 comments on one Instagram post, from the post
urlandcomment_ids, intotarget_language(defaulten).comment_translations$6.39 per 1,000 calls
Stories
- StoriesNormal
Get the stories an Instagram account has live right now, from its username.
stories$1.5 per 1,000 calls - Story highlightsNormal
List the story highlights on an Instagram profile.
highlights$1.6 per 1,000 calls - Stories in a highlightHealthy · health 99%
Read every story in one Instagram highlight from
highlight_id(theidfromhighlights, or a highlight link): up to 100 stories in one call, with media links,posted_atandduration_seconds.highlight_stories$0.56 per 1,000 calls
Locations
- Posts at a locationNormal
List the posts tagged at one Instagram location, from
location_id(theidin a post'slocation_detail, or a location page link).location_posts$0.56 per 1,000 calls - Location detailsNormal
Read one Instagram location from its
location_id: name, category, coordinates (lat,lng), address details when listed, andpost_count.location_info$0.56 per 1,000 calls - Nearby locationsNormal
List the locations Instagram shows near one location, from its
location_id: about 20 rows in one call, no next page.location_nearby$0.56 per 1,000 calls - Cities in a countryNormal
List the cities Instagram's location directory has for one
country_code, 96 per page.location_cities$0.56 per 1,000 calls - Locations in a cityNormal
List the locations Instagram's location directory has for one city, from
city_id, 96 per page.city_locations$0.56 per 1,000 calls
Discovery
List the Instagram Reels that use one piece of music, from
audio_id(theaudio_idin a post'smusic, or an audio page link).audio_posts$0.56 per 1,000 calls- ExploreNormal
Read one page of the posts Instagram recommends on Explore; no input is needed.
explore$0.56 per 1,000 calls - Recommended ReelsNormal
Read the Reels Instagram recommends on its Reels page, 10 per page; no input is needed.
recommended_reels$1.18 per 1,000 calls - Hashtag searchHealthy · health 98%
Find Instagram hashtags for a
keyword: the hashtags Instagram's search box suggests, withpost_countfor each.hashtag_search$0.56 per 1,000 calls
Tools
- Link recognitionNormal
Convert one Instagram post reference in
text(a post link, a shortcode or a numeric post ID) into all three:shortcode,media_idandurl.resolve_links$0.56 per 1,000 calls - Post embed codeNormal
Get the oEmbed data and embed code for one Instagram post or Reel from its
url: the same fields as Instagram's official oEmbed, withhtmlready to paste into a web page.oembed$0.56 per 1,000 calls - Post caption translationNormal
Translate the caption of one Instagram post into
target_language(defaulten), from itsurlormedia_id.post_translation$6.39 per 1,000 calls
Use cases
Profile benchmarking
Compare follower, following and post counts across accounts.
Reels performance analysis
Read play counts, likes and comments on an account's Reels.
Hashtag and keyword research
Read posts under a hashtag and find Reels and accounts by keyword.
Comment analysis
Read the comments on a post or Reel and the replies under a comment.
Instagram's official APIs vs EveryInfra
How Instagram's official APIs and EveryInfra compare on accounts, consumer apps and access:
| Compared | Instagram's official APIs | EveryInfra |
|---|---|---|
| Which accounts | "Get fields and edges on an Instagram Business or Creator Account." Business Discovery: "Data about age-gated Instagram professional accounts will not be returned." | Accounts named in the request, for example nasa; user_search finds accounts by keyword. |
| Consumer apps | "After December 4th, 2024, there will no longer be a set of Instagram APIs for consumer developer apps." | No Instagram login or access token is needed; send POST /api/v1/social with platform, action and params. |
| Access you need | Access tokens: "Facebook User access token" or "Instagram User user access token"; permissions instagram_basic or instagram_business_basic. | One EveryInfra API key in the Authorization: Bearer header. |
Quotes are from Meta's developer documentation and developer blog, checked 2026-11-07. Official sources: IG User reference (updated 2026-04-22) · Business Discovery (updated 2026-08-12) · Update on Instagram Basic Display API (updated 2024-09-04)
What does each Instagram action accept?
Parameter table for all 38 actions
| Action | Required | Optional | Delivery | Limit | Per 1,000 | Response fields |
|---|---|---|---|---|---|---|
postPost details Fetch one or more Instagram posts or Reels from the links in | urls | — | Sync delivery | Catalog values: defaultLimit=11, maxLimit=11. For some actions a limit controls pages or per-parent expansion, so it is not always the final row count. | $0.56 per 1,000 requestsEach element in urls counts as one call | post_id · url · text · media_type · like_count · comment_count · view_count · author_username · author_name · posted_at · location · id · image_url · video_url · author_id · width · height · is_comments_disabled · author_follower_count · hashtags · top_comments · product_type · play_count · fb_play_count · fb_like_count · fb_comment_count · share_count · repost_count · duration_sec · duration_seconds · duration_estimated · image_count · video_count · video_url_expires_at · video_hd_url · video_hd_height · audio_url · video_hd_expires_at · is_paid_partnership · is_pinned · likes_hidden · caption_is_edited · accessibility_caption · author_is_verified · author_is_private · author_avatar_url · posted_at_estimated · mentions · tagged_users · coauthors · sponsors · media · music · platform · location_detail |
profileProfiles Look up an Instagram account by handle or profile URL. Get display name, bio, follower, following and post counts, account type flags, external link and recent posts. Verified, business and professional flags do not prove identity, income or current commercial activity. | username | — | Sync delivery | — | $0.56 per 1,000 requests | 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 |
personaAccount insights Get an account overview for an Instagram handle, built from its public profile. It includes bio, category, follower and post counts, account type flags and recent posts. The response does not contain age, gender, interests, buyers or other traits, so it does not infer them. | username | — | Sync delivery | — | $0.56 per 1,000 requests | 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 |
user_postsPosts by user List posts from an Instagram account by | username | page_token | Async delivery | Each call returns one page of up to 30 rows. For the next page, pass next_page_token back as page_token with the other parameters unchanged; each page is one call. | $0.56 per 1,000 requests | post_id · url · text · media_type · like_count · comment_count · view_count · author_username · author_name · posted_at · location · id · image_url · video_url · author_id · width · height · is_comments_disabled · author_follower_count · hashtags · top_comments · product_type · play_count · fb_play_count · fb_like_count · fb_comment_count · share_count · repost_count · duration_sec · duration_seconds · duration_estimated · image_count · video_count · video_url_expires_at · video_hd_url · video_hd_height · audio_url · video_hd_expires_at · is_paid_partnership · is_pinned · likes_hidden · caption_is_edited · accessibility_caption · author_is_verified · author_is_private · author_avatar_url · posted_at_estimated · mentions · tagged_users · coauthors · sponsors · media · music · platform · location_detail |
discoverContent discovery Track posts under an Instagram hashtag passed in | keyword | results_type | Async delivery | Catalog values: defaultLimit=30, maxLimit=200. For some actions a limit controls pages or per-parent expansion, so it is not always the final row count. | $0.56 per 1,000 requestsEvery 30 rows count as one call | post_id · url · text · media_type · like_count · comment_count · view_count · author_username · author_name · posted_at · location · id · image_url · video_url · author_id · width · height · is_comments_disabled · author_follower_count · hashtags · top_comments · product_type · play_count · fb_play_count · fb_like_count · fb_comment_count · share_count · repost_count · duration_sec · duration_seconds · duration_estimated · image_count · video_count · video_url_expires_at · video_hd_url · video_hd_height · audio_url · video_hd_expires_at · is_paid_partnership · is_pinned · likes_hidden · caption_is_edited · accessibility_caption · author_is_verified · author_is_private · author_avatar_url · posted_at_estimated · mentions · tagged_users · coauthors · sponsors · media · music · platform · location_detail |
commentsComments Read comments on one Instagram post or Reel at | url | page_token | Sync delivery | Each call returns one page of up to 50 rows. For the next page, pass next_page_token back as page_token with the other parameters unchanged; each page is one call. | $0.79 per 1,000 requests | id · text · url · like_count · reply_count · author_username · author_name · is_verified · posted_at · post_url · platform · author_id · author_avatar_url · is_edited · is_pinned · liked_by_author |
reelsReels Pull an Instagram account's Reels by | username | page_token | Sync delivery | Each call returns one page of up to 12 rows. For the next page, pass next_page_token back as page_token with the other parameters unchanged; each page is one call. | $1.19 per 1,000 requests | post_id · url · text · media_type · like_count · comment_count · author_username · author_name · posted_at · location · id · image_url · video_url · author_id · width · height · hashtags · play_count · duration_sec · duration_seconds · next_page_token · music · platform · product_type · fb_play_count · fb_like_count · fb_comment_count · share_count · repost_count · duration_estimated · image_count · video_count · video_url_expires_at · video_hd_url · video_hd_height · audio_url · video_hd_expires_at · is_paid_partnership · is_pinned · likes_hidden · caption_is_edited · accessibility_caption · author_is_verified · author_is_private · author_avatar_url · posted_at_estimated · mentions · tagged_users · coauthors · sponsors · media · location_detail |
hashtagHashtag Collect posts for an Instagram hashtag in | hashtag | results_type, tag | Sync delivery | Each call returns one page of up to 30 rows. There is no next page. Each page is billed once. | $0.56 per 1,000 requests | post_id · url · text · media_type · like_count · comment_count · view_count · author_username · author_name · posted_at · location · id · image_url · video_url · author_id · width · height · is_comments_disabled · author_follower_count · hashtags · top_comments · platform · product_type · play_count · fb_play_count · fb_like_count · fb_comment_count · share_count · repost_count · duration_sec · duration_seconds · duration_estimated · image_count · video_count · video_url_expires_at · video_hd_url · video_hd_height · audio_url · video_hd_expires_at · is_paid_partnership · is_pinned · likes_hidden · caption_is_edited · accessibility_caption · author_is_verified · author_is_private · author_avatar_url · posted_at_estimated · mentions · tagged_users · coauthors · sponsors · media · music · location_detail |
followersFollowers See the follower and following counts of an Instagram account by | username | — | Sync delivery | — | $0.56 per 1,000 requests | id · username · url · name · avatar_url · follower_count · following_count · platform · post_count · is_verified · is_private |
followers_listFollower list List the accounts that follow an Instagram user, by | username | page_token | Sync delivery | Each call returns one page of up to 50 rows. For the next page, pass next_page_token back as page_token with the other parameters unchanged; each page is one call. | $0.56 per 1,000 requests | id · username · url · name · avatar_url · is_private · is_verified · relation · of_user · platform · category · is_business · business_email · business_phone · avatar_hd_url · highlight_count · has_reels · reels_count · social_context · emails · phones · external_urls |
following_listFollowing list List the accounts an Instagram user follows, by | username | query | Sync delivery | Catalog values: defaultLimit=50, maxLimit=500. For some actions a limit controls pages or per-parent expansion, so it is not always the final row count. | $0.56 per 1,000 requestsEvery 50 rows count as one call | id · username · url · name · avatar_url · is_private · is_verified · relation · of_user · platform · category · is_business · business_email · business_phone · avatar_hd_url · highlight_count · has_reels · reels_count · social_context · emails · phones · external_urls |
user_searchAccount search Search Instagram accounts by | keyword | page_token | Async delivery | Each call returns one page of up to 20 rows. For the next page, pass next_page_token back as page_token with the other parameters unchanged; each page is one call. | $4.81 per 1,000 requests | rank · username · user_id · display_name · is_verified · is_private · url · avatar_url · follower_count · following_count · post_count · bio · external_url · platform · category · is_business · business_email · business_phone · avatar_hd_url · highlight_count · has_reels · reels_count · social_context · emails · phones · external_urls · matched_by |
reels_searchReels search Search Instagram Reels by | keyword | — | Sync delivery | Catalog values: defaultLimit=20, maxLimit=200. For some actions a limit controls pages or per-parent expansion, so it is not always the final row count. | $7.19 per 1,000 requestsEvery 20 rows count as one call | post_id · id · url · text · play_count · like_count · comment_count · duration_sec · duration_seconds · author_username · author_id · is_verified · posted_at · platform · media_type · image_url · video_url · product_type · fb_play_count · fb_like_count · fb_comment_count · share_count · repost_count · duration_estimated · image_count · video_count · video_url_expires_at · video_hd_url · video_hd_height · audio_url · video_hd_expires_at · is_paid_partnership · is_pinned · likes_hidden · caption_is_edited · accessibility_caption · author_is_verified · author_is_private · author_avatar_url · posted_at_estimated · mentions · tagged_users · coauthors · sponsors · media · music |
similar_profilesSimilar accounts Find accounts Instagram suggests as similar to one account, by | username | page_token | Async delivery | Each call returns one page of up to 20 rows. For the next page, pass next_page_token back as page_token with the other parameters unchanged; each page is one call. | $8.81 per 1,000 requests | rank · username · user_id · display_name · is_verified · is_private · url · avatar_url · follower_count · following_count · post_count · bio · external_url · similar_to · platform · category · is_business · business_email · business_phone · avatar_hd_url · highlight_count · has_reels · reels_count · social_context · emails · phones · external_urls |
tagged_postsTagged posts List public posts by other accounts that tag one Instagram account, given as | username | page_token | Sync delivery | Each call returns one page of up to 20 rows. For the next page, pass next_page_token back as page_token with the other parameters unchanged; each page is one call. | $7.44 per 1,000 requests | post_id · url · tagged_username · author_username · author_id · text · like_count · comment_count · is_video · posted_at · image_url · platform · author_name · id · video_url · product_type · play_count · fb_play_count · fb_like_count · fb_comment_count · share_count · repost_count · duration_sec · duration_seconds · duration_estimated · image_count · video_count · video_url_expires_at · video_hd_url · video_hd_height · audio_url · video_hd_expires_at · is_paid_partnership · is_pinned · likes_hidden · caption_is_edited · accessibility_caption · author_is_verified · author_is_private · author_avatar_url · posted_at_estimated · mentions · tagged_users · coauthors · sponsors · media · music |
storiesStories Get the stories an Instagram account has live right now, from its username. Each story has its media link, photo or video type, video length, post time, and the author's name, avatar and verification. Stories last 24 hours, so an account with nothing live returns an empty list. | username | — | Sync delivery | Each call returns one page of up to 100 rows. There is no next page. Each page is billed once. | $1.5 per 1,000 requests | id · url · media_url · media_type · duration_seconds · duration_sec · posted_at · author_username · author_name · author_avatar_url · author_is_verified · platform · image_url · video_url · width · height · is_paid_partnership · expires_at · links · mentions · hashtags · sponsors · music |
highlightsStory highlights List the story highlights on an Instagram profile. Each highlight has its ID, title, link, cover image, how many stories it holds, when it was created and last updated, and the account's ID and name. The stories inside a highlight are not returned, and | username | — | Sync delivery | Each call returns one page of up to 100 rows. There is no next page. Each page is billed once. | $1.6 per 1,000 requests | id · url · title · media_count · cover_url · created_at · updated_at · is_pinned · author_username · author_id · author_name · platform |
comment_repliesComment replies Read the replies under one comment on an Instagram post or Reel, from the post link and the comment's | url, comment_id | page_token | Sync delivery | Each call returns one page of up to 10 rows. The number of rows varies from page to page, so a short page is not the end. For the next page, pass the response's top-level next_page_token as page_token; stop when there is none. limit is accepted and has no effect. | $0.88 per 1,000 requests | id · text · like_count · posted_at · author_username · author_id · author_url · author_avatar_url · author_is_verified · reply_to_id · post_url · next_page_token · platform |
likersPost likers List the accounts that liked one Instagram post or Reel, from its | url | page_token | Sync delivery | Each call returns one page of up to 100 rows. The number of rows varies from page to page, so a short page is not the end. For the next page, pass the response's top-level next_page_token as page_token; stop when there is none. limit is accepted and has no effect. | $1.32 per 1,000 requests | id · username · url · name · avatar_url · is_private · is_verified · rank · platform · category · is_business · business_email · business_phone · avatar_hd_url · highlight_count · has_reels · reels_count · social_context · emails · phones · external_urls · post_url · post_like_count · likes_hidden |
location_postsPosts at a location List the posts tagged at one Instagram location, from | location_id | page_token, sort | Sync delivery | Each call returns one page of up to 12 rows; for the next page, pass the response's top-level next_page_token as page_token. limit is accepted and has no effect. | $0.56 per 1,000 requests | post_id · url · text · media_type · like_count · comment_count · view_count · author_username · author_name · posted_at · location · id · image_url · video_url · author_id · width · height · is_comments_disabled · author_follower_count · hashtags · top_comments · product_type · play_count · fb_play_count · fb_like_count · fb_comment_count · share_count · repost_count · duration_sec · duration_seconds · duration_estimated · image_count · video_count · video_url_expires_at · video_hd_url · video_hd_height · audio_url · video_hd_expires_at · is_paid_partnership · is_pinned · likes_hidden · caption_is_edited · accessibility_caption · author_is_verified · author_is_private · author_avatar_url · posted_at_estimated · mentions · tagged_users · coauthors · sponsors · media · music · platform · location_detail · location_info |
audio_postsReels using a music track List the Instagram Reels that use one piece of music, from | audio_id | page_token | Sync delivery | Each call returns one page of up to 12 rows; for the next page, pass the response's top-level next_page_token as page_token. limit is accepted and has no effect. | $0.56 per 1,000 requests | post_id · url · text · media_type · like_count · comment_count · view_count · author_username · author_name · posted_at · location · id · image_url · video_url · author_id · width · height · is_comments_disabled · author_follower_count · hashtags · top_comments · product_type · play_count · fb_play_count · fb_like_count · fb_comment_count · share_count · repost_count · duration_sec · duration_seconds · duration_estimated · image_count · video_count · video_url_expires_at · video_hd_url · video_hd_height · audio_url · video_hd_expires_at · is_paid_partnership · is_pinned · likes_hidden · caption_is_edited · accessibility_caption · author_is_verified · author_is_private · author_avatar_url · posted_at_estimated · mentions · tagged_users · coauthors · sponsors · media · music · platform · location_detail · audio_info |
exploreExplore Read one page of the posts Instagram recommends on Explore; no input is needed. Each row is a post or Reel with caption, media type, likes, comments, author, post time and media links. One page per call, up to 12 posts; | page_token | Sync delivery | Each call returns one page of up to 12 rows; for the next page, pass the response's top-level next_page_token as page_token. limit is accepted and has no effect. | $0.56 per 1,000 requests | post_id · url · text · media_type · like_count · comment_count · view_count · author_username · author_name · posted_at · location · id · image_url · video_url · author_id · width · height · is_comments_disabled · author_follower_count · hashtags · top_comments · product_type · play_count · fb_play_count · fb_like_count · fb_comment_count · share_count · repost_count · duration_sec · duration_seconds · duration_estimated · image_count · video_count · video_url_expires_at · video_hd_url · video_hd_height · audio_url · video_hd_expires_at · is_paid_partnership · is_pinned · likes_hidden · caption_is_edited · accessibility_caption · author_is_verified · author_is_private · author_avatar_url · posted_at_estimated · mentions · tagged_users · coauthors · sponsors · media · music · platform · location_detail | |
engagementEngagement statistics Work out an Instagram account's engagement from its latest posts, by | username | posts | Sync delivery | — | $0.56 per 1,000 requests | username · display_name · url · follower_count · is_verified · sample_size · period_start · period_end · posts_per_week · avg_like_count · avg_comment_count · avg_view_count · median_like_count · avg_interactions · median_interactions · engagement_rate · media_mix · posts_by_hour_utc · top_hours_utc · posts_by_weekday_utc · top_posts · platform |
profile_by_idProfile by numeric ID Look up an Instagram account from its numeric | user_id | — | Sync delivery | — | $0.56 per 1,000 requests | 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 · 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 |
user_aboutAbout this account Read the About this account panel of an Instagram profile by | username | — | Sync delivery | — | $0.56 per 1,000 requests | username · user_id · joined_at · joined_text · country · former_usernames_count · is_verified · verified_at · url · platform |
location_infoLocation details Read one Instagram location from its | location_id | — | Sync delivery | — | $0.56 per 1,000 requests | location_id · name · category · lat · lng · address · city · zip · phone · website · post_count · url · platform |
resolve_linksLink recognition Convert one Instagram post reference in | text | — | Sync delivery | — | $0.56 per 1,000 requests | shortcode · media_id · url · platform |
oembedPost embed code Get the oEmbed data and embed code for one Instagram post or Reel from its | url | hidecaption, maxwidth | Sync delivery | — | $0.56 per 1,000 requests | version · type · title · author_name · author_url · author_id · media_id · provider_name · provider_url · width · html · thumbnail_url · thumbnail_width · thumbnail_height · shortcode · url · platform |
post_translationPost caption translation Translate the caption of one Instagram post into | media_id, target_language, url | Sync delivery | — | $6.39 per 1,000 requests | media_id · shortcode · url · author_username · text · translation · source_language · target_language · platform | |
location_nearbyNearby locations List the locations Instagram shows near one location, from its | location_id | — | Sync delivery | Each call returns one page of up to 20 rows. The number of rows varies from page to page, so a short page is not the end. For the next page, pass the response's top-level next_page_token as page_token; stop when there is none. limit is accepted and has no effect. | $0.56 per 1,000 requests | rank · location_id · name · category · lat · lng · post_count · post_count_label · price_range · hours_status · thumbnail_url · url · platform · origin |
hashtag_searchHashtag search Find Instagram hashtags for a | keyword | — | Sync delivery | Each call returns one page of up to 15 rows. The number of rows varies from page to page, so a short page is not the end. For the next page, pass the response's top-level next_page_token as page_token; stop when there is none. limit is accepted and has no effect. | $0.56 per 1,000 requests | rank · name · id · post_count · post_count_label · url · platform |
highlight_storiesStories in a highlight Read every story in one Instagram highlight from | highlight_id | — | Sync delivery | Each call returns one page of up to 100 rows. The number of rows varies from page to page, so a short page is not the end. For the next page, pass the response's top-level next_page_token as page_token; stop when there is none. limit is accepted and has no effect. | $0.56 per 1,000 requests | id · url · media_url · media_type · duration_seconds · duration_sec · posted_at · author_username · author_avatar_url · author_is_verified · platform · image_url · video_url · width · height · is_paid_partnership · links · mentions · hashtags · sponsors · music · author_id · highlight_id · shared_post_url · highlight_title |
comment_translationsComment translations Translate up to 10 comments on one Instagram post, from the post | url, comment_ids | target_language | Sync delivery | Each call returns one page of up to 10 rows. The number of rows varies from page to page, so a short page is not the end. For the next page, pass the response's top-level next_page_token as page_token; stop when there is none. limit is accepted and has no effect. | $6.39 per 1,000 requests | comment_id · text · translation · source_language · target_language · author_username · posted_at · url · post_url · platform |
recommended_reelsRecommended Reels Read the Reels Instagram recommends on its Reels page, 10 per page; no input is needed. Each row has the same fields as a | page_token | Sync delivery | Each call returns one page of up to 10 rows; for the next page, pass the response's top-level next_page_token as page_token. limit is accepted and has no effect. | $1.18 per 1,000 requests | post_id · url · text · media_type · like_count · comment_count · author_username · author_name · posted_at · location · id · image_url · video_url · author_id · width · height · is_comments_disabled · hashtags · top_comments · product_type · play_count · fb_play_count · fb_like_count · fb_comment_count · share_count · repost_count · duration_sec · duration_seconds · duration_estimated · image_count · video_count · video_url_expires_at · video_hd_url · video_hd_height · audio_url · video_hd_expires_at · is_paid_partnership · is_pinned · likes_hidden · caption_is_edited · accessibility_caption · author_is_verified · author_is_private · author_avatar_url · posted_at_estimated · mentions · tagged_users · coauthors · sponsors · media · music · platform · location_detail | |
user_repostsUser reposts List the posts and Reels an Instagram account reposted to its profile, by | username | page_token | Sync delivery | Each call returns one page of up to 12 rows; for the next page, pass the response's top-level next_page_token as page_token. limit is accepted and has no effect. | $0.56 per 1,000 requests | post_id · url · text · media_type · like_count · comment_count · author_username · author_name · posted_at · id · image_url · author_id · width · height · is_comments_disabled · hashtags · top_comments · product_type · play_count · fb_play_count · fb_like_count · fb_comment_count · share_count · repost_count · duration_sec · duration_seconds · duration_estimated · image_count · video_count · video_url_expires_at · video_hd_url · video_hd_height · audio_url · video_hd_expires_at · is_paid_partnership · is_pinned · likes_hidden · caption_is_edited · accessibility_caption · author_is_verified · author_is_private · author_avatar_url · posted_at_estimated · mentions · tagged_users · coauthors · sponsors · media · music · platform · location_detail · reposted_by |
location_citiesCities in a country List the cities Instagram's location directory has for one | country_code | page_token | Sync delivery | Each call returns one page of up to 96 rows; for the next page, pass the response's top-level next_page_token as page_token. limit is accepted and has no effect. | $0.56 per 1,000 requests | rank · city_id · name · slug · url · country_code · country_name · platform |
city_locationsLocations in a city List the locations Instagram's location directory has for one city, from | city_id | page_token | Sync delivery | Each call returns one page of up to 96 rows; for the next page, pass the response's top-level next_page_token as page_token. limit is accepted and has no effect. | $0.56 per 1,000 requests | rank · location_id · name · slug · url · city_id · city_name · country_code · country_name · platform |
profiles_batchProfiles in bulk Look up as many as 20 Instagram accounts at once from | usernames | — | Sync delivery | — | $0.56 per 1,000 requestsEach element in usernames counts as one call | 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 |
What each action's parameters mean (38 actions)
Each answer below pairs one callable action with its real inputs. Parameter meanings and allowed values are action-specific; a familiar name does not carry the same meaning across every platform.
Official sources are linked only to clarify the platform term beside them. They do not imply platform authorization or endorsement, and features of the official site are not part of the EveryInfra API unless this page lists them.
What do the Instagram post parameters mean?
Fetch one or more Instagram posts or Reels from the links in urls. Get caption, media type, likes, comments, views, author follower count, hashtags and a few top comments. Private content is not fetched. Nothing grants rights to the photos or videos.
urlsRequired- Accepts an array of full Instagram post or Reel URLs (e.g., /p/<shortcode>/ or /reel/<shortcode>/) for the post action, billed per target URL. Unlike post, the comments action processes only a single URL. If you pass a single URL and the post does not exist or cannot be viewed (deleted, or from a private account), the call returns 200 with an empty result and empty_reason set to post_unavailable. It is not charged, and retrying the same URL does not change the result; a repeat for the same URL within 24 hours returns the same result, also free.Instagram: Public Posts and Embedding Boundaries — Instagram specifies that content from private accounts cannot be embedded, and public accounts can also turn off embedding. Being shareable or embeddable does not grant additional data access permissions; input and available scope for this endpoint remain governed by the instructions above. · Checked
What do the Instagram profile parameters mean?
Look up an Instagram account by handle or profile URL. Get display name, bio, follower, following and post counts, account type flags, external link and recent posts. Verified, business and professional flags do not prove identity, income or current commercial activity.
Full API reference: parameters, code samples, response example and healthusernameRequired- Identifies an Instagram account handle without the @ symbol or as a full profile URL. Used by profile, persona, user_posts, and reels to fetch account data, and by engagement to work out one account's engagement. The followers action returns only total follower counts, whereas followers_list and following_list return account lists.
What do the Instagram persona parameters mean?
Get an account overview for an Instagram handle, built from its public profile. It includes bio, category, follower and post counts, account type flags and recent posts. The response does not contain age, gender, interests, buyers or other traits, so it does not infer them.
Full API reference: parameters, code samples, response example and healthusernameRequired- Identifies an Instagram account handle without the @ symbol or as a full profile URL. Used by profile, persona, user_posts, and reels to fetch account data, and by engagement to work out one account's engagement. The followers action returns only total follower counts, whereas followers_list and following_list return account lists.
What do the Instagram user_posts parameters mean?
List posts from an Instagram account by username, each with caption, media type, likes, comments, views, location, hashtags and top comments. Full history is not guaranteed, and private Stories and internal reach data are not included.
usernameRequired- Identifies an Instagram account handle without the @ symbol or as a full profile URL. Used by profile, persona, user_posts, and reels to fetch account data, and by engagement to work out one account's engagement. The followers action returns only total follower counts, whereas followers_list and following_list return account lists.
page_tokenOptional- Page token for
user_posts,tagged_posts,comments,followers_list,user_search,similar_profiles,comment_replies,likers,location_posts,audio_postsandexplore. Leave it out for the first page; pass back thenext_page_tokenexactly as received, other parameters unchanged (exceptlimit, if present). Each page is one call; tokens last 24 hours. Nonext_page_tokenmeans no more pages:pagination.stop_reasonisend_of_listat the end, ordepth_limitif this run cannot go deeper; data may remain.
What do the Instagram discover parameters mean?
Track posts under an Instagram hashtag passed in keyword. Get caption, media type, engagement counts, author follower count, location and post time. Set results_type to reels for short videos. The results do not explain Explore ranking or prove a trend.
keywordRequired- Specifies the target hashtag string for the discover action, automatically stripping leading # symbols. This parameter queries hashtags rather than executing general full-text searches, and differs from the tag parameter in the hashtag action.
results_typeOptional- Selects the content type for discover and hashtag: omit it for regular posts, or pass reel or reels for short videos. posts cannot be passed explicitly, and any other value returns 422. It does not choose the response file format.Allowed values:
reelreels
What do the Instagram comments parameters mean?
Read comments on one Instagram post or Reel at url. Each comment has text, author, verified badge, likes, reply count and post time. Profile links are not supported, and the full conversation tree is not promised.
urlRequired- Specifies a single Instagram post or Reel URL for the comments and likers actions. Profile URLs are not supported. For the reels action, passing a URL does not replace the required username parameter. For the comments action, if the post does not exist or cannot be viewed (deleted, or from a private account), the call returns 200 with an empty result and empty_reason set to post_unavailable. It is not charged, and retrying the same URL does not change the result; a repeat for the same URL within 24 hours returns the same result, also free.
page_tokenOptional- Page token for
user_posts,tagged_posts,comments,followers_list,user_search,similar_profiles,comment_replies,likers,location_posts,audio_postsandexplore. Leave it out for the first page; pass back thenext_page_tokenexactly as received, other parameters unchanged (exceptlimit, if present). Each page is one call; tokens last 24 hours. Nonext_page_tokenmeans no more pages:pagination.stop_reasonisend_of_listat the end, ordepth_limitif this run cannot go deeper; data may remain.
What do the Instagram reels parameters mean?
Pull an Instagram account's Reels by username, with caption, play count, duration in seconds, likes, comments, hashtags, music and video link. Subtitle transcripts, top comments and private metrics are not included.
usernameRequired- Identifies an Instagram account handle without the @ symbol or as a full profile URL. Used by profile, persona, user_posts, and reels to fetch account data, and by engagement to work out one account's engagement. The followers action returns only total follower counts, whereas followers_list and following_list return account lists.
page_tokenOptional- Page token for
user_posts,tagged_posts,comments,followers_list,user_search,similar_profiles,comment_replies,likers,location_posts,audio_postsandexplore. Leave it out for the first page; pass back thenext_page_tokenexactly as received, other parameters unchanged (exceptlimit, if present). Each page is one call; tokens last 24 hours. Nonext_page_tokenmeans no more pages:pagination.stop_reasonisend_of_listat the end, ordepth_limitif this run cannot go deeper; data may remain.
What do the Instagram hashtag parameters mean?
Collect posts for an Instagram hashtag in hashtag, without the # sign. Get caption, media type, likes, comments, views, author and post time. Pass reels in results_type for short videos. The sample alone does not measure the total volume of a trend.
hashtagRequired- Accepts an Instagram hashtag string without the leading # symbol (e.g., coffee) to list associated posts or reels. This parameter requires a hashtag name rather than an account handle.
results_typeOptional- Selects the content type for discover and hashtag: omit it for regular posts, or pass reel or reels for short videos. posts cannot be passed explicitly, and any other value returns 422. It does not choose the response file format.Allowed values:
reelreels tagOptional- Provides compatibility input for the hashtag action, automatically stripping leading # symbols. When both are supplied, hashtag takes precedence. Public requests must still include the required hashtag parameter.
What do the Instagram followers parameters mean?
See the follower and following counts of an Instagram account by username. You also get its ID, display name, avatar and profile link. It returns totals, not who the followers are. followers_list lists the accounts.
usernameRequired- Identifies an Instagram account handle without the @ symbol or as a full profile URL. Used by profile, persona, user_posts, and reels to fetch account data, and by engagement to work out one account's engagement. The followers action returns only total follower counts, whereas followers_list and following_list return account lists.
What do the Instagram followers_list parameters mean?
List the accounts that follow an Instagram user, by username, with handle, name, avatar, private and verified flags and relation type. The list may be partial and does not enable automated contact.
usernameRequired- Identifies an Instagram account handle without the @ symbol or as a full profile URL. Used by profile, persona, user_posts, and reels to fetch account data, and by engagement to work out one account's engagement. The followers action returns only total follower counts, whereas followers_list and following_list return account lists.
page_tokenOptional- Page token for
user_posts,tagged_posts,comments,followers_list,user_search,similar_profiles,comment_replies,likers,location_posts,audio_postsandexplore. Leave it out for the first page; pass back thenext_page_tokenexactly as received, other parameters unchanged (exceptlimit, if present). Each page is one call; tokens last 24 hours. Nonext_page_tokenmeans no more pages:pagination.stop_reasonisend_of_listat the end, ordepth_limitif this run cannot go deeper; data may remain.
What do the Instagram following_list parameters mean?
List the accounts an Instagram user follows, by username, with handle, name, avatar, private and verified flags and relation type. A follow does not prove affinity or interaction, and the relationship may change.
usernameRequired- Identifies an Instagram account handle without the @ symbol or as a full profile URL. Used by profile, persona, user_posts, and reels to fetch account data, and by engagement to work out one account's engagement. The followers action returns only total follower counts, whereas followers_list and following_list return account lists.
queryOptional- Optional, for
following_list: searches within the account's following list and returns only the accounts whose name or username matches, using Instagram's matching, 1 to 100 characters. No match returns an empty list. Pass the same query again when paging.
What do the Instagram user_search parameters mean?
Search Instagram accounts by keyword, in the order Instagram search ranks them for that word. Each account has handle, name, follower, following and post counts, bio, external link, verified and private flags. Up to 20 accounts per page; page with page_token. It searches accounts, not post text.
keywordRequired- The word to search Instagram accounts for, such as
coffee. One keyword per call. It returns the accounts Instagram search ranks for the word; it does not search post text. page_tokenOptional- Page token for
user_posts,tagged_posts,comments,followers_list,user_search,similar_profiles,comment_replies,likers,location_posts,audio_postsandexplore. Leave it out for the first page; pass back thenext_page_tokenexactly as received, other parameters unchanged (exceptlimit, if present). Each page is one call; tokens last 24 hours. Nonext_page_tokenmeans no more pages:pagination.stop_reasonisend_of_listat the end, ordepth_limitif this run cannot go deeper; data may remain.
What do the Instagram reels_search parameters mean?
Search Instagram Reels by keyword, such as coffee. Each reel has caption, play count, likes, comments, duration in seconds, author handle and ID, verified badge and post time. Up to 200 reels per call, 20 by default. The order follows Instagram's search, so the rows are a sample, not every reel that uses the word.
keywordRequired- The word to search Reels for, such as
coffee. A leading # or @ is removed. One keyword per call.
What do the Instagram similar_profiles parameters mean?
Find accounts Instagram suggests as similar to one account, by username such as nasa. Each account has follower, following and post counts, bio, external link, verified and private flags, and a rank ordered by followers. Up to 20 accounts per page; page with page_token. Being suggested as similar does not prove a business relationship or a shared audience.
usernameRequired- The Instagram account to find similar accounts for, such as
nasa; a leading @ is removed. One account per call. page_tokenOptional- Page token for
user_posts,tagged_posts,comments,followers_list,user_search,similar_profiles,comment_replies,likers,location_posts,audio_postsandexplore. Leave it out for the first page; pass back thenext_page_tokenexactly as received, other parameters unchanged (exceptlimit, if present). Each page is one call; tokens last 24 hours. Nonext_page_tokenmeans no more pages:pagination.stop_reasonisend_of_listat the end, ordepth_limitif this run cannot go deeper; data may remain.
What do the Instagram tagged_posts parameters mean?
List public posts by other accounts that tag one Instagram account, given as username, profile URL or numeric user ID. Each post has caption, likes, comments, whether it is a video, image link, poster handle and ID and post time. Up to 20 posts per page; page with page_token. Posts from private accounts are not included.
usernameRequired- The account other people tagged: a handle such as
nasa(a leading @ is removed), a profile URL or a numeric user ID. One account per call. page_tokenOptional- Page token for
user_posts,tagged_posts,comments,followers_list,user_search,similar_profiles,comment_replies,likers,location_posts,audio_postsandexplore. Leave it out for the first page; pass back thenext_page_tokenexactly as received, other parameters unchanged (exceptlimit, if present). Each page is one call; tokens last 24 hours. Nonext_page_tokenmeans no more pages:pagination.stop_reasonisend_of_listat the end, ordepth_limitif this run cannot go deeper; data may remain.
What do the Instagram stories parameters mean?
Get the stories an Instagram account has live right now, from its username. Each story has its media link, photo or video type, video length, post time, and the author's name, avatar and verification. Stories last 24 hours, so an account with nothing live returns an empty list.
Full API reference: parameters, code samples, response example and healthusernameRequired- The account whose live stories you want, such as
nasa; a leading @ is removed and a profile link works too.
What do the Instagram highlights parameters mean?
List the story highlights on an Instagram profile. Each highlight has its ID, title, link, cover image, how many stories it holds, when it was created and last updated, and the account's ID and name. The stories inside a highlight are not returned, and media_count, created_at and updated_at are sometimes missing.
usernameRequired- The account whose story highlights you want, such as
nasa; a leading @ is removed and a profile link works too.
What do the Instagram comment_replies parameters mean?
Read the replies under one comment on an Instagram post or Reel, from the post link and the comment's id returned by comments. Each reply has text, likes, time, and the replier's username, ID, avatar and verification. Up to 10 per page and the count varies; page on with next_page_token.
urlRequired- The post or Reel the comment is on: https://www.instagram.com/p/<shortcode>/ or /reel/<shortcode>/.
comment_idRequired- The numeric ID of the comment whose replies
comment_repliesreads: theidof acommentsrow. page_tokenOptional- Page token for
user_posts,tagged_posts,comments,followers_list,user_search,similar_profiles,comment_replies,likers,location_posts,audio_postsandexplore. Leave it out for the first page; pass back thenext_page_tokenexactly as received, other parameters unchanged (exceptlimit, if present). Each page is one call; tokens last 24 hours. Nonext_page_tokenmeans no more pages:pagination.stop_reasonisend_of_listat the end, ordepth_limitif this run cannot go deeper; data may remain.
What do the Instagram likers parameters mean?
List the accounts that liked one Instagram post or Reel, from its url. Each row has rank, id, username, name, avatar_url, url and the private and verified flags, plus post_url and post_like_count (the post's total likes). Business and contact fields appear only when the account shows them publicly, and they do not verify identity or permit contact. Instagram's web page shows only about 100 likers, so you do not get everyone, and the count per page varies. If the author hid the like count, the list can come back empty; any rows that do come back carry likes_hidden as true. limit has no effect. Pass the previous response's next_page_token as page_token for the next page; the last page has none.
urlRequired- Specifies a single Instagram post or Reel URL for the comments and likers actions. Profile URLs are not supported. For the reels action, passing a URL does not replace the required username parameter. For the comments action, if the post does not exist or cannot be viewed (deleted, or from a private account), the call returns 200 with an empty result and empty_reason set to post_unavailable. It is not charged, and retrying the same URL does not change the result; a repeat for the same URL within 24 hours returns the same result, also free.
page_tokenOptional- Page token for
user_posts,tagged_posts,comments,followers_list,user_search,similar_profiles,comment_replies,likers,location_posts,audio_postsandexplore. Leave it out for the first page; pass back thenext_page_tokenexactly as received, other parameters unchanged (exceptlimit, if present). Each page is one call; tokens last 24 hours. Nonext_page_tokenmeans no more pages:pagination.stop_reasonisend_of_listat the end, ordepth_limitif this run cannot go deeper; data may remain.
What do the Instagram location_posts parameters mean?
List the posts tagged at one Instagram location, from location_id (the id in a post's location_detail, or a location page link). Each row is a post with caption, media type, likes, comments, author, post time and media links, plus location_info with the place's name, category, coordinates and total post count. sort is top (the default) or recent. One page per call, up to 12 posts; limit has no effect. Pass the previous response's next_page_token as page_token for the next page; the last page has none. Media links are signed and expire.
location_idRequired- The location for
location_posts: theidin a post'slocation_detail, or a location page link such ashttps://www.instagram.com/explore/locations/<number>/. Pass the ID as a string. A value that cannot be read is rejected before any charge. page_tokenOptional- Page token for
user_posts,tagged_posts,comments,followers_list,user_search,similar_profiles,comment_replies,likers,location_posts,audio_postsandexplore. Leave it out for the first page; pass back thenext_page_tokenexactly as received, other parameters unchanged (exceptlimit, if present). Each page is one call; tokens last 24 hours. Nonext_page_tokenmeans no more pages:pagination.stop_reasonisend_of_listat the end, ordepth_limitif this run cannot go deeper; data may remain. sortOptional- The order of
location_posts:topfor top posts (the default when you leave it out) orrecentfor the newest.Allowed values:recenttop
What do the Instagram audio_posts parameters mean?
List the Instagram Reels that use one piece of music, from audio_id (the audio_id in a post's music, or an audio page link). Each row is a Reel with caption, play count, likes, comments, duration in seconds, author, post time and video link, plus audio_info with the track's title, artist and Reel count. One page per call, up to 12 Reels; limit has no effect. Pass the previous response's next_page_token as page_token for the next page; the last page has none. Video links are signed and expire.
audio_idRequired- The music for
audio_posts: theaudio_idin a post's or Reel'smusic, or an audio page link such ashttps://www.instagram.com/reels/audio/<number>/. Returns the Reels that use that music. Pass the ID as a string. A value that cannot be read is rejected before any charge. page_tokenOptional- Page token for
user_posts,tagged_posts,comments,followers_list,user_search,similar_profiles,comment_replies,likers,location_posts,audio_postsandexplore. Leave it out for the first page; pass back thenext_page_tokenexactly as received, other parameters unchanged (exceptlimit, if present). Each page is one call; tokens last 24 hours. Nonext_page_tokenmeans no more pages:pagination.stop_reasonisend_of_listat the end, ordepth_limitif this run cannot go deeper; data may remain.
What do the Instagram explore parameters mean?
Read one page of the posts Instagram recommends on Explore; no input is needed. Each row is a post or Reel with caption, media type, likes, comments, author, post time and media links. One page per call, up to 12 posts; limit has no effect. Pass the previous response's next_page_token as page_token for the next page; the last page has none. The results do not explain why Instagram recommends a post. Media links are signed and expire.
page_tokenOptional- Page token for
user_posts,tagged_posts,comments,followers_list,user_search,similar_profiles,comment_replies,likers,location_posts,audio_postsandexplore. Leave it out for the first page; pass back thenext_page_tokenexactly as received, other parameters unchanged (exceptlimit, if present). Each page is one call; tokens last 24 hours. Nonext_page_tokenmeans no more pages:pagination.stop_reasonisend_of_listat the end, ordepth_limitif this run cannot go deeper; data may remain.
What do the Instagram engagement parameters mean?
Work out an Instagram account's engagement from its latest posts, by username. posts (3 to 60; the default is 24) sets how many of the latest posts to count, pinned posts included. One object comes back: follower_count, sample_size, period_start and period_end, posts_per_week, average and median likes and interactions (likes plus comments), average comments and views, engagement_rate in percent, media_mix, post counts by hour and by weekday in UTC, and the 3 posts with the most interactions in top_posts. A post whose author hid the like count counts as 0 likes. It describes a recent sample, not the account's whole history.
usernameRequired- Identifies an Instagram account handle without the @ symbol or as a full profile URL. Used by profile, persona, user_posts, and reels to fetch account data, and by engagement to work out one account's engagement. The followers action returns only total follower counts, whereas followers_list and following_list return account lists.
postsOptional- How many of the account's latest posts
engagementcounts: an integer from 3 to 60, 24 if left out. Pinned posts are counted; the latest are taken by post time.
What do the Instagram profile_by_id parameters mean?
Look up an Instagram account from its numeric user_id. Returns the account's current username and profile fields; recent_posts and highlight_count are not included.
user_idRequired- The numeric Instagram user ID, such as
787132; it is theuser_idinprofileresults and theauthor_idin post results.
What do the Instagram user_about parameters mean?
Read the About this account panel of an Instagram profile by username: the month it joined (joined_at), its country, how many times it changed its username (former_usernames_count) and when it was verified.
usernameRequired- An Instagram username such as
natgeo(a leading @ is removed), or a profile link.
What do the Instagram location_info parameters mean?
Read one Instagram location from its location_id: name, category, coordinates (lat, lng), address details when listed, and post_count.
location_idRequired- A numeric location ID: the
idin a post'slocation_detail, or the number in a location page link such as https://www.instagram.com/explore/locations/212988663/. You can pass the link itself too.
What do the Instagram resolve_links parameters mean?
Convert one Instagram post reference in text (a post link, a shortcode or a numeric post ID) into all three: shortcode, media_id and url. It only converts and does not check that the post still exists.
textRequired- One post link, shortcode or numeric post ID, such as https://www.instagram.com/p/<shortcode>/.
What do the Instagram oembed parameters mean?
Get the oEmbed data and embed code for one Instagram post or Reel from its url: the same fields as Instagram's official oEmbed, with html ready to paste into a web page.
urlRequired- A post or Reel link, such as https://www.instagram.com/p/<shortcode>/ or https://www.instagram.com/reel/<shortcode>/.
hidecaptionOptionaltruehides the post caption in the embed. Defaults tofalse.maxwidthOptional- Maximum embed width in pixels, an integer from 320 to 658. Defaults to 540.
What do the Instagram post_translation parameters mean?
Translate the caption of one Instagram post into target_language (default en), from its url or media_id. Returns the original text, the translation and the detected source_language.
media_idOptional- The numeric post ID (the
idinpostresults). Pass this orurl. target_languageOptional- The language to translate into, as a language code such as
en,zh-CN,zh-TW,ja,ko,es,pt-BR,frorde. Defaults toen. A caption already in that language comes back as it is. urlOptional- A post or Reel link, such as https://www.instagram.com/p/<shortcode>/ or https://www.instagram.com/reel/<shortcode>/. Pass
urlormedia_id; when both are given,urlis used.
What do the Instagram location_nearby parameters mean?
List the locations Instagram shows near one location, from its location_id: about 20 rows in one call, no next page. Each row has location_id, name, category, lat, lng and post counts.
location_idRequired- A numeric location ID, such as the
idin a post'slocation_detail, or a location page link (https://www.instagram.com/explore/locations/212988663/); the link works too.
What do the Instagram hashtag_search parameters mean?
Find Instagram hashtags for a keyword: the hashtags Instagram's search box suggests, with post_count for each. A call returns a handful, about 15 at most, all in one response, with no next page.
keywordRequired- The word to search, such as
coffee, one word per call, with or without #.
What do the Instagram highlight_stories parameters mean?
Read every story in one Instagram highlight from highlight_id (the id from highlights, or a highlight link): up to 100 stories in one call, with media links, posted_at and duration_seconds.
highlight_idRequired- The highlight ID: the
idfromhighlights(a string of digits), or a highlight link https://www.instagram.com/stories/highlights/<id>/.
What do the Instagram comment_translations parameters mean?
Translate up to 10 comments on one Instagram post, from the post url and comment_ids, into target_language (default en). One row per comment found; one call is billed once.
urlRequired- The post or Reel the comments are on, as a link such as https://www.instagram.com/p/<shortcode>/ or https://www.instagram.com/reel/<shortcode>/.
comment_idsRequired- The comments to translate, as an array of 1 to 10 IDs with no repeats, from the
idincommentsorcomment_repliesresults. Only about the first 150 comments on the post are searched; comments not found have no row. target_languageOptional- The language to translate into, as a language code such as
en,zh-CN,zh-TW,ja,ko,es,pt-BR,frorde. Defaults toen.
What do the Instagram recommended_reels parameters mean?
Read the Reels Instagram recommends on its Reels page, 10 per page; no input is needed. Each row has the same fields as a post result, except view_count. The list changes from call to call and is not a ranking.
page_tokenOptional- Page token for
recommended_reels. Leave it out for the first page, then pass back the previous response'snext_page_tokenexactly as received, keeping the other inputs unchanged. Tokens last 24 hours and each page is one call; the last page has nonext_page_token.
What do the Instagram user_reposts parameters mean?
List the posts and Reels an Instagram account reposted to its profile, by username, 12 per page. reposted_by is that account and author_username is the original author.
usernameRequired- An Instagram username such as
natgeo(a leading @ is removed), or a profile link. page_tokenOptional- Page token for
user_reposts. Leave it out for the first page, then pass back the previous response'snext_page_tokenexactly as received, keeping the other inputs unchanged. Tokens last 24 hours and each page is one call; the last page has nonext_page_token.
What do the Instagram location_cities parameters mean?
List the cities Instagram's location directory has for one country_code, 96 per page. Pass a row's city_id to city_locations.
country_codeRequired- A two-letter country code (ISO 3166-1), such as
US,JPorGB; any letter case works. page_tokenOptional- Page token for
location_cities. Leave it out for the first page, then pass back the previous response'snext_page_tokenexactly as received, keeping the other inputs unchanged. Tokens last 24 hours and each page is one call; the last page has nonext_page_token.
What do the Instagram city_locations parameters mean?
List the locations Instagram's location directory has for one city, from city_id, 96 per page. Pass a row's location_id to location_info or location_posts.
city_idRequired- A city ID from
location_cities(c followed by digits, such asc2728325), or a city page link. page_tokenOptional- Page token for
city_locations. Leave it out for the first page, then pass back the previous response'snext_page_tokenexactly as received, keeping the other inputs unchanged. Tokens last 24 hours and each page is one call; the last page has nonext_page_token.
What do the Instagram profiles_batch parameters mean?
Look up as many as 20 Instagram accounts at once from usernames, each given as a username such as natgeo or a profile link. Each account found is one row with the same fields as profile, plus input, the entry you passed. Business email, phone and other contact fields appear only when the account shows them publicly. They do not verify identity or permit contact. Billed per account; accounts not found are not charged and come back in missed. List each account once; an invalid array is rejected with a 422 before any charge.
usernamesRequired- 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 asnatgeo(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 inmissed.
How to use the Instagram API
- 01Choose a platform action from the public catalog.
- 02Send the platform, action, and required parameters to POST /api/v1/social.
- 03Read the result from the response. For an asynchronous action, poll the returned job ID.
- 04Store the response fields that your application needs.
curl -X POST https://api.everyinfra.com/api/v1/social \ -H "Authorization: Bearer YOUR_API_KEY" \ -H "Content-Type: application/json" \ -d '{"platform":"instagram","action":"post","params":{"urls":"<urls>"}}'
Instagram guides
Worked examples and methods built on these actions. Check the current actions, parameters and fields on this page first; an article's examples and limits do not replace the live catalog.
Creator due diligence with real data: why follower counts are not audience proof
Six TikTok creators with 3M to 18M followers: median views were 0.13% to 11.4% of followers. How to vet in layers, check disclosure and cost it.
Read the articleMultiplatform Reputation Monitoring Blueprint: Define Scope Before Evaluating Negative Shifts
Design a traceable reputation monitoring workflow starting with target lists, comment identities, and incremental cursors; use offline samples to demonstrate deduplication and ingestion gaps while preserving manual review.
Read the articleUnified Data API Getting Started: From Capability Catalog to First Available Result
Access multi-platform data using platform, action, and params: read the capability catalog, complete minimal requests, handle asynchronous tasks, partial results, and billing, and establish traceable data records.
Read the articleInstagram API questions
What can I retrieve with the Instagram API?
Set platform to instagram. The current catalog lists post details, profiles, account insights, posts by user, content discovery, and more. These action names identify different Instagram objects or views; they are not interchangeable search modes.
Which input starts the Instagram post request?
Accepts an array of full Instagram post or Reel URLs (e.g., /p/<shortcode>/ or /reel/<shortcode>/) for the post action, billed per target URL. Unlike post, the comments action processes only a single URL. If you pass a single URL and the post does not exist or cannot be viewed (deleted, or from a private account), the call returns 200 with an empty result and empty_reason set to post_unavailable. It is not charged, and retrying the same URL does not change the result; a repeat for the same URL within 24 hours returns the same result, also free. Send it as urls inside params.
Which fields can Instagram post return?
Its declared schema includes post_id, text, media_type, and like_count. A declared field can still be absent from an individual record, and every other action has its own field list.
Does every Instagram action return immediately?
Actions labeled asynchronous return a job ID you poll. profiles_batch runs synchronously only: it reads everything it returns (every target of a batch, or every SKU of a product) within the same call, and a request with "mode": "async" gets a 422 before anything is charged. Every other action can also run asynchronously: add "mode": "async" to the request body to receive a job ID immediately, useful for slow tasks or large limits. The current catalog contains sync delivery and async delivery.
Related articles
- Notion MCP with Two Agents: Keys, Times and Counts in One Competitor Table
- Instagram Scraper Python: Scrape Instagram Posts and Comments Three Ways
- Instagram Edits MCP: Check Trending Audio and Hashtags Before the Agent Cuts
- Apify Pricing Calculator: Monthly Bill by Platform, Volume and Run Frequency
- Best Instagram Scraper: Six Ways to Get Instagram Data, Priced per 1,000 Rows