Search TikTok videos by free-text keyword (not hashtag — use tiktok
Search TikTok videos by free-text keyword (not hashtag — use tiktok.search.hashtag.list for that).
14000 (raw units)
price
98
calls / 30d
5
unique payers
2026-09-18
updated
Provider
api.socialfetch.dev · discovered, not yet claimed by its owner
Payment (x402 accepts[])
[
{
"scheme": "exact",
"network": "eip155:8453",
"payTo": "0x02C2fCAfCe36B4AAdB39625866Bc6B1699d83043",
"asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
"amount": "14000",
"maxTimeoutSeconds": 300
}
]Output schema
{
"bazaar": {
"info": {
"input": {
"method": "GET",
"queryParams": {
"query": "web scraping"
},
"type": "http"
},
"output": {
"example": {
"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"
}
},
"type": "json"
}
},
"schema": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"input": {
"additionalProperties": false,
"properties": {
"method": {
"enum": [
"GET"
],
"type": "string"
},
"queryParams": {
"properties": {
"cursor": {
"description": "Opaque pagination cursor returned by a previous response.",
"minLength": 1,
"type": "string"
},
"datePosted": {
"description": "Optional upload date filter for video results.",
"enum": [
"yesterday",
"this-week",
"this-month",
"last-3-months",
"last-6-months",
"all-time"
],
"type": "string"
},
"query": {
"description": "Search query text for TikTok videos.",
"maxLength": 512,
"minLength": 1,
"type": "string"
},
"region": {
"description": "Optional two-letter ISO 3166-1 country code for localized search results.",
"type": "string"
},
"sortBy": {
"description": "Optional sort order for search results.",
"enum": [
"relevance",
"most-liked",
"date-posted"
],
"type": "string"
},
"trim": {
"description": "When true, returns a smaller response with fewer fields.",
"type": "boolean"
}
},
"required": [
"query"
],
"type": "object"
},
"type": {
"const": "http",
"type": "string"
}
},
"required": [
"type",
"method"
],
"type": "object"
},
"output": {
"properties": {
"example": {
"type": "object"
},
"type": {
"type": "string"
}
},
"required": [
"type"
],
"type": "object"
}
},
"required": [
"input"
],
"type": "object"
}
},
"payment-identifier": {
"info": {
"required": false
},
"schema": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"id": {
"maxLength": 128,
"minLength": 16,
"pattern": "^[a-zA-Z0-9_-]+$",
"type": "string"
},
"required": {
"type": "boolean"
}
},
"required": [
"required"
],
"type": "object"
}
}
}Use it
curl
curl "https://api.socialfetch.dev/v1/tiktok/search" # -> 402 Payment Required, accepts[] lists how to pay # retry with a PAYMENT-SIGNATURE (or PAYMENT header) once paid
JavaScript
const res = await fetch("https://api.socialfetch.dev/v1/tiktok/search");
if (res.status === 402) {
const { accepts } = await res.json();
// pay one of accepts[] via an x402 client, then retry with the payment header
}Python
import httpx
res = httpx.get("https://api.socialfetch.dev/v1/tiktok/search")
if res.status_code == 402:
accepts = res.json()["accepts"]
# pay one of accepts[] via an x402 client, then retry with the payment headerMachine-readable
Everything on this page is also available as clean JSON at /resources/3051.json, and this resource appears in /discovery/resources and /discovery/search.