82trust / 100

Tiktok Search

by SocialFetch in Search & web

x402 APIPassing, checked 15 min ago

Search TikTok videos by free-text keyword (not hashtag — use tiktok.search.hashtag.list for that).

GET https://api.socialfetch.dev/v1/tiktok/search

Last 30 days

All checks passedSome failedAll failedNot checked
Uptime
100%
Response time
280 ms typical, 280 ms slowest 5%
Last check
15 min ago
Next check
in 16 min

How to call it

# See the payment challenge (nothing is charged)
curl -i -X GET "https://api.socialfetch.dev/v1/tiktok/search?query=web+scraping"
import { wrapFetchWithPayment } from "@x402/fetch";
import { x402Client } from "@x402/core/client";
import { ExactEvmScheme } from "@x402/evm/exact/client";
import { privateKeyToAccount } from "viem/accounts";

const client = new x402Client().register(
  "eip155:8453",
  new ExactEvmScheme(privateKeyToAccount(process.env.AGENT_KEY)),
);
const pay = wrapFetchWithPayment(fetch, client);

// Not sure it's safe to pay? Preflight it first for $0.005:
// GET https://toolvet.app/api/v1/check?url=https%3A%2F%2Fapi.socialfetch.dev%2Fv1%2Ftiktok%2Fsearch
const res = await pay("https://api.socialfetch.dev/v1/tiktok/search?query=web+scraping");
console.log(await res.json());

Example input

{
  "query": "web scraping"
}

Example output

{
  "data": {
    "page": {
      "hasMore": true,
      "nextCursor": "eyJjIjoiMzAifQ"
    },
    "query": "web scraping",
    "videos": [
      {
        "caption": "Example search result video",
        "createdAt": "2025-09-03T18:37:38.000Z",
        "durationMs": 89131,
        "id": "7470969622276164906",
        "isAd": false,
        "media": {
          "downloadWithoutWatermarkUrl": null
        },
        "pinned": false,
        "stats": {
          "comments": null,
          "likes": null,
          "saves": null,
          "shares": null,
          "views": null
        },
        "thumbnailUrl": "https://example.com/video-cover.jpg",
        "url": "https://www.tiktok.com/@example/video/7470969622276164906"
      }
    ]
  },
  "meta": {
    "creditsCharged": 1,
    "requestId": "req_01example",
    "version": "v1"
  }
}

Security scan

  • No findings. We scan names, descriptions and tool definitions for hidden instructions and other prompt-injection patterns.

Recent checks

WhenResultHTTPTimePrice
15 min agoPassed402357 ms$0.014
4 h agoPassed402224 ms$0.014
9 h agoPassed402280 ms$0.014