Skip to main content

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​

ParameterInRequiredDescription
tagpathyesTag: 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"
}
FieldTypeDescription
idintInternal hashtag id
namestringCanonical tag name (no #)
media_countintTotal public posts with the tag
formatted_media_countstringPre-formatted count, e.g. "20.2M"
is_trendingboolWhether the tag is currently trending
subtitle, follow_button_textstring | nullUI copy from Instagram — usually null
allow_muting_story, show_follow_drop_down, hide_use_hashtag_buttonboolUI flags, informational
statusstring"ok" on success

Errors​

HTTPMeaning
401 / 403 / 429see Rate limits
404tag does not exist