# TikTok Search Top

Search TikTok via REST or OpenAny MCP—with pay-per-use pricing, no subscription, and no cookies required. Powered by LiteScrape, pass parameters such as count, query, and retrieve structured data including pagination cursor, continuation flag, returned common field, returned item field, and returned type field for content research and account lookup, and integration reference.

Documentation: https://openany.si/tiktok/tiktok-search/2ae10073-30d0-4e3e-aecf-f31e532a9f95/
API ID: 2ae10073-30d0-4e3e-aecf-f31e532a9f95
Provider: litescrape
Contract revision: 5
Method: POST
Endpoint: https://api.openany.si/v1/agent-apis/litescrape/api/tiktok/search-top
Page update time: 2026-12-03T02:53:41.885Z
Access: OpenAny REST
OpenAny MCP: availability is not supplied by this REST contract. Check get_api on the configured OpenAny MCP server before execution.
Request content type: application/json
Execution mode: sync
Authentication: Authorization: Bearer $OPENANY_API_KEY

## Billing
Price: $0.00015 / call
API-key calls use your shared balance. Review the published billing rules before making a paid request.
Price source: OpenAny public API contract.
Contract update time: 2026-12-03T02:53:36.419Z. This is not a price-change timestamp.
```json
{
  "currency": "USD",
  "mode": "fixed",
  "priceMicroUsd": "150",
  "rounding": null,
  "unit": "call",
  "unitQuantity": null
}
```

## Usage and limits
## TikTok Search Top API

Search for Top with the TikTok API. Provide query in body. Read the response using the field paths below, preserving identifiers and the declared value types when mapping results.

## What You Can Build

- **Content research and account lookup**: Keep source records connected to their content and account identifiers.
- **Integration reference**: Use the selected request format and keep source identifiers with the returned result.

## Documented Response Fields

| Field | Meaning |
| --- | --- |
| `cursor` | Pagination cursor |
| `has_more` | Continuation flag |
| `results[].common` | Returned common field |
| `results[].item` | Returned item field |
| `results[].type` | Returned type field |
| `search_id` | Returned search id field |
| `submit_feedback_for_this_response_here` | Returned submit feedback for this response here field |

## Request parameters
```json
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "title": "TikTok Search Top request inputs",
  "$comment": "Declared input types grouped by HTTP location. Path, query and header values describe decoded inputs and are serialized as text on the wire; body is the payload. This is not an exhaustive provider contract or a schema for the raw HTTP request.",
  "type": "object",
  "properties": {
    "path": {
      "type": "object",
      "properties": {}
    },
    "query": {
      "type": "object",
      "properties": {
        "timeout": {
          "type": "number",
          "description": "Total request execution budget in seconds, greater than 0 and at most 90. Supply in the query string for GET or POST. page_timeout cannot extend this budget.",
          "maximum": 90
        }
      }
    },
    "headers": {
      "type": "object",
      "properties": {}
    },
    "body": {
      "additionalProperties": false,
      "examples": [
        {
          "count": 3,
          "query": "coffee"
        }
      ],
      "properties": {
        "count": {
          "default": 20,
          "description": "Requested page size, between 1 and 35.",
          "maximum": 35,
          "minimum": 1,
          "title": "Count",
          "type": "integer",
          "x-litescrape": {
            "formGroup": 0,
            "group": 0,
            "id": "tiktok-search-top-count",
            "label": "Count",
            "summary": "Requested page size, between 1 and 35."
          }
        },
        "cursor": {
          "anyOf": [
            {
              "pattern": "^[0-9]{1,25}$",
              "type": "string"
            },
            {
              "maximum": 9223372036854775807,
              "minimum": 0,
              "type": "integer"
            }
          ],
          "default": "0",
          "description": "Upstream pagination cursor from the preceding response; 0 starts a new feed.",
          "title": "Cursor",
          "x-litescrape": {
            "formGroup": 0,
            "group": 0,
            "id": "tiktok-search-top-cursor",
            "label": "Cursor",
            "summary": "Upstream pagination cursor from the preceding response; 0 starts a new feed."
          }
        },
        "query": {
          "description": "TikTok video search query.",
          "maxLength": 500,
          "minLength": 1,
          "title": "Query",
          "type": "string",
          "x-litescrape": {
            "formGroup": 0,
            "group": 0,
            "id": "tiktok-search-top-query",
            "label": "Query",
            "summary": "TikTok video search query."
          }
        },
        "search_id": {
          "anyOf": [
            {
              "pattern": "^[A-Za-z0-9_-]{1,128}$",
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "description": "Upstream search session ID from the preceding page, when supplied.",
          "title": "Search Id",
          "x-litescrape": {
            "formGroup": 0,
            "group": 0,
            "id": "tiktok-search-top-search_id",
            "label": "Search Id",
            "summary": "Upstream search session ID from the preceding page, when supplied."
          }
        }
      },
      "required": [
        "query"
      ],
      "title": "Request",
      "type": "object",
      "description": "Get TikTok's top search results."
    }
  },
  "required": [
    "path",
    "query",
    "headers",
    "body"
  ]
}
```

