Skip to main content

Top Search

Immutable Catalog Entry

This descriptor comes from the active versioned Portal catalog.

READscrape-creators.scrape_creators_tiktok_get_v1_tiktok_search_top
  • Contract tier: legacy
  • Risk: read
  • Catalog version: scrape-creators-2026.07.12.1
  • Descriptor hash: f5b44d20810499001af00ca0348ffadf4b90514e37e2541314b291f59f0fc57d

Use this when you need ScrapeCreators TikTok data from GET /v1/tiktok/search/top for Top Search. Searches TikTok's 'Top' results by query — returns both videos and photo carousels, unlike keyword search which only returns videos. Returns items, an array of objects each with id, desc (caption), content_type (video or photo carousel), statistics (play_count, digg_count/likes, comment_count, share_count), video info, and images for carousels. Paginate with cursor. TikTok may return duplicate results. Returns the ScrapeCreators response in the standard MCP envelope with ok/data/error/meta. This is read-only. Requires the portal grant header and a ScrapeCreators BYOK API key.

Request Body

{
"jsonrpc": "2.0",
"id": "scrape-creators-scrape-creators-tiktok-get-v1-tiktok-search-top-example",
"method": "tools/call",
"params": {
"name": "scrape-creators.scrape_creators_tiktok_get_v1_tiktok_search_top",
"arguments": {
"body": "",
"query": "",
"cursor": "",
"params": "",
"region": "",
"compact": "",
"sort_by": "relevance",
"max_items": "",
"include_raw": false,
"path_params": ""
}
}
}

Arguments Schema

{
"type": "object",
"properties": {
"body": {
"anyOf": [
{
"type": "object",
"additionalProperties": true
},
{
"type": "array",
"items": {}
},
{
"type": "null"
}
],
"title": "Body",
"default": null,
"description": "JSON request body for provider endpoints that accept one."
},
"query": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Query",
"default": null,
"description": "Keyword to search for"
},
"cursor": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
],
"title": "Cursor",
"default": null,
"description": "Cursor to get more videos. Get 'cursor' from previous response."
},
"params": {
"anyOf": [
{
"type": "object",
"additionalProperties": true
},
{
"type": "null"
}
],
"title": "Params",
"default": null,
"description": "Optional advanced query parameter object. Prefer the documented top-level parameters when available."
},
"region": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Region",
"default": null,
"description": "Note, this doesn't filter the tiktoks only in a specfic region, it puts the proxy there. Use it in case you want to scrape posts only available for some country. Use 2 letter country codes like US, GB, FR, etc"
},
"compact": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
],
"title": "Compact",
"default": null,
"description": "When true, trims large list payloads before returning them to the agent."
},
"sort_by": {
"enum": [
"relevance",
"most-liked",
"date-posted"
],
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Sort By",
"default": null,
"description": "Sort by"
},
"max_items": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"title": "Max Items",
"default": null,
"description": "Maximum number of list items to return when compacting provider responses."
},
"include_raw": {
"type": "boolean",
"title": "Include Raw",
"default": false,
"description": "When true, returns both compact normalized data and the raw provider payload; this can be large."
},
"path_params": {
"anyOf": [
{
"type": "object",
"additionalProperties": true
},
{
"type": "null"
}
],
"title": "Path Params",
"default": null,
"description": "Path template values for endpoints that expose path placeholders."
},
"publish_time": {
"enum": [
"yesterday",
"this-week",
"this-month",
"last-3-months",
"last-6-months",
"all-time"
],
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Publish Time",
"default": null,
"description": "Time Frame TikTok was posted"
},
"search_query": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Search Query",
"default": null,
"description": "Alias for query: Keyword to search for"
},
"cache_ttl_seconds": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"title": "Cache Ttl Seconds",
"default": null,
"description": "Optional cache lifetime for idempotent GET requests."
},
"confirm_high_cost": {
"type": "boolean",
"title": "Confirm High Cost",
"default": false,
"description": "Set true only when intentionally running a high-credit or write-intent request."
}
},
"additionalProperties": false
}

Output Schema

{
"type": "object",
"required": [
"ok",
"data",
"error",
"meta"
],
"properties": {
"ok": {
"type": "boolean",
"description": "Whether the local or provider operation completed successfully."
},
"data": {
"anyOf": [
{
"type": "object",
"additionalProperties": true
},
{
"type": "array",
"items": {}
},
{
"type": "string"
},
{
"type": "number"
},
{
"type": "boolean"
},
{
"type": "null"
}
],
"description": "Bounded operation result when ok is true."
},
"meta": {
"type": "object",
"description": "Safe request, pagination, cache, and timing metadata.",
"additionalProperties": true
},
"error": {
"anyOf": [
{
"type": "object",
"additionalProperties": true
},
{
"type": "null"
}
],
"description": "Safe structured error when ok is false."
}
},
"description": "Scrape Creators MCP normalized response envelope.",
"additionalProperties": false
}

Code Examples

curl -X POST 'https://portal.madpanda3d.com/api/mcp' \
-H 'Authorization: Bearer mad_live_***' \
-H 'Content-Type: application/json' \
-d '{
"jsonrpc": "2.0",
"id": "scrape-creators-scrape-creators-tiktok-get-v1-tiktok-search-top-example",
"method": "tools/call",
"params": {
"name": "scrape-creators.scrape_creators_tiktok_get_v1_tiktok_search_top",
"arguments": {
"body": "",
"query": "",
"cursor": "",
"params": "",
"region": "",
"compact": "",
"sort_by": "relevance",
"max_items": "",
"include_raw": false,
"path_params": ""
}
}
}'

Example Responses

{
"ok": true,
"message": "Tool scrape-creators.scrape_creators_tiktok_get_v1_tiktok_search_top executed successfully.",
"note": "Response shape varies by MCP tool. Inspect live responses for exact fields."
}