instagram/
hashtag-posts

The Instagram Hashtag Posts API collects public Instagram posts for one or more hashtags, with author details, captions, media, source hashtags, timestamps, and visible engagement metrics.

Instagram Hashtag Posts API

Hashtag discovery
Post records
Time and media filters
0.5 credits / result
Ready
Ready

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

README

Instagram Hashtag Posts

Instagram hashtag posts are public photos or Reels associated with a searched hashtag, carrying captions, creator identity, media, timestamps, and visible engagement. Those content and provenance signals support topic discovery, cross-hashtag comparison, creator research, and time-bounded monitoring.

Instagram Hashtag Posts API Features

  • Multi-hashtag collectionSubmit one or more hashtags with or without #, with results_limit applied separately to every submitted hashtag.
  • Time and media filtersLimit Instagram Hashtag Posts API discovery to the last hour, day, week, month, or year and choose all posts or Reels only.
  • Normalized post recordsReceive post IDs, shortcodes, canonical URLs, captions, author details, media references, hashtags, mentions, and timestamps in one shape.
  • Source context and engagementRetain the submitted hashtag that produced each record together with available like, comment, view, and play counts.

Instagram Hashtag Posts API Parameters

ParametersRequiredDescription
hashtagsRequiredOne or more non-empty hashtags, with or without #, separated by commas or new lines.
results_limitOptionalMaximum records requested per hashtag; defaults to 100 and accepts integers from 10 through 2,000.
published_withinOptionalOptional publication window: hour, day, week, month, or year.
media_typeOptionalContent filter; all includes supported post types and reels restricts results to Reels.

How to Use the Instagram Hashtag Posts API

Pass hashtags to the Instagram Hashtag Posts API as an asynchronous task, poll its task ID, then read normalized post records with cursor pagination.

  1. Prepare one or more unique hashtags, with or without a leading #.
  2. POST hashtags and optional results_limit, published_within, and media_type fields to /v1/instagram/hashtag-posts.
  3. Poll /v1/tasks/{task_id} until the status is succeeded or failed.
  4. Read /v1/tasks/{task_id}?limit=50 and follow results.next_cursor while results.has_more is true.
curl -X POST "https://api.socq.ai/v1/instagram/hashtag-posts" \
  -H "Authorization: Bearer $SOCQ_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"hashtags":["travel","photography"],"results_limit":20,"published_within":"week","media_type":"all"}'

# Poll GET /v1/tasks/{task_id}
# Read data.results.items and follow next_cursor while has_more is true

Instagram Hashtag Posts API Use Cases

  • Topic content discovery: Use the Instagram Hashtag Posts API to build reviewable datasets of public posts associated with campaign, event, community, or industry hashtags.
  • Cross-hashtag comparison: Compare visible engagement and content patterns while preserving the submitted hashtag that produced every record.
  • Recent Reels monitoring: Combine a publication window with the Reels-only filter to review timely short-form content around selected hashtags.
  • Creator and content enrichment: Join post identity, author context, captions, media, and visible metrics with research, campaign, or moderation records.

Instagram Hashtag Posts API Pro Tips

  • Deduplicate input hashtags and use one spelling for each topic; the collector processes every submitted value independently.
  • Plan volume per hashtag, because the Instagram Hashtag Posts API applies results_limit to each hashtag rather than the request as a whole.
  • Use published_within and media_type together when a recurring monitor needs a consistent time range and content type.
  • Results follow the ranking of Instagram hashtag search and can include related posts that do not use the tag, especially for low-volume hashtags with narrow filters, so check captions or hashtags when you need strict matches.
  • Deduplicate overlapping results with stable post IDs, shortcodes, or canonical URLs while retaining extra.hashtag for provenance.
  • Handle media, counters, timestamps, and other public fields as optional because source availability can vary by post.

Beyond the Instagram Hashtag Posts API, use these APIs when you need a different type of public Instagram data.

  • Instagram Search API — Search public profiles by keyword or handle with identity and visible account signals.
  • Instagram Comments API — Collect public comments, authors, timestamps, likes, and replies from post URLs.
  • Instagram Profiles API — Retrieve public profile identity, biographies, links, account flags, categories, and visible counts by username.
  • Instagram Post Info API — Look up known public post, Reel, or legacy IGTV URLs with captions, author identity, media, timestamps, visible engagement, and input context.
  • Instagram Reels Search API — Search public Reels by text query with captions, creators, media, timestamps, visible engagement, and query context.
  • Instagram Hashtag Search API — Find hashtags matching a keyword, with hashtag names, IDs, tag page URLs, and public post counts.

Explore other platforms

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

Instagram Hashtag Posts API — FAQ

Instagram Hashtag Posts API is a programmatic interface for retrieving public Instagram posts associated with one or more submitted hashtags. It returns normalized post identity, captions, authors, media, timestamps, source-hashtag context, and visible engagement metrics.

Send a non-empty hashtags array; values can include or omit the leading #. results_limit accepts 10 through 2,000, defaults to 100, and is applied separately to each hashtag.

published_within accepts hour, day, week, month, or year. media_type accepts all or reels, with all used when the field is omitted.

A normalized result can include ID, shortcode, URL, caption, author, media, hashtags, mentions, created_at, collected_at, visible like, comment, view, and play counts, plus extra.hashtag for the matched input.

The Instagram Hashtag Posts API costs 0.5 credits for every returned normalized record, with no base charge. Estimates multiply the per-hashtag results_limit by the number of submitted hashtags; final usage follows the records actually returned.

By SocQ · Updated

From the official Instagram API documentation:

“[The Instagram API with Instagram Login] allows app users to use your app to manage their Instagram Business or Creator accounts…”
Meta for Developers: Instagram Platform · accessed November 2026