Search Instagram posts by hashtag. Returns post URL, author username, publication date, and caption snippet for each result. Supports fetching multiple pages of results in a single API call.
curl "https://api.apidirect.io/v1/instagram/posts?query=technology&pages=2" \
-H "Authorization: Bearer YOUR_API_KEY"
{
"posts": [
{
"title": "@instagramuser on Instagram",
"url": "https://instagram.com/p/...",
"date": "2024-01-15 14:30:00",
"author": "instagramuser",
"source": "Instagram",
"snippet": "Post caption here..."
}
],
"pages": 2,
"count": 24
}
Our Instagram Posts API provides real-time data from Instagram, with results going back multiple years to a few seconds ago.
The API primarily returns feed posts. Stories are ephemeral and not indexed. Reels may appear in results if they contain the searched hashtag.
The API returns the post URL which links to the original Instagram post. Direct media URLs are not provided, but you can access the content through the post link.
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