Search Instagram posts by keyword. Returns post content, engagement metrics (likes, comments, shares, views), author metadata, and publication date. Supports fetching multiple pages of results in a single API call.
curl "https://apidirect.io/v1/instagram/posts?query=technology&pages=2" \
-H "X-API-Key: YOUR_API_KEY"
{
"posts": [
{
"title": "@mrbeast on Instagram",
"url": "https://instagram.com/p/DSDh2qaEVmQ",
"date": "2025-12-09 20:16:58",
"author": "mrbeast",
"source": "Instagram",
"domain": "instagram.com",
"snippet": "How Many People Does it Take to Pull a Plane w/ @saudi_airlines",
"likes": 530176,
"comments": 5608,
"shares": 9536,
"reposts": 4353,
"views": 29667777,
"is_video": true,
"media_type": "clips",
"author_verified": true,
"author_name": "MrBeast",
"hashtags": [],
"mentions": ["saudi_airlines"],
"sentiment": {
"emotions": {
"joy": 40,
"trust": 55,
"fear": 0,
"surprise": 10,
"sadness": 0,
"disgust": 0,
"anger": 0,
"anticipation": 30
},
"dominant_emotion": "trust",
"emotional_intensity": 5,
"polarity": "positive"
}
}
],
"pages": 2,
"count": 20
}
Our Instagram Posts API provides real-time data from Instagram, with results going back multiple years to a few seconds ago.
Yes, the API returns both feed posts and Reels. You can use the media_type field to distinguish between them (clips for Reels, feed for regular posts).
Each post includes likes, comments, shares, reposts, and views (for video posts). You also get author metadata like verification status and display name. Views are null for image-only posts.
You only pay for successful requests. The Instagram Posts API costs $0.006 per page. There are no monthly fees or commitments. You get 50 free requests per endpoint every month.
No. You can sign up and use the free tier (50 requests/endpoint/month) without adding a payment method. You only need to add a card when you want to exceed the free tier.
Yes, there's a concurrency limit of 3 simultaneous requests per endpoint per user. If you need more, just get in touch.
Get your API key and start making requests in minutes. 50 requests/month free every month.
Get API Key