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
SearchKeyword search

Search posts by keyword

GET/v1/search/keywordComing soon

Public posts that match a word or phrase on each platform, in a date window.

Runs the platform's own search for q on every platform you list and returns the matching public posts in one shape. Results are fresh: each search reads the platforms at request time, then de-duplicates across them.

Use quotes for an exact phrase. Matching is the platform's: a TikTok search also matches spoken words and captions; a Reddit search matches titles and text.

Platform support

  • TikTok: Live
  • Instagram: Limited
  • YouTube: Live
  • Facebook: Live
  • X: Live
  • Threads: Limited
  • Reddit: Live
  • Snapchat: Live
Instagram (Limited)
Instagram has no open keyword search: results come from popular and indexed public Reels, so niche terms can return few posts.
Facebook (Live)
Most recent first.
Threads (Limited)
Recent public posts only; no deep paging.

Parameters

Query parameters

qstringRequired
The word or phrase.
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.
sortstring
relevance (default), recent or views.
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/keyword \
  -H "Authorization: Bearer $SONDER_API_KEY" \
  --data-urlencode "q=red bull rampage" \
  -d platforms=tiktok,youtube,x \
  -d since=2026-10-01 \
  -d limit=25
Response
{
  "posts": [
    {
      "id": "9dda86b0e89c04f35bcbf8e8528fd7d0",
      "platform": "tiktok",
      "externalId": "7695058711135423766",
      "url": "https://www.tiktok.com/@reversecomponents/video/7695058711135423766",
      "creator": {
        "handle": "reversecomponents",
        "name": "Reverse Components",
        "followers": 27100
      },
      "caption": "RED BULL RAMPAGE 2026 is on! 🔥🔥🔥 Clips from the last practice runs of Szymon Godziek ⚔️",
      "hashtags": [],
      "postedAt": "2026-10-10T15:17:59Z",
      "durationSec": 40,
      "views": 30900,
      "viewsEstimated": false,
      "likes": 5936,
      "comments": 7,
      "shares": 114,
      "transcriptExcerpt": null,
      "onscreenText": null,
      "asOf": "2026-11-02T23:04:08Z"
    },
    {
      "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": "c2VhcmNoOjI1",
  "asOf": "2026-11-02T23:04:08Z"
}
Search posts by keyword · Sonder APIs