Skip to main content
POST
Instagram Hashtag Posts API

Instagram Hashtag Posts

Search hashtags, not account usernames. Results follow Instagram’s hashtag search ranking and can include related posts whose captions do not use the requested hashtag, especially for low-volume hashtags combined with narrow published_within or media_type filters; check text or hashtags when you need strict matches. An explicit no-posts response completes successfully with an empty results.items list. Other access or service errors remain failures. Empty collections follow the normal empty-result billing policy.

Use with MCP

published_within accepts hour, day, week, month, or year; media_type accepts all or reels. results_limit defaults to 100, accepts values from 10 through 2,000, and applies to each hashtag.

Result Fields

Task results use the stable SocQ fields below. Source-specific field names and formats are normalized without inferring or enriching values that the source did not provide. To request a smaller field set, use fields for MCP queries, _result_fields for typed tools, or --result-fields in the CLI. Declared fields remain present when their value is null.

Completed Task Response

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
hashtags
string[]
required

Hashtags with or without the # prefix.

Minimum array length: 1
Minimum string length: 1
media_type
string
Minimum string length: 1
published_within
string
Minimum string length: 1
results_limit
integer
Required range: 10 <= x <= 2000

Response

Task accepted

code
integer
data
object