Skip to content
Esc

Popular

  • QuickstartFrom an API key to your campaigns, a campaign's summary, its posts, its audience and its sentiment.Get started
  • Search posts by keywordGET /v1/search/keywordSearch
  • List a post's commentsGET /v1/posts/{id}/commentsPosts & Comments
  • Formats taking offGET /v1/trendsTrends
  • Get a campaign summaryGET /v1/campaigns/{id}Campaigns
  • MCP for Claude and ChatGPTConnect Claude, ChatGPT or any MCP client to your Sonder workspace at https://sonderlabs.co.uk/mcp. Live today.MCP
SearchHashtag search

Search posts by hashtag

GET/v1/search/hashtagComing soon

Public posts under a hashtag.

Reads the hashtag's own page on each platform: the posts filed under it, newest and most viewed. Leave off the #.

Platform support

  • TikTok: Live
  • Instagram: Limited
  • YouTube: Live
  • Facebook: Limited
  • X: Limited
  • Threads: Not available
  • Reddit: Not available
  • Snapchat: Live
Instagram (Limited)
Popular public posts and recent Reels under the hashtag, not its full archive.
Facebook (Limited)
Searched as text: posts whose text contains the tag.
X (Limited)
Searched as text: posts whose text contains the tag.
Threads (Not available)
Threads has no hashtag pages.
Reddit (Not available)
Reddit has no hashtags; use subreddit search.

Parameters

Query parameters

tagstringRequired
The hashtag, without #.
platformsstring
Comma-separated platforms to search. Defaults to every platform that supports this search.
sincedate
Earliest post date (ISO 8601). Defaults to 30 days ago.
untildate
Latest post date. Defaults to now.
limitinteger
Results per page, 1 to 100. Default 25.
cursorstring
The next value from the previous page.
Request
curl -G https://yourteam.sonderlabs.co.uk/v1/search/hashtag \
  -H "Authorization: Bearer $SONDER_API_KEY" \
  -d tag=rampage \
  -d platforms=tiktok,youtube \
  -d limit=25
Response
{
  "tag": "rampage",
  "posts": [
    {
      "id": "3b70da3b8927c24a1bc153cfe6bc2c89",
      "platform": "youtube",
      "externalId": "gRhWXJHej74",
      "url": "https://www.youtube.com/shorts/gRhWXJHej74",
      "creator": {
        "handle": "OutOfCollective",
        "name": "Out of Collective",
        "followers": 60600
      },
      "caption": "Szymon Godziek absolutely launching that gap #rampage #redbull #mtb",
      "hashtags": [
        "rampage",
        "redbull",
        "mtb"
      ],
      "postedAt": "2026-10-10T16:21:58Z",
      "durationSec": 24,
      "views": 4140448,
      "viewsEstimated": false,
      "likes": 23730,
      "comments": 88,
      "shares": 0,
      "transcriptExcerpt": null,
      "onscreenText": "RAMPAGE",
      "asOf": "2026-11-03T00:06:37Z"
    }
  ],
  "next": "aGFzaHRhZzoyNQ",
  "asOf": "2026-11-02T23:04:08Z"
}
Search posts by hashtag · Sonder APIs