Instagram Hashtag Search
Hashtags group Instagram posts around a topic, and each one carries a public count of how many posts use it, from niche tags with a few hundred posts to broad ones with hundreds of millions. Looking at the tags that share a keyword, and how big each of them is, helps you choose hashtags for a campaign and judge how much is being posted about a subject.
Instagram Hashtag Search API Features
- Tags from one keywordSend a keyword such as travel, with or without #, and get the hashtags that match it.
- The size of every tagEach hashtag comes with metrics.posts_count, its ID, and a link to its tag page.
- As many as you needresults_limit returns anywhere from 1 to 100 hashtags, with 50 by default.
Instagram Hashtag Search API Parameters
| Parameters | Required | Description |
|---|---|---|
query | Required | A single keyword to match against hashtag names, up to 100 characters. The leading # is optional. |
results_limit | Optional | How many hashtags to return, from 1 to 100. Defaults to 50. |
How to Use the Instagram Hashtag Search API
Send a keyword to the Instagram Hashtag Search API and read back the matching hashtags with their post counts.
- Choose a keyword for the topic, for example travel.
- POST {"query": "travel", "results_limit": 50} to /v1/instagram/search-hashtags.
- Poll GET /v1/tasks/{task_id} until status is succeeded.
- Read the hashtags in results.items, and sort them by metrics.posts_count if you want the biggest first.
curl -X POST "https://api.socq.ai/v1/instagram/search-hashtags" \
-H "Authorization: Bearer $SOCQ_API_KEY" \
-H "Content-Type: application/json" \
-d '{"query":"travel","results_limit":50}'
# Each result is a hashtag with metrics.posts_count.
# Read them from GET /v1/tasks/{task_id}.Instagram Hashtag Search API Use Cases
- Picking campaign hashtags: Compare post counts from the Instagram Hashtag Search API across related tags to mix broad, high-volume hashtags with smaller ones that fit the campaign closely.
- Sizing a topic: Add up the post counts of a keyword's hashtags to gauge how much is posted about it on Instagram.
- Building a tracking list: Collect the hashtags around a theme and feed them into Instagram Hashtag Posts for ongoing monitoring.
Instagram Hashtag Search API Pro Tips
- Sort the results by metrics.posts_count yourself; they arrive in Instagram's match order.
- Try singular, plural, and local-language versions of a keyword to uncover more related tags.
- Send the tags you pick to Instagram Hashtag Posts to read the posts behind them.
Related APIs
Beyond the Instagram Hashtag Search API, use these APIs when you need a different type of public Instagram data.
- Instagram Followers Count API — Retrieve public profile identity and visible follower, following, and post counts.
- Instagram Search API — Search public profiles by keyword or handle with identity and visible account signals.
- Instagram Hashtag Posts API — Discover public posts by hashtag with source-tag context, media, creators, timestamps, and visible engagement.
- Instagram Reels Search API — Search public Reels by text query with captions, creators, media, timestamps, visible engagement, and query context.
- Instagram Location Info API — Look up one location by ID or location page URL, with name, category, phone, coordinates, and tagged post count.
- Instagram Location Search API — Find location IDs by place name or by latitude and longitude, with names, addresses, cities, and coordinates.
- Instagram Posts API
- Instagram Reels API
- Instagram Comments API
- Instagram Profiles API
- Instagram Followers List API
- Instagram Following List API
- Instagram Tagged Posts API
- Instagram Transcript API
- Instagram Audio Reels API
- Instagram Highlight Items API
- Instagram Post Info API
- Instagram Story Highlights API
- Instagram Trending Reels API
- Instagram Stories API
- Instagram Similar Accounts API
- Instagram Comment Replies API
- Instagram Post Likers API
- Instagram Location Posts API
- Instagram Account Age Checker API