TikTok Keyword Search

From AnyAPI, through Joshu Data Bodega.

Price
$0.00132 per call$1.32 per 1,000 calls

No calls measured in the last 30 days.

Prices include the router's 10% markup and are paid from the usage wallet. Checked on November 11, 2026.

Inputs

  • jqstring, optional

    jq expression over the result envelope; its output replaces `output`. A failed expression returns the full result with `jqError`.

  • querystring, required

    The keyword to search TikTok for.

  • cursorstring, optional

    Pagination cursor from a previous response.

  • fieldsstring, optional

    Comma-separated keys (dotted paths descend) to keep on each result item. Trims the response, not the charge.

  • sortBystring: 0, 1, 2, 0, 1, 2, optional

    Sort order. Use the canonical JSON integer 0 for relevance, 1 for most liked, or 2 for newest first; legacy numeric strings remain accepted.

  • summaryboolean, optional

    `true` returns only an outline: keys, item counts, per-field sizes.

  • max_itemsinteger, optional

    Caps the result rows returned; `_truncated` says how many were withheld. Not the charge.

  • datePostedstring, optional

    Time frame filter. Use a canonical JSON integer that is nonnegative; common values are 0 for any time, 1 for the past 24 hours, 7 for the past week, and 30 for the past month. Legacy numeric strings remain accepted.

Call it

Router call with a router API key
curl https://hello.joshu.me/api/router/call \
  -H "Authorization: Bearer $JOSHU_ROUTER_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "endpoint": "anyapi.tiktok.search.videos",
    "params": {
      "query": "cooking",
      "sortBy": 0,
      "datePosted": 0
    }
  }'