GET
/
hashtags
/
search
Available on Premium, Business, Enterprise plans.

Search based on a hashtag keyword to get a list of Instagram media posts that have been tagged with that hashtag.

  • You can query a maximum of 30 unique hashtags on behalf of an Instagram Business or Creator Account within a rolling, 7-day period. Once you query a hashtag, it will count against this limit for 7 days. Subsequent queries on the same hashtag within this time frame will not count against your limit, and will not reset its initial query 7-day timer.

  • You cannot comment on hashtagged media objects discovered through the API.
  • Hashtags on Stories are not supported.
  • Emojis in hashtag queries are not supported.
  • The API will return an error for any requests that include hashtags that we have deemed sensitive or offensive.

Header Parameters

Authorization
string
required
API Key of the Primary Profile.

Format: Authorization: Bearer API_KEY

Query Parameters

keyword
string
required

The keyword to search for matching hashtags.

https://api.ayrshare.com/api/hashtags/search?keyword=wisdom
searchType
string
default: "top"

The type of search to perform. Valid values: top, recent. Top will return the most popular hashtags. Recent will return the most recent hashtags. Default: top.