Search

Instagram Search API

Search Instagram by keyword and get ranked results back as structured JSON — accounts, hashtags, or locations, each through its own dedicated endpoint.

50 free credits on signup · no card required

curl "https://api.instagramapi.dev/v1/search/users?q=coffee" \
  -H "Authorization: Bearer $INSTAGRAMAPI_KEY"

What you get

Structured JSON, not raw HTML

  • Account search ranked by Instagram's own relevance, with username, full name, verification, and picture
  • Hashtag search with live media_count per tag — useful for sizing a campaign or niche
  • Location/place search returning coordinates and place IDs
  • Every result set uses the same simple items array shape
  • One credit per search call, regardless of result count

Example response

What comes back

{
  "data": {
    "items": [
      {
        "id": "41238621959",
        "username": "ddetoddo",
        "full_name": "TODDO ★ Coffee & Food",
        "is_verified": false,
        "is_private": false,
        "profile_pic_url": "https://instagram.com/.../toddo.jpg"
      }
    ],
    "next_cursor": null
  }
}

Response fields

Fields returned by GET /v1/search/users

FieldDescription
itemsMatching accounts, ranked by Instagram relevance.
items[].idNumeric account id (stable even if the username changes).
items[].usernameThe account's @handle.
items[].full_nameDisplay name shown on the profile (may be empty).
items[].is_verifiedWhether the account has a verified badge.
items[].is_privateWhether the account is private.
items[].profile_pic_urlURL of the account's profile picture.
next_cursorAlways null. This endpoint returns a single page and isn't paginated.

No login required

Nothing to authenticate but your API key

No OAuth flow

One static API key in an Authorization: Bearer header. No redirect, no refresh tokens, no expiring session.

No Meta app review

Never touch Meta's developer platform, Business Verification, or a connected Facebook Page. Sign up directly with Instagram API.

Public data only

Every endpoint returns only what's already visible on Instagram without logging in. Private accounts are never accessible.

Pricing

1 credit per request. Credits start at $8.00 per 1,000 and drop to $6.00 per 1,000 at volume — no subscription, no minimums. New accounts get 50 free credits.

See full pricing

FAQ

Instagram Search API, explained

Can I search for accounts by keyword instead of an exact username?

Yes — GET /v1/search/users?q=<keyword> returns accounts ranked by Instagram's relevance for that term, not just an exact match.

Does hashtag search tell me how popular a hashtag is?

Yes, each result includes media_count — the total number of posts using that hashtag.

Can I search for a specific place or city?

Yes — /v1/search/locations returns places matching your query with coordinates and an id you can pass to /v1/location/posts.

How many results come back per search?

A single ranked page per call — enough for typeahead/autocomplete-style use cases. There's no cursor pagination on search.

What does a search call cost?

1 credit per call, across all three search endpoints.

Start pulling search api data

Create a free key and make your first request in under a minute — 50 credits on us.