Instagram profile search API
Find Instagram accounts by name or keyword and page through the matches — id, handle, display name, avatar, verified and private flags, and follower counts when you ask, in structured JSON.
GET /v2/instagram/profiles/search1 credit per page
With include=metrics: +1 credit per account whose counts were filled, max 25
About this endpoint
GET /v2/instagram/profiles/search takes a required query string, an optional include and an optional cursor, and returns the accounts Instagram's own account search matches, in Instagram's ranking, in the shared Social Fetch envelope (meta.version is v2). Read data.accounts and data.page. Each account is the same profile summary every v2 endpoint uses: id, handle, displayName, avatarUrl, verified and privateAccount, plus metrics, always present and null when Instagram doesn't say. Instagram's search carries no counts, so metrics is null unless you send include=metrics: then each account's profile is read and metrics holds its followers, following and posts. Each account filled costs 1 credit on top of the page, the price of looking it up yourself; an account that couldn't be read keeps metrics: null and isn't charged. A search hit carries no bio: pass a hit's handle or id to GET /v2/instagram/profiles/{profile} for the full profile.
When data.page.hasMore is true, pass data.page.nextCursor as cursor and keep the same query. Instagram re-serves its top accounts on later pages, so an account you already received isn't repeated, and a page can be shorter than the one before it. An empty data.accounts means nothing matched. Each page is billed once; read meta.creditsCharged. The account whose handle is search is GET /v2/instagram/profiles/@search, because /profiles/search is this route.
Price
- 1 credit per page
- With
include=metrics: +1 credit per account whose counts were filled, max 25
The cost depends on the request, so there is no flat price per 1,000 requests.
Example request
Send your API key in the x-api-key header. New accounts get 100 free credits, no card needed.
Example response
A 200 response. Live responses have the same shape with current data.
Instagram profile search API FAQ
How do I search Instagram accounts by keyword via API?
Call GET /v2/instagram/profiles/search with your Social Fetch API key (x-api-key) and a required query. Read data.accounts, and keep following data.page.nextCursor with the same query while data.page.hasMore is true. See the API docs for parameters and examples.
How much does Instagram profile search cost?
Each page costs 1 credit, and each page is a separate billed request. With include=metrics, each account whose counts were filled adds 1 credit, up to 25 on one page; an account whose profile couldn't be read isn't charged. meta.creditsCharged shows what the call cost.
What does a search result contain?
The profile summary: id, handle, displayName, avatarUrl, verified and privateAccount, and metrics. Instagram's account search gives no follower counts, so metrics is null unless you send include=metrics, which reads each account's profile and fills followers, following and posts (1 credit per account filled). For the bio and the rest of the profile, look a hit up with GET /v2/instagram/profiles/{profile}.
Why can a later page be short, or end early?
Instagram repeats its strongest matches on every page, so accounts you already received are dropped and a later page can hold fewer accounts. When a page brings nothing new the search ends: hasMore is false and nextCursor is null.
How do I look up the account named search?
/v2/instagram/profiles/search is the search route, so write the handle with an @: GET /v2/instagram/profiles/@search.
Other Instagram endpoints
- ProfileGET /v2/instagram/profiles/{profile}
- Profile mediaGET /v2/instagram/profiles/{profile}/media
- Profile highlightsGET /v2/instagram/profiles/{profile}/highlights
- Profile storiesGET /v2/instagram/profiles/{profile}/stories
- Similar profilesGET /v2/instagram/profiles/{profile}/similar
- Profile followingGET /v2/instagram/profiles/{profile}/following
- Profile followersGET /v2/instagram/profiles/{profile}/followers
- Search profile followersGET /v2/instagram/profiles/{profile}/followers/search