Instagram Search API
Search Instagram for users, hashtags, or places by keyword and get matching results with names, counts, and links.
Provider network
Providers ranked by traffic
capped at $0.0418 per request1 result$0.0020910 results$0.020920 results$0.0418 capYou are charged for what comes back. Lower the limit to pay less - and no single request can cost more than the cap, however much comes back.
Try it
Make your first request
{
"data": {
"items": [
{
"bio": "A short example description of this item.",
"followers": 12500,
"following": 12500,
"handle": "alex_rivera",
"id": "a1b2c3d4",
"image": "https://example.com/image.jpg",
"name": "Example title",
"postsCount": 12500,
"url": "https://example.com/page",
"verified": true
}
]
},
"found": true
}interface InstagramSearchResponse {
data: {
items: {
bio?: string;
followers?: number;
following?: number;
handle: string;
id: string;
image?: string;
name?: string;
postsCount?: number;
url: string;
verified?: boolean;
}[];
} | null;
found: boolean;
}Full parameter and response reference - every field, type, and example for this endpoint.
Reference
Request, response, and price
Last verified 2026-09-16 · uptime and latency measured over 30dcurl -X POST https://api.getanyapi.com/v1/run/instagram.search \
-H "Authorization: Bearer $ANYAPI_KEY" \
-H "Content-Type: application/json" \
-d '{"query":"nasa"}'| Field | Type | Example value |
|---|---|---|
| Request body | ||
| query | string | "nasa"Keyword to search Instagram for; one or more words without special punctuation (e.g. coffee roastery). |
| limit | integer | Maximum number of results to return (1-20, default 20). |
| type | enum | What to search for: user profiles, hashtags, or places (e.g. hashtag). |
| Response | ||
| data | object | |
| data.items | object[] | Matching Instagram profile records for the query. Populated whenever the provider has data for the entity. |
| data.items[].bio | string | The account's bio text. Empty when the account has none. |
| data.items[].followers | integer | The account's follower count. May be 0 when the lane does not return it in search results. |
| data.items[].following | integer | The number of accounts the account follows. May be 0 when the lane does not return it in search results. |
| data.items[].handle | string | The account's username, without the @ prefix. Populated whenever the provider has data for the entity. |
| data.items[].id | string | The account's numeric Instagram user ID, as a string. Populated whenever the provider has data for the entity. |
| data.items[].image | string | URL of the account's profile picture, with tracking query params stripped. Empty when the upstream omits it. |
| data.items[].name | string | The account's display name. Empty when the account has none. |
| data.items[].postsCount | integer | The account's post count. May be 0 when the lane does not return it in search results. |
| data.items[].url | string | Canonical URL of the account's profile, with tracking query params stripped. Populated whenever the provider has data for the entity. |
| data.items[].verified | boolean | Whether the account is verified. |
| found | boolean | Whether any matching profiles were returned for the query. |
| Price | ||
| Price per request | USD | $0.0036 |
| Price /1k req | USD | $3.60 |
FAQ
About the Instagram Search API
The AnyAPI Instagram Search API returns Instagram search data as normalized JSON from one POST call to /v1/run/instagram.search. Search Instagram for users, hashtags, or places by keyword and get matching results with names, counts, and links. AnyAPI routes each request across 2 sources and falls back automatically when one fails. It costs from $3.60 per 1,000 requests, in US dollars with no subscription and no monthly minimum. Over the last 30 days, 100.0% of Instagram search calls through AnyAPI succeeded, with a median response time of 7.8 seconds across 21 measured calls.