instagram/
search-hashtags

Use the Instagram Hashtag Search API to search hashtags by keyword and get the matching tags with their IDs, tag page links, and the number of posts using each one.

Instagram Hashtag Search API

Keyword input
Related hashtags
Post counts
0.5 credits / result
Ready
Ready

Enter parameters and send a request. The task status and normalized results will appear here.

README

By SocQ · Updated

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

ParametersRequiredDescription
queryRequiredA single keyword to match against hashtag names, up to 100 characters. The leading # is optional.
results_limitOptionalHow 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.

  1. Choose a keyword for the topic, for example travel.
  2. POST {"query": "travel", "results_limit": 50} to /v1/instagram/search-hashtags.
  3. Poll GET /v1/tasks/{task_id} until status is succeeded.
  4. 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.

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.

Explore other platforms

Combine Instagram data with public data from other supported social platforms.

Instagram Hashtag Search API — FAQ

Instagram Hashtag Search API is a programmatic interface for finding Instagram hashtags that match a keyword. It returns hashtag names, IDs, tag page links, and the number of posts that use each hashtag.

Send a keyword to this endpoint, and it returns the hashtags that match, each with its post count and tag page link.

Each result's metrics.posts_count holds the number of posts Instagram reports for that hashtag.

Pass the hashtag name to Instagram Hashtag Posts API, which returns the posts that use it.

The Instagram Hashtag Search API charges 0.5 credits for each hashtag returned, and results_limit lets you cap the total.