Get posts and reels for any Instagram hashtag. Returns the same post objects as post search (captions, engagement metrics, media URLs, author metadata) plus the hashtag's total post count. Choose the top, recent, or reels tab, and fetch multiple pages in a single call.
curl "https://apidirect.io/v1/instagram/hashtag/posts?hashtag=summer&pages=2" \
-H "X-API-Key: YOUR_API_KEY"
{
"posts": [
{
"title": "@chloeaustenn19 on Instagram",
"url": "https://instagram.com/p/DcvNO0YDqxz",
"date": "2026-09-01 08:14:01",
"author": "chloeaustenn19",
"source": "Instagram",
"domain": "instagram.com",
"snippet": "am i cute? #chicago #style #summer",
"likes": 6009,
"comments": 107,
"shares": 228,
"reposts": 0,
"views": 372196,
"is_video": true,
"media_type": "clips",
"author_verified": false,
"author_name": "Chloe",
"hashtags": [
"#chicago",
"#style",
"#summer"
],
"mentions": [],
"media_id": "3976455188906945651",
"thumbnail_url": "https://scontent.cdninstagram.com/v/t51.71878-15/cover.jpg",
"video_url": "https://scontent.cdninstagram.com/o1/v/t2/clip.mp4",
"video_duration": 10.1,
"width": 1080,
"height": 1920,
"carousel_media_count": 0,
"is_paid_partnership": false,
"ai_label": {"label": null, "detection_method": "NONE"},
"location": null,
"tagged_users": [],
"coauthors": [],
"carousel_media": [],
"audio": {
"type": "original",
"title": "Original audio",
"artist": "chloeaustenn19",
"audio_id": "38320043790943785",
"duration_ms": 10076
}
}
],
"hashtag": "summer",
"total": 578259801,
"pages": 2,
"count": 64
}