Instagram Hashtag API
Search Instagram hashtags with post counts. Hashtag research from $0.01/call.
Search for Instagram hashtags and get post counts, related hashtags, and top posts.
Try it live
Fill in the fields and hit Run to see a real response.
{
"ok": true,
"data": {
"hashtag": {
"name": "travel",
"media_count": 700000000,
"search_results": [
{
"name": "travelphotography",
"media_count": 200000000
}
]
}
}
}Features
Pass a tag name without the # and get back the hashtag object, resolving free text into a real Instagram tag with its stats.
Returns media_count for the tag — the total number of posts using it — so you can size a hashtag's volume and competitiveness instantly.
The search_results array surfaces related tags, each with its own media_count, expanding one seed tag into a cluster of alternatives.
Surfaces the tag's leading content, so you can see what already performs under a hashtag before committing to it.
Use cases
Hashtag Research
Research hashtag popularity and competition for content strategy.
Campaign Planning
Find the best hashtags for marketing campaigns.
Quick start
Copy this snippet and start making calls.
const res = await fetch('https://api.yepapi.com/v1/instagram/hashtag', {
method: 'POST',
headers: {
'x-api-key': 'YOUR_API_KEY',
'Content-Type': 'application/json',
},
body: JSON.stringify({
"hashtag": "travel"
}),
});
const data = await res.json();
console.log(data);Research Instagram hashtags with real post-volume data
The YepAPI Instagram Hashtag API resolves a tag name into hard numbers — its media_count (total posts using it) plus a search_results array of related hashtags, each with their own counts. A POST to /v1/instagram/hashtag turns hashtag guesswork into data, sizing volume and competition before you build a content strategy around a tag.
It is the topical-discovery member of the YepAPI Instagram suite, complementing the user-centric endpoints: where Search and Similar Accounts find people, Hashtag finds topics. Pair related-tag results with the User Posts API to study top creators in a niche. One key also covers TikTok, YouTube, SEO, and AI, so cross-platform tag research stays a single integration.
What is an Instagram hashtag API?
An Instagram hashtag API resolves a tag name into structured data about its usage. You send {"hashtag": "travel"} and receive the tag's media_count — how many posts have ever used it — alongside a search_results array of related hashtags, each with its own post count, and the tag's top-performing posts. Rather than typing a tag into the app and eyeballing whether it is crowded, you get exact volume numbers you can compare across tags. It is the foundational tool for hashtag research: sizing reach potential, judging competition, and discovering adjacent tags programmatically.
Build your own Instagram hashtag-research tool
Use the Hashtag endpoint to power a content-strategy planner that ranks tags by media_count, finds lower-competition alternatives from the related-tag results, or assembles an optimal hashtag set for a campaign. Because every tag returns a precise post count, you can balance high-volume reach against niche specificity quantitatively. Expand a seed tag into a whole cluster via search_results, then study who performs under each tag using the YepAPI User Posts and Post APIs.
Instagram Hashtag API pricing — $0.01 per call
Each hashtag lookup is a flat $0.01, no tiers or minimums. Researching hundreds of tags to build a content calendar costs only a few dollars, and the spend shares one balance with every YepAPI endpoint. You pay per call only, so hashtag research scales with the breadth of your strategy rather than a subscription tier.
Hashtag volume the official API restricts
Instagram's official Graph API allows hashtag lookups only for business accounts and caps them at a small number of unique tags per rolling window, severely limiting research. The YepAPI Hashtag API returns post counts and related tags for any hashtag on demand, with no business-account requirement, so you can research as many tags as your strategy needs — well beyond the official API's tight quotas.
Try the Instagram Hashtag API free
Sign up for $5 in free credit, no card required. That is 500 hashtag lookups — enough to research an entire content calendar's worth of tags before you pay anything.
Start making API calls in 30 seconds
$5 free credit on signup. No credit card required. Pay per call.
What developers say
“Switched from SerpAPI and cut our SERP costs by 80%. Same data quality, way simpler billing.”
“One API key for AI models, SERP data, and web scraping. Saved us from managing 4 separate providers.”
“The $5 free credit let us prototype our entire rank tracking feature before committing. No other API does that.”
Frequently asked questions
Search for Instagram hashtags and get post counts, related hashtags, and top posts.
Each API call costs $0.01. No monthly minimums or subscriptions — you only pay for what you use.
Sign up for a free API key, then send a POST request to /v1/instagram/hashtag. Check the code example above for a ready-to-use snippet in JavaScript, cURL, or Python.
YepAPI bundles SEO, AI, and web scraping APIs under one key with no monthly minimums. You get lower per-call pricing, a unified dashboard, and one billing account instead of managing multiple providers.
Ready to integrate?
Get your API key and start making calls in 30 seconds. $5 free credit on signup — no credit card required.
More instagram api endpoints
Search
$0.01Search Instagram users, hashtags, and places. Discovery and research from $0.01/call.
User
$0.01Get Instagram user profiles — followers, bio, posts count, and verification from $0.01/call.
User About
$0.01Get extended Instagram user info — account category, contact details, and business info from $0.01/call.