# Instagram API

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.

- Request: POST https://api.everyinfra.com/api/v1/social with `{"platform": "instagram", "action": "<action>", "params": {...}}`
- Canonical page: [https://everyinfra.com/en/instagram-api](https://everyinfra.com/en/instagram-api?utm_medium=ai_doc&utm_campaign=page_md)
- Each capability uses the price recorded in the public catalog. The response includes the amount charged. Authentication failures, invalid parameters, failed calls, and empty results are not charged.

## Actions

### post — Post details
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.
- Sync delivery · Price: $0.56 per 1,000 requests (each element in urls counts as one call)
- 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.
- Parameters:
  - `urls` (required): 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.
- Returns fields: 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
- Capability page: [https://everyinfra.com/en/instagram-api/post](https://everyinfra.com/en/instagram-api/post?utm_medium=ai_doc&utm_campaign=page_md) (Markdown: https://everyinfra.com/en/instagram-api/post.md)

### profile — Profiles
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.
- Sync delivery · Price: $0.56 per 1,000 requests
- Parameters:
  - `username` (required): 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.
- Returns fields: 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
- Capability page: [https://everyinfra.com/en/instagram-api/profile](https://everyinfra.com/en/instagram-api/profile?utm_medium=ai_doc&utm_campaign=page_md) (Markdown: https://everyinfra.com/en/instagram-api/profile.md)

### persona — Account 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.
- Sync delivery · Price: $0.56 per 1,000 requests
- Parameters:
  - `username` (required): 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.
- Returns fields: 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
- Capability page: [https://everyinfra.com/en/instagram-api/persona](https://everyinfra.com/en/instagram-api/persona?utm_medium=ai_doc&utm_campaign=page_md) (Markdown: https://everyinfra.com/en/instagram-api/persona.md)

### user_posts — Posts by user
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.
- Async delivery · Price: $0.56 per 1,000 requests
- 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.
- Parameters:
  - `username` (required): 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_token` (optional): Page token for `user_posts`, `tagged_posts`, `comments`, `followers_list`, `user_search`, `similar_profiles`, `comment_replies`, `likers`, `location_posts`, `audio_posts` and `explore`. Leave it out for the first page; pass back the `next_page_token` exactly as received, other parameters unchanged (except `limit`, if present). Each page is one call; tokens last 24 hours. No `next_page_token` means no more pages: `pagination.stop_reason` is `end_of_list` at the end, or `depth_limit` if this run cannot go deeper; data may remain.
- Returns fields: 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
- Capability page: [https://everyinfra.com/en/instagram-api/user_posts](https://everyinfra.com/en/instagram-api/user_posts?utm_medium=ai_doc&utm_campaign=page_md) (Markdown: https://everyinfra.com/en/instagram-api/user_posts.md)

### discover — Content discovery
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.
- Async delivery · Price: $0.56 per 1,000 requests (every 30 rows count as one call)
- 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.
- Parameters:
  - `keyword` (required): 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_type` (optional): 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. One of: reel, reels.
- Returns fields: 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
- Capability page: [https://everyinfra.com/en/instagram-api/discover](https://everyinfra.com/en/instagram-api/discover?utm_medium=ai_doc&utm_campaign=page_md) (Markdown: https://everyinfra.com/en/instagram-api/discover.md)

### comments — Comments
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.
- Sync delivery · Price: $0.79 per 1,000 requests
- 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.
- Parameters:
  - `url` (required): 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_token` (optional): Page token for `user_posts`, `tagged_posts`, `comments`, `followers_list`, `user_search`, `similar_profiles`, `comment_replies`, `likers`, `location_posts`, `audio_posts` and `explore`. Leave it out for the first page; pass back the `next_page_token` exactly as received, other parameters unchanged (except `limit`, if present). Each page is one call; tokens last 24 hours. No `next_page_token` means no more pages: `pagination.stop_reason` is `end_of_list` at the end, or `depth_limit` if this run cannot go deeper; data may remain.
- Returns fields: 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
- Capability page: [https://everyinfra.com/en/instagram-api/comments](https://everyinfra.com/en/instagram-api/comments?utm_medium=ai_doc&utm_campaign=page_md) (Markdown: https://everyinfra.com/en/instagram-api/comments.md)

### reels — Reels
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.
- Sync delivery · Price: $1.19 per 1,000 requests
- 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.
- Parameters:
  - `username` (required): 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_token` (optional): Page token for `user_posts`, `tagged_posts`, `comments`, `followers_list`, `user_search`, `similar_profiles`, `comment_replies`, `likers`, `location_posts`, `audio_posts` and `explore`. Leave it out for the first page; pass back the `next_page_token` exactly as received, other parameters unchanged (except `limit`, if present). Each page is one call; tokens last 24 hours. No `next_page_token` means no more pages: `pagination.stop_reason` is `end_of_list` at the end, or `depth_limit` if this run cannot go deeper; data may remain.
- Returns fields: 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
- Capability page: [https://everyinfra.com/en/instagram-api/reels](https://everyinfra.com/en/instagram-api/reels?utm_medium=ai_doc&utm_campaign=page_md) (Markdown: https://everyinfra.com/en/instagram-api/reels.md)

### hashtag — Hashtag
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.
- Sync delivery · Price: $0.56 per 1,000 requests
- Each call returns one page of up to 30 rows. There is no next page. Each page is billed once.
- Parameters:
  - `hashtag` (required): 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_type` (optional): 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. One of: reel, reels.
  - `tag` (optional): 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.
- Returns fields: 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
- Capability page: [https://everyinfra.com/en/instagram-api/hashtag](https://everyinfra.com/en/instagram-api/hashtag?utm_medium=ai_doc&utm_campaign=page_md) (Markdown: https://everyinfra.com/en/instagram-api/hashtag.md)

### followers — Followers
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.
- Sync delivery · Price: $0.56 per 1,000 requests
- Parameters:
  - `username` (required): 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.
- Returns fields: id, username, url, name, avatar_url, follower_count, following_count, platform, post_count, is_verified, is_private
- Capability page: [https://everyinfra.com/en/instagram-api/followers](https://everyinfra.com/en/instagram-api/followers?utm_medium=ai_doc&utm_campaign=page_md) (Markdown: https://everyinfra.com/en/instagram-api/followers.md)

### followers_list — Follower list
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.
- Sync delivery · Price: $0.56 per 1,000 requests
- 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.
- Parameters:
  - `username` (required): 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_token` (optional): Page token for `user_posts`, `tagged_posts`, `comments`, `followers_list`, `user_search`, `similar_profiles`, `comment_replies`, `likers`, `location_posts`, `audio_posts` and `explore`. Leave it out for the first page; pass back the `next_page_token` exactly as received, other parameters unchanged (except `limit`, if present). Each page is one call; tokens last 24 hours. No `next_page_token` means no more pages: `pagination.stop_reason` is `end_of_list` at the end, or `depth_limit` if this run cannot go deeper; data may remain.
- Returns fields: 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
- Capability page: [https://everyinfra.com/en/instagram-api/followers_list](https://everyinfra.com/en/instagram-api/followers_list?utm_medium=ai_doc&utm_campaign=page_md) (Markdown: https://everyinfra.com/en/instagram-api/followers_list.md)

### following_list — Following list
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.
- Sync delivery · Price: $0.56 per 1,000 requests (every 50 rows count as one call)
- 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.
- Parameters:
  - `username` (required): 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.
  - `query` (optional): 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.
- Returns fields: 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
- Capability page: [https://everyinfra.com/en/instagram-api/following_list](https://everyinfra.com/en/instagram-api/following_list?utm_medium=ai_doc&utm_campaign=page_md) (Markdown: https://everyinfra.com/en/instagram-api/following_list.md)

### user_search — Account search
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.
- Async delivery · Price: $4.81 per 1,000 requests
- 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.
- Parameters:
  - `keyword` (required): 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_token` (optional): Page token for `user_posts`, `tagged_posts`, `comments`, `followers_list`, `user_search`, `similar_profiles`, `comment_replies`, `likers`, `location_posts`, `audio_posts` and `explore`. Leave it out for the first page; pass back the `next_page_token` exactly as received, other parameters unchanged (except `limit`, if present). Each page is one call; tokens last 24 hours. No `next_page_token` means no more pages: `pagination.stop_reason` is `end_of_list` at the end, or `depth_limit` if this run cannot go deeper; data may remain.
- Returns fields: 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
- Capability page: [https://everyinfra.com/en/instagram-api/user_search](https://everyinfra.com/en/instagram-api/user_search?utm_medium=ai_doc&utm_campaign=page_md) (Markdown: https://everyinfra.com/en/instagram-api/user_search.md)

### reels_search — Reels search
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.
- Sync delivery · Price: $7.19 per 1,000 requests (every 20 rows count as one call)
- 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.
- Parameters:
  - `keyword` (required): The word to search Reels for, such as `coffee`. A leading # or @ is removed. One keyword per call.
- Returns fields: 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
- Capability page: [https://everyinfra.com/en/instagram-api/reels_search](https://everyinfra.com/en/instagram-api/reels_search?utm_medium=ai_doc&utm_campaign=page_md) (Markdown: https://everyinfra.com/en/instagram-api/reels_search.md)

### similar_profiles — Similar accounts
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.
- Async delivery · Price: $8.81 per 1,000 requests
- 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.
- Parameters:
  - `username` (required): The Instagram account to find similar accounts for, such as `nasa`; a leading @ is removed. One account per call.
  - `page_token` (optional): Page token for `user_posts`, `tagged_posts`, `comments`, `followers_list`, `user_search`, `similar_profiles`, `comment_replies`, `likers`, `location_posts`, `audio_posts` and `explore`. Leave it out for the first page; pass back the `next_page_token` exactly as received, other parameters unchanged (except `limit`, if present). Each page is one call; tokens last 24 hours. No `next_page_token` means no more pages: `pagination.stop_reason` is `end_of_list` at the end, or `depth_limit` if this run cannot go deeper; data may remain.
- Returns fields: 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
- Capability page: [https://everyinfra.com/en/instagram-api/similar_profiles](https://everyinfra.com/en/instagram-api/similar_profiles?utm_medium=ai_doc&utm_campaign=page_md) (Markdown: https://everyinfra.com/en/instagram-api/similar_profiles.md)

### tagged_posts — Tagged posts
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.
- Sync delivery · Price: $7.44 per 1,000 requests
- 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.
- Parameters:
  - `username` (required): 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_token` (optional): Page token for `user_posts`, `tagged_posts`, `comments`, `followers_list`, `user_search`, `similar_profiles`, `comment_replies`, `likers`, `location_posts`, `audio_posts` and `explore`. Leave it out for the first page; pass back the `next_page_token` exactly as received, other parameters unchanged (except `limit`, if present). Each page is one call; tokens last 24 hours. No `next_page_token` means no more pages: `pagination.stop_reason` is `end_of_list` at the end, or `depth_limit` if this run cannot go deeper; data may remain.
- Returns fields: 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
- Capability page: [https://everyinfra.com/en/instagram-api/tagged_posts](https://everyinfra.com/en/instagram-api/tagged_posts?utm_medium=ai_doc&utm_campaign=page_md) (Markdown: https://everyinfra.com/en/instagram-api/tagged_posts.md)

### stories — Stories
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.
- Sync delivery · Price: $1.5 per 1,000 requests
- Each call returns one page of up to 100 rows. There is no next page. Each page is billed once.
- Parameters:
  - `username` (required): The account whose live stories you want, such as `nasa`; a leading @ is removed and a profile link works too.
- Returns fields: 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
- Capability page: [https://everyinfra.com/en/instagram-api/stories](https://everyinfra.com/en/instagram-api/stories?utm_medium=ai_doc&utm_campaign=page_md) (Markdown: https://everyinfra.com/en/instagram-api/stories.md)

### highlights — Story 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 `media_count`, `created_at` and `updated_at` are sometimes missing.
- Sync delivery · Price: $1.6 per 1,000 requests
- Each call returns one page of up to 100 rows. There is no next page. Each page is billed once.
- Parameters:
  - `username` (required): The account whose story highlights you want, such as `nasa`; a leading @ is removed and a profile link works too.
- Returns fields: id, url, title, media_count, cover_url, created_at, updated_at, is_pinned, author_username, author_id, author_name, platform
- Capability page: [https://everyinfra.com/en/instagram-api/highlights](https://everyinfra.com/en/instagram-api/highlights?utm_medium=ai_doc&utm_campaign=page_md) (Markdown: https://everyinfra.com/en/instagram-api/highlights.md)

### comment_replies — Comment replies
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`.
- Sync delivery · Price: $0.88 per 1,000 requests
- 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.
- Parameters:
  - `url` (required): The post or Reel the comment is on: https://www.instagram.com/p/<shortcode>/ or /reel/<shortcode>/.
  - `comment_id` (required): The numeric ID of the comment whose replies `comment_replies` reads: the `id` of a `comments` row.
  - `page_token` (optional): Page token for `user_posts`, `tagged_posts`, `comments`, `followers_list`, `user_search`, `similar_profiles`, `comment_replies`, `likers`, `location_posts`, `audio_posts` and `explore`. Leave it out for the first page; pass back the `next_page_token` exactly as received, other parameters unchanged (except `limit`, if present). Each page is one call; tokens last 24 hours. No `next_page_token` means no more pages: `pagination.stop_reason` is `end_of_list` at the end, or `depth_limit` if this run cannot go deeper; data may remain.
- Returns fields: 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
- Capability page: [https://everyinfra.com/en/instagram-api/comment_replies](https://everyinfra.com/en/instagram-api/comment_replies?utm_medium=ai_doc&utm_campaign=page_md) (Markdown: https://everyinfra.com/en/instagram-api/comment_replies.md)

### likers — Post likers
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.
- Sync delivery · Price: $1.32 per 1,000 requests
- 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.
- Parameters:
  - `url` (required): 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_token` (optional): Page token for `user_posts`, `tagged_posts`, `comments`, `followers_list`, `user_search`, `similar_profiles`, `comment_replies`, `likers`, `location_posts`, `audio_posts` and `explore`. Leave it out for the first page; pass back the `next_page_token` exactly as received, other parameters unchanged (except `limit`, if present). Each page is one call; tokens last 24 hours. No `next_page_token` means no more pages: `pagination.stop_reason` is `end_of_list` at the end, or `depth_limit` if this run cannot go deeper; data may remain.
- Returns fields: 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
- Capability page: [https://everyinfra.com/en/instagram-api/likers](https://everyinfra.com/en/instagram-api/likers?utm_medium=ai_doc&utm_campaign=page_md) (Markdown: https://everyinfra.com/en/instagram-api/likers.md)

### location_posts — Posts at a location
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.
- Sync delivery · Price: $0.56 per 1,000 requests
- 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.
- Parameters:
  - `location_id` (required): The location for `location_posts`: the `id` in a post's `location_detail`, or a location page link such as `https://www.instagram.com/explore/locations/<number>/`. Pass the ID as a string. A value that cannot be read is rejected before any charge.
  - `page_token` (optional): Page token for `user_posts`, `tagged_posts`, `comments`, `followers_list`, `user_search`, `similar_profiles`, `comment_replies`, `likers`, `location_posts`, `audio_posts` and `explore`. Leave it out for the first page; pass back the `next_page_token` exactly as received, other parameters unchanged (except `limit`, if present). Each page is one call; tokens last 24 hours. No `next_page_token` means no more pages: `pagination.stop_reason` is `end_of_list` at the end, or `depth_limit` if this run cannot go deeper; data may remain.
  - `sort` (optional): The order of `location_posts`: `top` for top posts (the default when you leave it out) or `recent` for the newest. One of: recent, top.
- Returns fields: 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
- Capability page: [https://everyinfra.com/en/instagram-api/location_posts](https://everyinfra.com/en/instagram-api/location_posts?utm_medium=ai_doc&utm_campaign=page_md) (Markdown: https://everyinfra.com/en/instagram-api/location_posts.md)

### audio_posts — Reels using a music track
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.
- Sync delivery · Price: $0.56 per 1,000 requests
- 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.
- Parameters:
  - `audio_id` (required): The music for `audio_posts`: the `audio_id` in a post's or Reel's `music`, or an audio page link such as `https://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_token` (optional): Page token for `user_posts`, `tagged_posts`, `comments`, `followers_list`, `user_search`, `similar_profiles`, `comment_replies`, `likers`, `location_posts`, `audio_posts` and `explore`. Leave it out for the first page; pass back the `next_page_token` exactly as received, other parameters unchanged (except `limit`, if present). Each page is one call; tokens last 24 hours. No `next_page_token` means no more pages: `pagination.stop_reason` is `end_of_list` at the end, or `depth_limit` if this run cannot go deeper; data may remain.
- Returns fields: 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
- Capability page: [https://everyinfra.com/en/instagram-api/audio_posts](https://everyinfra.com/en/instagram-api/audio_posts?utm_medium=ai_doc&utm_campaign=page_md) (Markdown: https://everyinfra.com/en/instagram-api/audio_posts.md)

### explore — Explore
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.
- Sync delivery · Price: $0.56 per 1,000 requests
- 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.
- Parameters:
  - `page_token` (optional): Page token for `user_posts`, `tagged_posts`, `comments`, `followers_list`, `user_search`, `similar_profiles`, `comment_replies`, `likers`, `location_posts`, `audio_posts` and `explore`. Leave it out for the first page; pass back the `next_page_token` exactly as received, other parameters unchanged (except `limit`, if present). Each page is one call; tokens last 24 hours. No `next_page_token` means no more pages: `pagination.stop_reason` is `end_of_list` at the end, or `depth_limit` if this run cannot go deeper; data may remain.
- Returns fields: 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
- Capability page: [https://everyinfra.com/en/instagram-api/explore](https://everyinfra.com/en/instagram-api/explore?utm_medium=ai_doc&utm_campaign=page_md) (Markdown: https://everyinfra.com/en/instagram-api/explore.md)

### engagement — Engagement statistics
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.
- Sync delivery · Price: $0.56 per 1,000 requests
- Parameters:
  - `username` (required): 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.
  - `posts` (optional): How many of the account's latest posts `engagement` counts: an integer from 3 to 60, 24 if left out. Pinned posts are counted; the latest are taken by post time.
- Returns fields: 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
- Capability page: [https://everyinfra.com/en/instagram-api/engagement](https://everyinfra.com/en/instagram-api/engagement?utm_medium=ai_doc&utm_campaign=page_md) (Markdown: https://everyinfra.com/en/instagram-api/engagement.md)

### profile_by_id — Profile by numeric ID
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.
- Sync delivery · Price: $0.56 per 1,000 requests
- Parameters:
  - `user_id` (required): The numeric Instagram user ID, such as `787132`; it is the `user_id` in `profile` results and the `author_id` in post results.
- Returns fields: 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
- Capability page: [https://everyinfra.com/en/instagram-api/profile_by_id](https://everyinfra.com/en/instagram-api/profile_by_id?utm_medium=ai_doc&utm_campaign=page_md) (Markdown: https://everyinfra.com/en/instagram-api/profile_by_id.md)

### user_about — About this account
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.
- Sync delivery · Price: $0.56 per 1,000 requests
- Parameters:
  - `username` (required): An Instagram username such as `natgeo` (a leading @ is removed), or a profile link.
- Returns fields: username, user_id, joined_at, joined_text, country, former_usernames_count, is_verified, verified_at, url, platform
- Capability page: [https://everyinfra.com/en/instagram-api/user_about](https://everyinfra.com/en/instagram-api/user_about?utm_medium=ai_doc&utm_campaign=page_md) (Markdown: https://everyinfra.com/en/instagram-api/user_about.md)

### location_info — Location details
Read one Instagram location from its `location_id`: name, category, coordinates (`lat`, `lng`), address details when listed, and `post_count`.
- Sync delivery · Price: $0.56 per 1,000 requests
- Parameters:
  - `location_id` (required): A numeric location ID: the `id` in a post's `location_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.
- Returns fields: location_id, name, category, lat, lng, address, city, zip, phone, website, post_count, url, platform
- Capability page: [https://everyinfra.com/en/instagram-api/location_info](https://everyinfra.com/en/instagram-api/location_info?utm_medium=ai_doc&utm_campaign=page_md) (Markdown: https://everyinfra.com/en/instagram-api/location_info.md)

### resolve_links — Link recognition
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.
- Sync delivery · Price: $0.56 per 1,000 requests
- Parameters:
  - `text` (required): One post link, shortcode or numeric post ID, such as https://www.instagram.com/p/<shortcode>/.
- Returns fields: shortcode, media_id, url, platform
- Capability page: [https://everyinfra.com/en/instagram-api/resolve_links](https://everyinfra.com/en/instagram-api/resolve_links?utm_medium=ai_doc&utm_campaign=page_md) (Markdown: https://everyinfra.com/en/instagram-api/resolve_links.md)

### oembed — Post embed code
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.
- Sync delivery · Price: $0.56 per 1,000 requests
- Parameters:
  - `url` (required): A post or Reel link, such as https://www.instagram.com/p/<shortcode>/ or https://www.instagram.com/reel/<shortcode>/.
  - `hidecaption` (optional): `true` hides the post caption in the embed. Defaults to `false`.
  - `maxwidth` (optional): Maximum embed width in pixels, an integer from 320 to 658. Defaults to 540.
- Returns fields: 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
- Capability page: [https://everyinfra.com/en/instagram-api/oembed](https://everyinfra.com/en/instagram-api/oembed?utm_medium=ai_doc&utm_campaign=page_md) (Markdown: https://everyinfra.com/en/instagram-api/oembed.md)

### post_translation — Post caption translation
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`.
- Sync delivery · Price: $6.39 per 1,000 requests
- Parameters:
  - `media_id` (optional): The numeric post ID (the `id` in `post` results). Pass this or `url`.
  - `target_language` (optional): The language to translate into, as a language code such as `en`, `zh-CN`, `zh-TW`, `ja`, `ko`, `es`, `pt-BR`, `fr` or `de`. Defaults to `en`. A caption already in that language comes back as it is.
  - `url` (optional): A post or Reel link, such as https://www.instagram.com/p/<shortcode>/ or https://www.instagram.com/reel/<shortcode>/. Pass `url` or `media_id`; when both are given, `url` is used.
- Returns fields: media_id, shortcode, url, author_username, text, translation, source_language, target_language, platform
- Capability page: [https://everyinfra.com/en/instagram-api/post_translation](https://everyinfra.com/en/instagram-api/post_translation?utm_medium=ai_doc&utm_campaign=page_md) (Markdown: https://everyinfra.com/en/instagram-api/post_translation.md)

### location_nearby — Nearby locations
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.
- Sync delivery · Price: $0.56 per 1,000 requests
- 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.
- Parameters:
  - `location_id` (required): A numeric location ID, such as the `id` in a post's `location_detail`, or a location page link (https://www.instagram.com/explore/locations/212988663/); the link works too.
- Returns fields: rank, location_id, name, category, lat, lng, post_count, post_count_label, price_range, hours_status, thumbnail_url, url, platform, origin
- Capability page: [https://everyinfra.com/en/instagram-api/location_nearby](https://everyinfra.com/en/instagram-api/location_nearby?utm_medium=ai_doc&utm_campaign=page_md) (Markdown: https://everyinfra.com/en/instagram-api/location_nearby.md)

### hashtag_search — Hashtag search
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.
- Sync delivery · Price: $0.56 per 1,000 requests
- 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.
- Parameters:
  - `keyword` (required): The word to search, such as `coffee`, one word per call, with or without #.
- Returns fields: rank, name, id, post_count, post_count_label, url, platform
- Capability page: [https://everyinfra.com/en/instagram-api/hashtag_search](https://everyinfra.com/en/instagram-api/hashtag_search?utm_medium=ai_doc&utm_campaign=page_md) (Markdown: https://everyinfra.com/en/instagram-api/hashtag_search.md)

### highlight_stories — Stories in a highlight
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`.
- Sync delivery · Price: $0.56 per 1,000 requests
- 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.
- Parameters:
  - `highlight_id` (required): The highlight ID: the `id` from `highlights` (a string of digits), or a highlight link https://www.instagram.com/stories/highlights/<id>/.
- Returns fields: 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
- Capability page: [https://everyinfra.com/en/instagram-api/highlight_stories](https://everyinfra.com/en/instagram-api/highlight_stories?utm_medium=ai_doc&utm_campaign=page_md) (Markdown: https://everyinfra.com/en/instagram-api/highlight_stories.md)

### comment_translations — Comment translations
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.
- Sync delivery · Price: $6.39 per 1,000 requests
- 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.
- Parameters:
  - `url` (required): 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_ids` (required): The comments to translate, as an array of 1 to 10 IDs with no repeats, from the `id` in `comments` or `comment_replies` results. Only about the first 150 comments on the post are searched; comments not found have no row.
  - `target_language` (optional): The language to translate into, as a language code such as `en`, `zh-CN`, `zh-TW`, `ja`, `ko`, `es`, `pt-BR`, `fr` or `de`. Defaults to `en`.
- Returns fields: comment_id, text, translation, source_language, target_language, author_username, posted_at, url, post_url, platform
- Capability page: [https://everyinfra.com/en/instagram-api/comment_translations](https://everyinfra.com/en/instagram-api/comment_translations?utm_medium=ai_doc&utm_campaign=page_md) (Markdown: https://everyinfra.com/en/instagram-api/comment_translations.md)

### recommended_reels — Recommended 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 `post` result, except `view_count`. The list changes from call to call and is not a ranking.
- Sync delivery · Price: $1.18 per 1,000 requests
- 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.
- Parameters:
  - `page_token` (optional): Page token for `recommended_reels`. Leave it out for the first page, then pass back the previous response's `next_page_token` exactly as received, keeping the other inputs unchanged. Tokens last 24 hours and each page is one call; the last page has no `next_page_token`.
- Returns fields: 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
- Capability page: [https://everyinfra.com/en/instagram-api/recommended_reels](https://everyinfra.com/en/instagram-api/recommended_reels?utm_medium=ai_doc&utm_campaign=page_md) (Markdown: https://everyinfra.com/en/instagram-api/recommended_reels.md)

### user_reposts — User reposts
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.
- Sync delivery · Price: $0.56 per 1,000 requests
- 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.
- Parameters:
  - `username` (required): An Instagram username such as `natgeo` (a leading @ is removed), or a profile link.
  - `page_token` (optional): Page token for `user_reposts`. Leave it out for the first page, then pass back the previous response's `next_page_token` exactly as received, keeping the other inputs unchanged. Tokens last 24 hours and each page is one call; the last page has no `next_page_token`.
- Returns fields: 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
- Capability page: [https://everyinfra.com/en/instagram-api/user_reposts](https://everyinfra.com/en/instagram-api/user_reposts?utm_medium=ai_doc&utm_campaign=page_md) (Markdown: https://everyinfra.com/en/instagram-api/user_reposts.md)

### location_cities — Cities in a country
List the cities Instagram's location directory has for one `country_code`, 96 per page. Pass a row's `city_id` to `city_locations`.
- Sync delivery · Price: $0.56 per 1,000 requests
- 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.
- Parameters:
  - `country_code` (required): A two-letter country code (ISO 3166-1), such as `US`, `JP` or `GB`; any letter case works.
  - `page_token` (optional): Page token for `location_cities`. Leave it out for the first page, then pass back the previous response's `next_page_token` exactly as received, keeping the other inputs unchanged. Tokens last 24 hours and each page is one call; the last page has no `next_page_token`.
- Returns fields: rank, city_id, name, slug, url, country_code, country_name, platform
- Capability page: [https://everyinfra.com/en/instagram-api/location_cities](https://everyinfra.com/en/instagram-api/location_cities?utm_medium=ai_doc&utm_campaign=page_md) (Markdown: https://everyinfra.com/en/instagram-api/location_cities.md)

### city_locations — Locations in a city
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`.
- Sync delivery · Price: $0.56 per 1,000 requests
- 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.
- Parameters:
  - `city_id` (required): A city ID from `location_cities` (c followed by digits, such as `c2728325`), or a city page link.
  - `page_token` (optional): Page token for `city_locations`. Leave it out for the first page, then pass back the previous response's `next_page_token` exactly as received, keeping the other inputs unchanged. Tokens last 24 hours and each page is one call; the last page has no `next_page_token`.
- Returns fields: rank, location_id, name, slug, url, city_id, city_name, country_code, country_name, platform
- Capability page: [https://everyinfra.com/en/instagram-api/city_locations](https://everyinfra.com/en/instagram-api/city_locations?utm_medium=ai_doc&utm_campaign=page_md) (Markdown: https://everyinfra.com/en/instagram-api/city_locations.md)

### profiles_batch — Profiles in bulk
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.
- Sync delivery · Price: $0.56 per 1,000 requests (each element in usernames counts as one call)
- Parameters:
  - `usernames` (required): 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`.
- Returns fields: 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
- Capability page: [https://everyinfra.com/en/instagram-api/profiles_batch](https://everyinfra.com/en/instagram-api/profiles_batch?utm_medium=ai_doc&utm_campaign=page_md) (Markdown: https://everyinfra.com/en/instagram-api/profiles_batch.md)

## Instagram 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.

### Does Instagram have an official API?

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 (checked 2026-11-21): [Meta: Instagram Platform overview](https://developers.facebook.com/docs/instagram-platform/overview/) · [Meta: Instagram Business Discovery](https://developers.facebook.com/docs/instagram-platform/instagram-api-with-facebook-login/business-discovery)

### Do I need a Instagram developer account or API key?

No. Requests go through EveryInfra with an EveryInfra API key: sign up, create a key in the console and send it as `Authorization: Bearer <API_KEY>`. You do not register a Instagram developer app, apply for Instagram API access or sign in with a Instagram account, and the actions return public Instagram data only.

### How much does the Instagram API cost per 1,000 requests?

each action's price is listed in the table on this page and in the public catalog. There is no subscription: you top up a USD balance and pay per call, and failed calls and empty results are not charged.

### 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.

## Also

- Machine catalog (no key): https://everyinfra.com/openapi.json · GET /api/v1/social/catalog?platform=instagram
- API guide for AI clients: https://everyinfra.com/llms.txt · agents guide: https://everyinfra.com/agents.md
