Get the top Instagram posts for a hashtag through an API
See what ranks on an Instagram hashtag with this ready-made Instagram API task: one call returns the top posts Instagram shows for #sourdough, in order, with likes, comments, reel plays, caption, owner, date and media links. Change the hashtag or use a keyword, and page on with the cursor. No Instagram login or cookies. You pay $5.00 per 1,000 pages of up to 50 posts.
Input
Output fields
Sign up on Apify or log in
The Instagram API - Profiles, Posts, Reels, Comments & Hashtags Actor is ready to run with the inputs already set for "Get the top Instagram posts for a hashtag through an API". Sign up or log in and you'll land in Apify Console with a copy of this exact task.
Start the "Get the top Instagram posts for a hashtag through an API" task
The Instagram API - Profiles, Posts, Reels, Comments & Hashtags Actor will start running based on the input automatically. You can also change all the input fields, like endpoint and hashtag or keyword, to match your specific use case.
Receive the "Get the top Instagram posts for a hashtag through an API" output
Monitor the progress in real time. You will be notified as soon as your dataset is complete and ready for review. Each result includes data such as image, account, posted, and more.
Integrate into your workflow
The final output is delivered in JSON, CSV, or Excel format, ready to be plugged into your workflow. You can also run the "Get the top Instagram posts for a hashtag through an API" task via API.

Integrate "Get the top Instagram posts for a hashtag through an API" into your workflow
Connect "Get the top Instagram posts for a hashtag through an API" with 100+ integrations, or run it via API or MCP.
Webhook
n8n
Make
Zapier
Airbyte
Keboola
IFTTT
Hubspot
GDrive
Gmail
Apify MCP
GitHub
Slack
LangChain
LlamaIndex
Flowise
Pinecone
OpenAI
Mastra
Clay
The Instagram hashtag API task returns one page of up to 50 top posts for #sourdough, in Instagram's order, each with likes, comments, reel plays, caption, owner, date and media links.
No. The Instagram hashtag API task reads public Instagram pages without a login, cookies or an API key.
The Instagram hashtag API task costs $5.00 per 1,000 pages of up to 50 posts, and only for results saved. Apify Silver and Gold plans pay 10% and 20% less.