Instagram hashtag info API
GET /ig/hashtag/info/{tag} · base https://api.getsocialapi.com/v1
Hashtag card: id, post count and display flags. The id is not needed
elsewhere — hashtag endpoints key by name. Upstream: tags/{tag}/info/.
Request
| Parameter | In | Required | Description |
|---|---|---|---|
tag | path | yes | Tag: 1–64 chars, leading # is trimmed |
Example
curl https://api.getsocialapi.com/v1/ig/hashtag/info/gymgirl \
-H "X-API-Key: gsa_live_..."
Response
{
"id": 17841561619105352,
"name": "gymgirl",
"media_count": 20260153,
"allow_muting_story": true,
"subtitle": null,
"follow_button_text": null,
"show_follow_drop_down": false,
"formatted_media_count": "20.2M",
"is_trending": false,
"hide_use_hashtag_button": false,
"status": "ok"
}
| Field | Type | Description |
|---|---|---|
id | int | Internal hashtag id |
name | string | Canonical tag name (no #) |
media_count | int | Total public posts with the tag |
formatted_media_count | string | Pre-formatted count, e.g. "20.2M" |
is_trending | bool | Whether the tag is currently trending |
subtitle, follow_button_text | string | null | UI copy from Instagram — usually null |
allow_muting_story, show_follow_drop_down, hide_use_hashtag_button | bool | UI flags, informational |
status | string | "ok" on success |
Errors
| HTTP | Meaning |
|---|---|
401 / 403 / 429 | see Rate limits |
404 | tag does not exist |