Search TikTok posts

/api/v1/tiktok/search

Search public TikTok posts by keyword and return normalized captions, creator details, engagement, publication time, and source URLs.

Endpoint

  • Path: /api/v1/tiktok/search
  • Cost: 1 credit per successful request

Query parameters

NameRequiredDescriptionExample
queryYesThe keyword or phrase to search for.social listening
rawNoInclude the unchanged provider response in the raw field. Defaults to false.true
curl --get 'https://api.sociallisteningapi.com/api/v1/tiktok/search' \
  --data-urlencode 'query=social listening' \
  --data-urlencode 'raw=true' \
  --header 'x-api-key: YOUR_API_KEY'

GET request using cURL.

Responses

{
  "success": true,
  "platform": "tiktok",
  "endpoint": "/api/v1/tiktok/search",
  "data": {
    "items": [
      {
        "id": "7531234567890123456",
        "platform": "tiktok",
        "url": "https://www.tiktok.com/@alex/video/7531234567890123456",
        "content": {
          "title": null,
          "text": "A practical guide to social listening for small teams.",
          "media_urls": [],
          "thumbnail_url": null
        },
        "author": {
          "id": "author_123",
          "username": "alex",
          "display_name": "Alex Morgan",
          "avatar_url": "https://example.com/avatar.jpg",
          "verified": false
        },
        "engagement": {
          "views": 1200,
          "likes": 48,
          "comments": 7,
          "shares": 3,
          "saves": null
        },
        "published_at": "2026-08-05T01:30:00.000Z",
        "ext": {
          "content_type": "video",
          "duration_milliseconds": 18000
        }
      }
    ]
  },
  "pagination": {
    "next_cursor": null,
    "has_more": false,
    "page_size": 1
  },
  "raw": {
    "videos": []
  },
  "request_id": "req_example123",
  "credits_used": 1,
  "credits_remaining": 99
}

Request completed successfully.