## Response fields
Source: Inferred from examples; not an exhaustive provider schema.
```json
{
  "type": "object",
  "properties": {
    "cursor": {
      "type": "string"
    },
    "has_more": {
      "type": "boolean"
    },
    "results": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "common": {
            "type": "object",
            "properties": {
              "doc_id_str": {
                "type": "string"
              }
            }
          },
          "item": {
            "type": "object",
            "properties": {
              "author": {
                "type": "object",
                "properties": {
                  "id": {
                    "type": "string"
                  },
                  "nickname": {
                    "type": "string"
                  },
                  "uniqueId": {
                    "type": "string"
                  },
                  "verified": {
                    "type": "boolean"
                  }
                }
              },
              "createTime": {
                "type": "integer"
              },
              "desc": {
                "type": "string"
              },
              "id": {
                "type": "string"
              },
              "stats": {
                "type": "object",
                "properties": {
                  "collectCount": {
                    "type": "integer"
                  },
                  "commentCount": {
                    "type": "integer"
                  },
                  "diggCount": {
                    "type": "integer"
                  },
                  "playCount": {
                    "type": "integer"
                  },
                  "shareCount": {
                    "type": "integer"
                  }
                }
              },
              "video": {
                "type": "object",
                "properties": {
                  "duration": {
                    "type": "integer"
                  },
                  "height": {
                    "type": "integer"
                  },
                  "id": {
                    "type": "string"
                  },
                  "ratio": {
                    "type": "string"
                  },
                  "width": {
                    "type": "integer"
                  }
                }
              }
            }
          },
          "type": {
            "type": "integer"
          }
        }
      }
    },
    "search_id": {
      "type": "string"
    },
    "submit_feedback_for_this_response_here": {
      "type": "string"
    }
  }
}
```

## Request example
Scenario: Official example
```bash
curl \
  'https://api.openany.si/v1/agent-apis/litescrape/api/tiktok/search-top' \
  -X POST \
  -H "Authorization: Bearer $OPENANY_API_KEY" \
  -H 'Content-Type: application/json' \
  --data-raw '{
  "count": 3,
  "query": "coffee"
}'
```

