Search Instagram hashtags
Search Instagram hashtags by keyword to get their names and post counts.
Headers
Get your API keyAPI key (`sfk_...`)
Text to search hashtags for.
min 1 chars · max 100 chars
Endpoint-specific response payload.
Hashtags matching the query, in Instagram's ranking, with their post counts. One page: there is no cursor. Empty when nothing matches. `isTrending` is always null here: search doesn't report it.
Hashtag id.
pattern: ^\d+$
Tag name, without #.
min 1 chars
Posts using the tag. Null when Instagram doesn't report a real count.
≥ 0
Whether Instagram marks it trending.
Whether Instagram restricts the tag, so its feed is empty (for example a tag it hides as sensitive). Null when this view doesn't say.
Public tag page URL.
Metadata about the API response.
Unique request identifier for tracing this API call.
min 1 chars
Credits charged for this request.
≥ 0
Public API version that served the response.
one of: v2
Present, and `true`, only when the source couldn't be reached and this is the last good answer for the same request instead, up to 24 hours old. Absent on every live answer.
one of: true
When a stale answer (`stale: true`) was originally fetched (ISO 8601, UTC). Absent on every live answer.
Code example
curl "https://api.socialfetch.dev/v2/instagram/hashtags/search?query=nike" \
-H "x-api-key: YOUR_API_KEY"Responses
Hashtags matching the query.