Hashtags
Hashtag metadata and its ranked Top feed.
Hashtags are addressed by name, without the #. Names are
case-insensitive.
GET /hashtags/travel
GET /hashtags/travel/topHashtag info
Post count, profile media, and Instagram's metadata for the tag.
Path Parameters
curl -X GET "https://example.com/hashtags/string"{
"status": "success",
"data": {}
}{}What comes back in data
{
"id": "17841562887056054",
"name": "travel",
"media_count": 683000000,
"formatted_media_count": "683M",
"search_result_subtitle": "683M posts",
"is_trending": false,
"profile_pic_url": "https://scontent.cdninstagram.com/..."
}media_count is Instagram's own estimate and moves in large steps on big
tags. Treat it as an order of magnitude, not a count.
Top
Instagram's ranked feed over the tag. It uses the standard
cursor and returns media objects identical in
shape to /posts/{id}.
top is a ranking, not a stable list — the same page number can return
different posts minutes apart.
Reels (product_type: "clips") make up much of the feed. Each video carries
video_versions, the downloadable MP4 renditions, next to
video_dash_manifest. Filter on product_type to use this endpoint as a
reels-by-hashtag source.
Path Parameters
Query Parameters
Opaque pagination cursor from a previous next_cursor
curl -X GET "https://example.com/hashtags/string/top"{
"status": "success",
"data": {}
}{}What comes back in data
The standard list shape, with media objects in the same shape as a post.
Recent and reels
The chronological and reels hashtag tabs are discontinued.
GET /hashtags/{name}/recent and GET /hashtags/{name}/reels now return
410 Gone. Instagram removed both tabs — only Top remains.
Use GET /hashtags/{name}/top instead.
Errors
| Code | When |
|---|---|
not_found | No such tag, or Instagram has blocked it. |
invalid_cursor | The cursor was not one we issued. |
upstream_error | Transient. Retry. |