## Response example
Example from the provider's documentation. Field values in your results will differ.
Sample response · Documented HTTP 200
```json
{
  "cursor": "3",
  "has_more": true,
  "results": [
    {
      "common": {
        "doc_id_str": "7681307586901134622"
      },
      "item": {
        "author": {
          "id": "6678081130266805253",
          "nickname": "miranda mae",
          "uniqueId": "m.i.r.a.n.d.a.mae",
          "verified": false
        },
        "createTime": 1788443803,
        "desc": "we’re back to lovin coffee at home!! @NESCAFÉ USA @marissa  #nescafe #icedcoffeeathome #coffee #icedcoffeerecipe #icedcoffee ",
        "id": "7681307586901134622",
        "stats": {
          "collectCount": 384,
          "commentCount": 37,
          "diggCount": 2106,
          "playCount": 24100,
          "shareCount": 44
        },
        "video": {
          "duration": 290,
          "height": 1280,
          "id": "7681307586901134622",
          "ratio": "720p",
          "width": 720
        }
      },
      "type": 1
    },
    {
      "common": {
        "doc_id_str": "7688818562735164703"
      },
      "item": {
        "author": {
          "id": "6715639528205616134",
          "nickname": "Abby Berner",
          "uniqueId": "abbyberner",
          "verified": false
        },
        "createTime": 1790192595,
        "desc": "COFFEEE TIMEEEEEEE!!!! #coffee #mood ",
        "id": "7688818562735164703",
        "stats": {
          "collectCount": 531,
          "commentCount": 86,
          "diggCount": 3065,
          "playCount": 39700,
          "shareCount": 106
        },
        "video": {
          "duration": 11,
          "height": 1280,
          "id": "7688818562735164703",
          "ratio": "720p",
          "width": 720
        }
      },
      "type": 1
    },
    {
      "common": {
        "doc_id_str": "7670168587461577997"
      },
      "item": {
        "author": {
          "id": "7087615871753454635",
          "nickname": "bliss",
          "uniqueId": "blissanjelikablu",
          "verified": false
        },
        "createTime": 1785850344,
        "desc": "was dreaming abt my coffee last night",
        "id": "7670168587461577997",
        "stats": {
          "collectCount": 5380,
          "commentCount": 143,
          "diggCount": 55700,
          "playCount": 515400,
          "shareCount": 2550
        },
        "video": {
          "duration": 18,
          "height": 1280,
          "id": "7670168587461577997",
          "ratio": "720p",
          "width": 720
        }
      },
      "type": 1
    }
  ],
  "search_id": "20261010053736A80DE39D0800DA1C7F3D",
  "submit_feedback_for_this_response_here": "https://ecll-litescrape-v3--site-api-web.modal.run/api/feedback/example-not-a-valid-token"
}
```

## Error handling
400: Check the request fields.
401 / 403: Verify credentials and access permissions.
402: Inspect payment requirements and balance.
429: Respect returned retry guidance.
5xx: Inspect the error and usage record before retrying a paid operation.

## Common questions
### Which inputs identify this request?
Provide query in body (string). Keep identifiers and URLs in the formats documented for this implementation.

### What type does timeout use?
timeout uses the JSON type number in query. Preserve that type; strings, numbers, booleans and arrays are not interchangeable.

### How should I structure the JSON body?
Send the body according to its root JSON schema. Do not add a second body wrapper around the documented properties, and preserve the declared types of nested values.

### How should I map the returned fields?
Use the documented response paths with their returned types. Keep null, empty collections, false and zero distinct, and retain the identifiers needed to match results to the request.

### Which API key should I use?
Use your OpenAny API key as Bearer authentication on the documented OpenAny route.

### Where can I check the current request price?
Check the pricing area for the selected API implementation. Follow its billing unit, quantity and any request-dependent rules before sending the request.

