Instagram API

Instagram Search profiles API

Search public Instagram profiles by a bio or caption keyword.

$1.20/1k req, pay per request, no subscription.

What the API returnedprofiles[0]
{
"id": "4471820935",
"handle": "driftwood.roasters",
"displayName": "Driftwood Coffee Roasters",
"bio": "Small batch coffee roaster in Portland. Direct trade beans, roasted weekly.",
"followers": 18400,
"following": 612,
"posts": 941,
"verified": false,
... 7 more fields
}
Uptime
99.92%
30d · 8,336 calls
Requests
8,336
30d · weekly, last 12 wks
Response
14.1s
median · 30d

Pricing and providers

Instagram Search profiles API pricing: one API, 2 interchangeable providers

The cheapest provider serves first. If it fails, the next one takes over in the same call.

You pay
$12.00
$1.20/1k req, only for what you use. No monthly plan.
Your first 83 requests are free with the $0.10 starting balance.

Try it

Get Instagram search profiles in one request

requireFieldsarray
Optional; omit it and routing is unchanged, with the cheapest source serving. Name the output fields this request must be able to return, for example `private`, and it is served only by a source that returns every one of them. Fields you do not name are still returned whenever the serving source has them. This can raise your price: when the cheapest source cannot return a named field, a dearer source serves, and you are quoted and charged its price. A named field can still be absent on a profile that genuinely lacks it. Naming a combination that no single source returns together is refused as invalid input, with no charge.
Open in
Get a free key
Sample response
Free runs return only the first 3 results. Fund a key to get the full response.

This sample shows 16 of 22 fields. See every field

{
  "found": true,
  "data": {
    "nextCursor": "QVFCd0VtNGVkZ3lYMHNlZW",
    "profiles": [
      {
        "id": "4471820935",
        "handle": "driftwood.roasters",
        "displayName": "Driftwood Coffee Roasters",
        "bio": "Small batch coffee roaster in Portland. Direct trade beans, roasted weekly.",
        "followers": 18400,
        "following": 612,
        "posts": 941,
        "verified": false,
        "private": false,
        "avatarUrl": "https://scontent.cdninstagram.com/v/t51.2885-19/driftwood_profile.jpg",
        "url": "https://www.instagram.com/driftwood.roasters/",
        "externalUrl": "https://driftwoodcoffee.com"
      },
      {
        "id": "5590213764",
        "handle": "northpeak.coffee",
        "displayName": "North Peak Coffee Roasting Co",
        "bio": "Family owned roastery since 2011. Wholesale and subscriptions.",
        "followers": 42100,
        "following": 305,
        "posts": 1523,
        "verified": true,
        "private": false,
        "avatarUrl": "https://scontent.cdninstagram.com/v/t51.2885-19/northpeak_profile.jpg",
        "url": "https://www.instagram.com/northpeak.coffee/",
        "externalUrl": "https://northpeakcoffee.com"
      },
      {
        "id": "3382019456",
        "handle": "emberandash.roastery",
        "displayName": "Ember & Ash Roastery",
        "bio": "Single origin roaster. Cafe in Austin, shipping nationwide.",
        "followers": 9720,
        "following": 884,
        "posts": 402,
        "verified": false,
        "private": false,
        "avatarUrl": "https://scontent.cdninstagram.com/v/t51.2885-19/emberandash_profile.jpg",
        "url": "https://www.instagram.com/emberandash.roastery/",
        "externalUrl": "https://emberandashroastery.com"
      }
    ]
  }
}

Full parameter and response reference - every field, type, and example for this endpoint.

Reference

One request, one response shape.

Every field you send and every field you get back, each with a real example.

Last verified 2026-11-01 · uptime and latency measured over 30d

Request body

JSON, posted to this endpoint.

  • querystring

    coffee roaster

    Bio or caption keyword/phrase to search for.

  • cursorstring

    Pagination cursor returned by a previous response.

  • requireFieldsarray

    Optional; omit it and routing is unchanged, with the cheapest source serving. Name the output fields this request must be able to return, for example `private`, and it is served only by a source that returns every one of them. Fields you do not name are still returned whenever the serving source has them. This can raise your price: when the cheapest source cannot return a named field, a dearer source serves, and you are quoted and charged its price. A named field can still be absent on a profile that genuinely lacks it. Naming a combination that no single source returns together is refused as invalid input, with no charge.

You send. A small JSON body. The values shown are examples to replace with your own.

Response

JSON, one example value per field.

