Instagram API

Instagram Search API

Search Instagram for users, hashtags, or places by keyword and get matching results with names, counts, and links.

POST/v1/run/instagram.search
Uptime
100.00%
30d · 21 calls
Requests
22
30d · weekly, last 12 wks
Response
7.8s
median · 30d

Try it

Make your first request

Open in
Get a free key
Sample response
Free runs return only the first 3 results. Fund a key to get the full response.
{
  "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
}
Response interface
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 30d
POST /v1/run/instagram.search
curl -X POST https://api.getanyapi.com/v1/run/instagram.search \
  -H "Authorization: Bearer $ANYAPI_KEY" \
  -H "Content-Type: application/json" \
  -d '{"query":"nasa"}'
FieldTypeExample value
Request body
querystring"nasa"Keyword to search Instagram for; one or more words without special punctuation (e.g. coffee roastery).
limitintegerMaximum number of results to return (1-20, default 20).
typeenumWhat to search for: user profiles, hashtags, or places (e.g. hashtag).
Response
dataobject
data.itemsobject[]Matching Instagram profile records for the query. Populated whenever the provider has data for the entity.
data.items[].biostringThe account's bio text. Empty when the account has none.
data.items[].followersintegerThe account's follower count. May be 0 when the lane does not return it in search results.
data.items[].followingintegerThe number of accounts the account follows. May be 0 when the lane does not return it in search results.
data.items[].handlestringThe account's username, without the @ prefix. Populated whenever the provider has data for the entity.
data.items[].idstringThe account's numeric Instagram user ID, as a string. Populated whenever the provider has data for the entity.
data.items[].imagestringURL of the account's profile picture, with tracking query params stripped. Empty when the upstream omits it.
data.items[].namestringThe account's display name. Empty when the account has none.
data.items[].postsCountintegerThe account's post count. May be 0 when the lane does not return it in search results.
data.items[].urlstringCanonical URL of the account's profile, with tracking query params stripped. Populated whenever the provider has data for the entity.
data.items[].verifiedbooleanWhether the account is verified.
foundbooleanWhether any matching profiles were returned for the query.
Price
Price per requestUSD$0.0036
Price /1k reqUSD$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.

It costs from $3.60 per 1,000 requests, in US dollars with no subscription and no monthly minimum. You fund one USD wallet, each call draws it down, and a failed request costs $0.

Search Instagram for users, hashtags, or places by keyword and get matching results with names, counts, and links. The response is normalized JSON with the same envelope every AnyAPI endpoint returns, so parsing a second endpoint is a change of URL and nothing else.

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. These are AnyAPI's own measurements of traffic through the gateway, recomputed continuously, not a published service-level target.