Get Instagram Hashtag Posts

View all Instagram Data API endpoints →

Collect public posts tagged with a hashtag. Pass keyword without the leading '#', e.g. travel. feed_type selects top (the default), recent or reels; paginate the recent and reels feeds with pagination_token, and the top feed with the next_page value from the previous response. The live-verified response returns data.count and data.items[] in the standard post shape — id, code, taken_at, caption with hashtags, author user object, media_type, like_count and comment_count — plus a top-level continuation token. A call for travel with feed_type=recent returned 24 current posts whose captions all contained #travel. Deduplicate by media id, because successive collection windows overlap.

API Features

Three feed modes feed_type switches between top-ranked, most-recent and Reels-only views of the hashtag.
Mode-aware pagination Use pagination_token for recent and reels feeds, and next_page for the top feed.
Standard post records Items expose shortcode, caption text, author identity, media type and engagement counts.
Bare keyword input Pass the tag text without '#', e.g. travel.

Live API Demo

GET /api/project/instagram/hashtag-posts

API Response (JSON)

{}
curl -X GET 'https://api.opendata-api.com/api/project/instagram/hashtag-posts?key=<API_KEY>&keyword=travel'
📢
Need Help?
If you encounter API issues or need other API requirements, please contact us.
Contact Us

Use Cases

Related operations

Guides

View Subscription Plans →