datadata
  • nextCursorstring

    QVFCd0VtNGVkZ3lYMHNlZW

    Opaque cursor for the next page of profiles, or null when this lane has no more. Pass it back as cursor to continue.

each profiledata.profiles[]

Populated whenever the provider has data for the entity.

  • avatarUrlstring

    https://scontent.cdninstagram.com/v/t51.2885-19/driftwood_profile.jpg

    Profile picture URL. Null when the serving source does not report it. Populated whenever the provider has data for the entity.

  • biostring

    Small batch coffee roaster in Portland. Direct trade beans, roasted weekly.

    The account's biography text. Null when the serving source does not report it. Populated whenever the provider has data for the entity.

  • categorystringcan require

    Instagram's category label for the account (for example "Coffee shop"). Null when the account publishes none or this source does not report it.

  • displayNamestring

    Driftwood Coffee Roasters

    Populated whenever the provider has data for the entity.

  • externalUrlstring

    https://driftwoodcoffee.com

    External link the account lists in its bio.

  • followersinteger

    18400

    Follower count. Null when the serving source does not report it.

  • followinginteger

    612

    Number of accounts this account follows. Null when the serving source does not report it.

  • handlestring

    driftwood.roasters

    Populated whenever the provider has data for the entity.

  • idstring

    4471820935

    Instagram's numeric account id. Null when the serving source does not report it. Populated whenever the provider has data for the entity.

  • isBusinessbooleancan require

    Whether Instagram flags the account as a business account. Null when this source does not report it.

  • postsinteger

    941

    Total number of posts on the account. Null when the serving source does not report it.

  • privatebooleancan require

    false

    Whether the account is private. Null when the serving source does not report it.

  • urlstring

    https://www.instagram.com/driftwood.roasters/

    Canonical URL of the profile.

  • verifiedboolean

    false

    Whether the account is verified. Null when the serving source does not report it.

each bioLinkdata.profiles[].bioLinks[]

Every link the account publishes in its bio, in the order Instagram returns them. Null when this source does not report them.

  • titlestring

    Display label for the link, empty when the account set none.

  • urlstring

    Destination URL, exactly as the account published it.

top level
  • foundboolean

    true

  • reason"not_found"

    Present only when `found` is false, and says why there is no result. `not_found`: the source states the target does not exist, or returned nothing for it. A `found: false` answer is a successful call, not an error, and `costUsd` is what it actually cost.

You get back. Named, typed fields in the same shape whichever source answers.

FAQ

About the Instagram Search profiles API

The AnyAPI Instagram Search profiles API returns Instagram search profiles data as normalized JSON from one POST call to /v1/run/instagram.search_profiles. Search public Instagram profiles by a bio or caption keyword. AnyAPI routes each request across 2 sources and falls back automatically when one fails. It costs from $1.20 per 1,000 requests, in US dollars with no subscription and no monthly minimum. Over the last 30 days, 99.9% of Instagram search profiles calls through AnyAPI succeeded, with a median response time of 14.1 seconds across 8,336 measured calls.

It costs from $1.20 per 1,000 requests, in US dollars with no subscription and no monthly minimum. You fund one USD wallet and each call draws it down. Some failed wallet-funded requests incur processing charges that we pass through at cost, with no markup; the error response shows the amount charged.

Search public Instagram profiles by a bio or caption keyword. 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, 99.9% of Instagram search profiles calls through AnyAPI succeeded, with a median response time of 14.1 seconds across 8,336 measured calls. These are AnyAPI's own measurements of traffic through the gateway, recomputed continuously, not a published service-level target.

Yes. A new AnyAPI account starts with $0.10 of free balance and no card required, which covers 83 Instagram Search profiles calls at $0.0012 each.

AnyAPI asks the next of its 2 sources in the same request, cheapest first, so one source going down does not fail your call.

Send a POST request to https://api.getanyapi.com/v1/run/instagram.search_profiles with your AnyAPI key in an "Authorization: Bearer" header and the input as a JSON body. The same key and the same wallet work on every AnyAPI endpoint.

No. You add US dollars to one prepaid AnyAPI balance and each request draws it down. There is no monthly plan and no minimum, and the same balance pays for every AnyAPI endpoint.

Yes. Install @getanyapi/sdk from npm for TypeScript or getanyapi from pip for Python. Both call every AnyAPI endpoint with the same key, and any HTTP client works too.

Yes. An agent can connect to the AnyAPI MCP server at https://api.getanyapi.com/mcp, or create its own free-trial key with one unauthenticated POST to https://api.getanyapi.com/agent/signup and call this endpoint over HTTP.