Skip to main content
GET
Search
Search Instagram by keyword. Every search endpoint takes query. Credits: 8 (users, places, top, reels, music) · 3 (hashtags, autocomplete)

Authorization

string
required
Your ScrapeBadger API key.

Query Parameters

string
required
The search term.
integer
default:"20"
users only — how many accounts to return (1–100).
number
places only, optional — latitude to bias the ranking toward. Without lat/lng the ranking is global.
number
places only, optional — longitude, paired with lat.
string
top and reels only — opaque next-page token.

Paths

  • GET /v1/instagram/search/users — matching accounts (UserShort[]). 8 credits.
  • GET /v1/instagram/search/hashtags — matching hashtags (Hashtag[]). 3 credits.
  • GET /v1/instagram/search/places — matching places. 8 credits.
  • GET /v1/instagram/search/top — blended top results (users, hashtags, places). 8 credits.
  • GET /v1/instagram/search/reels — reels matching the keyword. 8 credits.
  • GET /v1/instagram/search/music — matching audio tracks. 8 credits.
  • GET /v1/instagram/search/autocomplete — keyword typeahead suggestions. 3 credits.

Response

object[]
users, hashtags, places and music return typed results wrapped in { items, count, next_cursor, has_more }. top, reels and autocomplete return Instagram’s blended payload. top and reels add a next_cursor field; pass it back as cursor for the next page.

Example

Response