Instagram Hashtag Search API
Hashtag Explore: native grid first, fallback path only on miss.
Pass a hashtag without the # and get posts from Instagram's hashtag Explore as clean JSON. Same native grid as reels-search. A query with spaces (travel blog) is 400 HASHTAG_HAS_SPACES — Instagram tags are one token; nothing is fetched. A slower fallback path runs only when native listed nothing. limit max 50. A wall miss with a last-good grid is 200 stale (0 credits, 6h) instead of 502. A tag Instagram does not have (typo) is 404 HASHTAG_NOT_FOUND at 0 credits. Hard 90s deadline. login_wall is remembered 60s per hashtag; persistent after 3 fresh misses on that tag. Optional mediaType=reels. Flat 2 credits. Pass cache=true for the shared cache.
Request
- Base URL: https://api.captapi.com
- URL: https://api.captapi.com/v1/instagram/hashtag-search
- Auth: one of:
- HTTP bearer
- API key in header X-API-Key
Query parameters
Hashtag without the # (min 2 characters). One token — spaces are 400 HASHTAG_HAS_SPACES.
Max items to return (default 20, max 50). Flat 2 credits per call.
all (default) or reels — return only Reels/clips when set to reels.
Set true to serve from the 24h response cache (0 credits on hit). Default false — always fetch fresh.
Response
Success. The data object for this endpoint.
Changes
No recorded changes to this operation across all 3 revisions of this API.