## Available implementations
- anyapi: https://openany.si/tiktok/tiktok-search/09849d6e-0f9b-49bb-83b9-79d9ceac1257/
- anyapi: https://openany.si/tiktok/tiktok-search/314ecb82-fbb7-45b6-99a4-e8735feb6c64/
- anyapi: https://openany.si/tiktok/tiktok-search/44b5beaa-c485-4adc-af6e-7a37f240ac86/
- anyapi: https://openany.si/tiktok/tiktok-search/4b064cfa-5a1e-4480-b779-e72af6f7ad94/
- anyapi: https://openany.si/tiktok/tiktok-search/4d62c670-b10c-443b-bfa9-bdd5dc4b0a00/
- anyapi: https://openany.si/tiktok/tiktok-search/4e07c047-82a5-417b-b7d2-96ff4ebbba37/
- anyapi: https://openany.si/tiktok/tiktok-search/b64a4726-118c-47ed-952c-d941c91079b6/
- anyapi: https://openany.si/tiktok/tiktok-search/d4bd30f5-3be0-4584-9d93-eea8271b5049/
- justoneapi: https://openany.si/tiktok/tiktok-search/3476a5f9-ddbb-43c3-bab4-c1c462876a07/
- justoneapi: https://openany.si/tiktok/tiktok-search/9be9c6eb-8d86-4f19-adf1-069c793c2d96/
- justoneapi: https://openany.si/tiktok/tiktok-search/ca0eed43-b955-4d83-863f-b2290304b70f/
- justoneapi: https://openany.si/tiktok/tiktok-search/ca531be8-a17d-4927-a152-c48cf9a0cb75/
- justoneapi: https://openany.si/tiktok/tiktok-search/f5b4f421-e181-4f7b-88ab-2ff3220cc553/
- litescrape: https://openany.si/tiktok/tiktok-search/2ae10073-30d0-4e3e-aecf-f31e532a9f95/
- litescrape: https://openany.si/tiktok/tiktok-search/73dc27ec-96b9-40cc-b0f3-e5e36bda3758/
- litescrape: https://openany.si/tiktok/tiktok-search/973b7cab-6133-42f4-803d-0e20f37ac470/
- litescrape: https://openany.si/tiktok/tiktok-search/a7b50b06-ebe2-423c-a80e-9249e864d4d5/
- litescrape: https://openany.si/tiktok/tiktok-search/de91bec0-899e-413e-9ce6-bf2f6e3aa7c4/
- scrapecreators: https://openany.si/tiktok/tiktok-search/003a5e9d-1fbc-4491-90f9-fc392cf7ae19/
- scrapecreators: https://openany.si/tiktok/tiktok-search/19450f52-a85b-45a1-8568-adf96d5866f5/
- scrapecreators: https://openany.si/tiktok/tiktok-search/811985d6-8cac-4e97-83a8-6b4683ff917d/
- scrapecreators: https://openany.si/tiktok/tiktok-search/a1e97c7d-53e5-40a9-aea1-bac784bd85d3/
- scrapecreators: https://openany.si/tiktok/tiktok-search/e81c408f-5bc3-4588-bdc7-726f0dfd2ad7/
- tikhub: https://openany.si/tiktok/tiktok-search/01ac4d80-4b1c-42ce-a91a-57d89eef8685/
- tikhub: https://openany.si/tiktok/tiktok-search/07463393-8e3e-4ff9-a534-be9d77a06af4/
- tikhub: https://openany.si/tiktok/tiktok-search/0f9ec769-978c-480c-9b76-0ddb241d31d6/
- tikhub: https://openany.si/tiktok/tiktok-search/170e3eee-fd83-4aff-bbdd-2055455112ac/
- tikhub: https://openany.si/tiktok/tiktok-search/2544c7e4-0749-4414-a327-9dee5867414c/
- tikhub: https://openany.si/tiktok/tiktok-search/28c32e02-0cb3-4d43-b954-c45a192777e3/
- tikhub: https://openany.si/tiktok/tiktok-search/2d13749a-2eaf-4ad4-8c27-4ee44545aa52/
- tikhub: https://openany.si/tiktok/tiktok-search/2f4c1049-e2e2-4afa-96d6-8d25938133fa/
- tikhub: https://openany.si/tiktok/tiktok-search/344ae0be-79b5-4540-95e8-883dd2723533/
- tikhub: https://openany.si/tiktok/tiktok-search/36bca67f-ecb6-45f2-867c-08ad1307e3ec/
- tikhub: https://openany.si/tiktok/tiktok-search/3c6c571e-e3ac-49fc-8a87-4c5e23fb92b4/
- tikhub: https://openany.si/tiktok/tiktok-search/3ded2a50-c076-404e-8732-7ca968aa4acb/
- tikhub: https://openany.si/tiktok/tiktok-search/3f95da7d-d53f-4918-b5c9-4f0ce08476c7/
- tikhub: https://openany.si/tiktok/tiktok-search/4075ae84-c0b7-46d4-8b43-d732346df5df/
- tikhub: https://openany.si/tiktok/tiktok-search/40e7fce9-e4ac-4507-8209-4dd4f1a6d817/
- tikhub: https://openany.si/tiktok/tiktok-search/43573270-96c7-4520-9092-55fb91cc9a76/
- tikhub: https://openany.si/tiktok/tiktok-search/4862e3ed-e4f1-4865-a0b5-bbc0c82f7026/
- tikhub: https://openany.si/tiktok/tiktok-search/4970c8a9-33e0-4c70-a37f-1a8122c0a5b4/
- tikhub: https://openany.si/tiktok/tiktok-search/50b28a14-3275-4ec9-b0b6-8dd2e257da98/
- tikhub: https://openany.si/tiktok/tiktok-search/5483ae18-11a3-4ef6-ad76-16866c0864d6/
- tikhub: https://openany.si/tiktok/tiktok-search/55c0d595-7a0b-4b4d-acf1-60b9908a2cc4/
- tikhub: https://openany.si/tiktok/tiktok-search/6000cdad-869c-43c0-82e0-1a18d44a47b9/
- tikhub: https://openany.si/tiktok/tiktok-search/61f46987-0bf9-4adf-8778-683dffcdd0a1/
- tikhub: https://openany.si/tiktok/tiktok-search/676f8bc6-ea2b-43f9-86ac-281b46b1560f/
- tikhub: https://openany.si/tiktok/tiktok-search/719f68dd-deb6-45c3-9421-1fa283ef5ca3/
- tikhub: https://openany.si/tiktok/tiktok-search/74719cd0-db28-41a6-b89e-88af5f61ba21/
- tikhub: https://openany.si/tiktok/tiktok-search/90154693-7441-4902-abbc-e970765104f5/
- tikhub: https://openany.si/tiktok/tiktok-search/97da9b33-0174-4d3f-a5df-ede4ee814aff/
- tikhub: https://openany.si/tiktok/tiktok-search/a1c73301-ceab-486f-8ef0-5e3be868dad5/
- tikhub: https://openany.si/tiktok/tiktok-search/b3cb4aba-9401-4d20-b653-113b1e362c31/
- tikhub: https://openany.si/tiktok/tiktok-search/baf4bc97-1659-42bb-ac1d-aea27edcd920/
- tikhub: https://openany.si/tiktok/tiktok-search/c019089f-ab98-4fd6-ba7b-de0794a0e963/
- tikhub: https://openany.si/tiktok/tiktok-search/c6cddb23-1c91-4643-99ae-22eaf0fcfa0a/
- tikhub: https://openany.si/tiktok/tiktok-search/ca491ab7-2cf2-4315-a97b-35b297551cf1/
- tikhub: https://openany.si/tiktok/tiktok-search/cc12b504-8ed3-46ab-b073-5c1f5dd33868/
- tikhub: https://openany.si/tiktok/tiktok-search/df603b35-a5a0-496e-bb61-74cdd56d6301/
- tikhub: https://openany.si/tiktok/tiktok-search/e70ec597-41be-492f-acfe-f5522d360df8/
- tikhub: https://openany.si/tiktok/tiktok-search/e9e7e45e-ac04-4753-846a-a72cc273e966/
- tikhub: https://openany.si/tiktok/tiktok-search/f4528a63-d49c-46f4-abce-7fb8ed1652db/
- tikhub: https://openany.si/tiktok/tiktok-search/fa1d0605-5a75-4051-82ea-0555a0c67911/

Integration guide: https://openany.si/docs/
Agent setup: https://openany.si/SKILL.md
