TikTok Search
Search TikTok via API. Input fields and response shapes depend on the selected implementation. Use it to surface relevant records in a search or discovery tool. Choose an implementation and check its published request fields, examples, and usage pricing before integrating.
- Selected price
- $0.0006 / callPublished pricing
- Sellers / implementations
- 5 / 63
- Requests · 30d
- —Loading...
- Success rate · 30d
- —Loading...
| Seller | Pricing | Requests · 30d | Performance | Access |
|---|---|---|---|---|
Current TikTok User Search · POST | $0.0006 / call | — | —successP50— | |
| TikTok Photo Search · POST | $0.0012 / call | —Select to load statistics | —successP50— | |
| TikTok Top Search · POST | $0.0006 / call | —Select to load statistics | —successP50— | |
| TikTok Comment Replies · POST | $0.0006 / call | —Select to load statistics | —successP50— | |
| TikTok Hashtag Search · POST | $0.0012 / call | —Select to load statistics | —successP50— | |
| TikTok Photos · POST | $0.0012 / call | —Select to load statistics | —successP50— | |
| TikTok Search Suggestions · POST | $0.0008 / call | —Select to load statistics | —successP50— | |
| TikTok Audience Demographics · POST | $0.018 / call | —Select to load statistics | —successP50— | |
| TikTok Post Details API (V1) · GET | $0.015385 / call | —Select to load statistics | —successP50— | |
| TikTok Post Comments API (V1) · GET | $0.015385 / call | —Select to load statistics | —successP50— | |
| TikTok Post Search API (V1) · GET | $0.015385 / call | —Select to load statistics | —successP50— | |
| TikTok User Published Posts API (V1) · GET | $0.015385 / call | —Select to load statistics | —successP50— | |
| TikTok Comment Replies API (V1) · GET | $0.015385 / call | —Select to load statistics | —successP50— | |
| TikTok Search Top · POST | $0.00015 / call | —Select to load statistics | —successP50— | |
| TikTok Collection Videos · POST | $0.00015 / call | —Select to load statistics | —successP50— | |
| TikTok Search Hashtag · POST | $0.00015 / call | —Select to load statistics | —successP50— | |
| TikTok Search Suggestions · POST | $0.00015 / call | —Select to load statistics | —successP50— | |
| TikTok Search Keyword · POST | $0.00015 / call | —Select to load statistics | —successP50— | |
| TikTok — Search by Keyword · GET | $0.00188 / call | —Select to load statistics | —successP50— | |
| TikTok — Top Search · GET | $0.00188 / call | —Select to load statistics | —successP50— | |
| TikTok — Search Suggestions · GET | $0.00188 / call | —Select to load statistics | —successP50— | |
| TikTok — Search Users · GET | $0.00188 / call | —Select to load statistics | —successP50— | |
| TikTok — Search by Hashtag · GET | $0.00188 / call | —Select to load statistics | —successP50— | |
| Get user unique_id · GET | $0.001 / call | —Select to load statistics | —successP50— | |
| Get list unique_id · POST | $0.001 / call | —Select to load statistics | —successP50— | |
| Get share short link · GET | $0.001 / call | —Select to load statistics | —successP50— | |
| Get general search list · GET | $0.001 / call | —Select to load statistics | —successP50— | |
| Creator Search Insights Trend · GET | $0.001 / call | —Select to load statistics | —successP50— | |
| Get single video comments data · GET | $0.001 / call | —Select to load statistics | —successP50— | |
| Get user repost video data · GET | $0.001 / call | —Select to load statistics | —successP50— | |
| Creator Search Insights Detail · GET | $0.001 / call | —Select to load statistics | —successP50— | |
| Get user homepage video data V1 · GET | $0.001 / call | —Select to load statistics | —successP50— | |
| Get location search results · GET | $0.001 / call | —Select to load statistics | —successP50— | |
| Extract list user sec_user_id · POST | $0.001 / call | —Select to load statistics | —successP50— | |
| Get live search results of specified keywords · GET | $0.001 / call | —Select to load statistics | —successP50— | |
| Search user · GET | $0.001 / call | —Select to load statistics | —successP50— | |
| Get user search results of specified keywords · GET | $0.001 / call | —Select to load statistics | —successP50— | |
| Get comprehensive search results of specified keywords · GET | $0.001 / call | —Select to load statistics | —successP50— | |
| Search products list V1 · GET | $0.001 / call | —Select to load statistics | —successP50— | |
| Get search modules config · POST | $0.001 / call | —Select to load statistics | —successP50— | |
| Get user likes · GET | $0.001 / call | —Select to load statistics | —successP50— | |
| Get user reposts · GET | $0.001 / call | —Select to load statistics | —successP50— | |
| Get user like video data · GET | $0.001 / call | —Select to load statistics | —successP50— | |
| Get video comment replies · GET | $0.001 / call | —Select to load statistics | —successP50— | |
| Search following list · GET | $0.001 / call | —Select to load statistics | —successP50— | |
| Get the guest Cookie · GET | $0.002 / call | —Select to load statistics | —successP50— | |
| Get user homepage video data V3 (simplified data - faster) · GET | $0.001 / call | —Select to load statistics | —successP50— | |
| Generate TikTok share link, call TikTok APP, and jump to the specified keyword search result · GET | $0.001 / call | —Select to load statistics | —successP50— | |
| Generate TikTok share link, call TikTok APP, and send private messages to specified users · GET | $0.001 / call | —Select to load statistics | —successP50— | |
| Generate TikTok share link, call TikTok APP, and jump to the specified video details page · GET | $0.001 / call | —Select to load statistics | —successP50— | |
| Get user mix list · GET | $0.001 / call | —Select to load statistics | —successP50— | |
| Extract user sec_user_id · GET | $0.001 / call | —Select to load statistics | —successP50— | |
| Search keyword suggest · GET | $0.001 / call | —Select to load statistics | —successP50— | |
| Get user homepage video data V2 · GET | $0.001 / call | —Select to load statistics | —successP50— | |
| Creator Search Insights · GET | $0.001 / call | —Select to load statistics | —successP50— | |
| Get video search results of specified keywords · GET | $0.001 / call | —Select to load statistics | —successP50— | |
| Get hashtag search results of specified keywords · GET | $0.001 / call | —Select to load statistics | —successP50— | |
| Search follower list · GET | $0.001 / call | —Select to load statistics | —successP50— | |
| Get comment replies data of specified video · GET | $0.001 / call | —Select to load statistics | —successP50— | |
| Search products list V2 (Mobile, US only) · GET | $0.001 / call | —Select to load statistics | —successP50— | |
| Extract user user_id · GET | $0.001 / call | —Select to load statistics | —successP50— | |
| Search photo · GET | $0.001 / call | —Select to load statistics | —successP50— | |
| Creator Search Insights Videos · GET | $0.001 / call | —Select to load statistics | —successP50— |
Run sends a real API request. Charges follow the published API contract.
Response structure
outputobjectdataobjectnextCursorstringusersobject[]followersintegerfollowingintegerhandlestringnicknamestringuserIdstring
foundboolean
// Inferred from response examples. Fields are optional and other fields may be returned.
export type ApiResponse = {
output?: {
data?: {
nextCursor?: string;
users?: Array<{
followers?: number;
following?: number;
handle?: string;
nickname?: string;
userId?: string;
}>;
};
found?: boolean;
};
};- Method
- POST
- Endpoint
https://api.openany.si/v1/agent-apis/anyapi/v1/run/tiktok.search_users- Content type
- application/json
- Authentication
Authorization: Bearer $OPENANY_API_KEY
curl \
'https://api.openany.si/v1/agent-apis/anyapi/v1/run/tiktok.search_users' \
-X POST \
-H "Authorization: Bearer $OPENANY_API_KEY" \
-H 'Content-Type: application/json' \
--data-raw '{
"query": "chef"
}'Input parameters
Fields in this listing; additional options and input encoding can vary by provider.
| Parameter | Location | Type | Required | Description |
|---|---|---|---|---|
fields | URL query parametersquery | string | No | Optional. Comma-separated keys (dotted paths like `author.name` descend into nested objects) to keep on each result item: each row of the API's result list, or the `data` object itself for an API that returns one record. Keys are matched relative to that item, not against the top-level response envelope, so use `jq` to reshape the whole envelope. Shrinks the response without changing cost. |
max_items | URL query parametersquery | integer | No | Optional. Cap the number of result rows returned; a `_truncated` note reports how many were withheld so you can page via the API's own `limit`. An API that returns one record is not trimmed. Does not change cost. minimum: 0 |
summary | URL query parametersquery | boolean | No | Optional. Return only a structural outline (top-level keys, item counts, and per-field byte sizes) instead of the full data. Does not change cost. |
jq | URL query parametersquery | string | No | Optional. A jq expression applied to the result envelope; its output replaces `output` (multiple outputs collect into an array). Reshape freely, e.g. `jq=.data | {title, description, md: .markdown[:3500]}`. Runs sandboxed with a 250ms / 2MB budget; on failure the full result is returned with a `jqError`. Does not change cost. |
max_cost_usd | URL query parametersquery | string | No | Optional. The most you are willing to pay for this one request, in US dollars (for example 0.05). Any route that would charge more than this is not used, so a request only ever runs on something you can afford. If nothing is available at or below your amount, the request is refused before it runs, nothing is charged, and the message tells you the cheapest price per request so you can raise it. Leave it out to accept the normal price. |
Idempotency-Key | Request headersheaders | string | No | Optional wallet idempotency key, scoped to this customer for 24 hours. When the gateway honors the key, this synchronous in-process execution can continue after the caller disconnects, bounded by its execution deadline. A completed replayable result charges normally exactly once and can be replayed without another provider run or charge. A pending duplicate returns 409 idempotency_in_progress; reuse with different request semantics returns 409 idempotency_conflict. minLength: 1 · maxLength: 255 |
allowFallbacks | JSON request bodybody | boolean | No | Optional, default true. When false, only the sources listed in `source` may serve; the request is refused with no charge if none of them can. When true, the listed sources are tried first and any other source may serve after them, at the normal price. |
cursor | JSON request bodybody | string | No | Pagination cursor from a previous response's nextCursor. |
ignoreSources | JSON request bodybody | array | No | Optional. Source ids to skip for this request, taken from this endpoint's `lanes[].source.id`. The cheapest remaining source serves and the price is that of the dearest remaining source. An id that does not serve this endpoint, or that is also in `source`, is rejected as invalid input with no charge; skipping every source is rejected the same way.Nested fields and variants
|
preferLatencyUnderMs | JSON request bodybody | integer | No | Optional; omit it and routing is unchanged, with the cheapest source serving. Prefer sources whose typical response time (median over the trailing 30 days, as published on this endpoint's lane health) is under this many milliseconds; among those, the cheapest serves. This can raise your price: when the cheapest source misses the target, a faster and dearer one serves, and you are quoted and charged its price. If no source is that fast the request is still served, by whichever source offers the best speed for its price - it is never refused for being slow. Sources we have not timed are tried last. This is a preference, not a guarantee: the median describes past requests and is not a ceiling on this one, and it excludes any wait this request itself asks for. On a paginated walk it applies to the first page only: later pages stay with the source that page chose, at the price it was quoted. minimum: 1 |
query | JSON request bodybody | string | Yes | The keyword to search TikTok accounts for. |
requireFields | JSON request bodybody | array | No | Optional; omit it and routing is unchanged, with the cheapest source serving. Name the output fields this request must be able to return, for example `secUid` or `bio`, and it is served only by a source that returns every one of them. Fields you do not name are still returned whenever the serving source has them. This can raise your price: when the cheapest source cannot return a named field, a dearer source serves, and you are quoted and charged its price. A named field can still be absent on a record that genuinely lacks it. Naming a combination that no single source returns together is refused as invalid input, with no charge.Nested fields and variants
|
source | JSON request bodybody | array | No | Optional. Source ids to prefer, in order, taken from this endpoint's `lanes[].source.id` in /catalog or /apis. Omit it and the cheapest source serves, with automatic failover. Listed sources are tried first in the order given, then the others, unless `allowFallbacks` is false. A single source with `allowFallbacks` false is served only by that source at its price, quoted and charged exactly, with no failover. The price is that of the dearest source that may serve. An id that does not serve this endpoint is rejected as invalid input with no charge; a listed source that is not serving right now is refused with no charge, so omit `source` to be served by another. On a paginated walk, later pages must include the source that served page one, or omit `source`.Nested fields and variants
|
Required markers inside a nested object or variant apply when that object or variant is used.
Sample response
Sample response · Configured HTTP 200; actual status is unverified. Example from the provider's documentation. Field values in your results will differ.
{
"output": {
"data": {
"nextCursor": "30",
"users": [
{
"followers": 64200000,
"following": 12,
"handle": "cristiano",
"nickname": "Cristiano Ronaldo",
"userId": "6757029651601835013"
}
]
},
"found": true
}
}Composite rule pricing
Calculated from input parameters and actual returned quantities. Estimate the maximum cost before calling.
Only requests matching a listed pricing variant are accepted. One matching variant replaces the base fee. Matching add-ons and quantity charges are added.
| Fee item | Price | Metering source | When | Quantity limit |
|---|---|---|---|---|
| Variant · 指定来源且关闭回退时的原厂基础费 | $0.000600 | Request conditions | selected_source eq ["anonymous-bison-cb2f8f3c"] AND allow_fallbacks eq false | — |
Each quantity charge is rounded before summing: ceil. Requests exceeding this cost limit are rejected; it is not a price cap: $0.000600.
Pricing parameters and defaults
[
{
"default": [
"anonymous-bison-cb2f8f3c"
],
"id": "selected_source",
"location": "body",
"pointer": "/source",
"required": false,
"type": "array"
},
{
"default": false,
"id": "allow_fallbacks",
"location": "body",
"pointer": "/allowFallbacks",
"required": false,
"type": "boolean"
}
]Agent integration
Copy the resource contract without sharing an API key.
View API Markdown
# TikTok Search
Search TikTok via API. Input fields and response shapes depend on the selected implementation. Use it to surface relevant records in a search or discovery tool. Choose an implementation and check its published request fields, examples, and usage pricing before integrating.
## Available implementations
anyapi · TikTok User Search: https://openany.si/markets/apis/capabilities/tiktok-search?offering=09849d6e-0f9b-49bb-83b9-79d9ceac1257 · $0.0006 / call
anyapi · TikTok Photo Search: https://openany.si/markets/apis/capabilities/tiktok-search?offering=314ecb82-fbb7-45b6-99a4-e8735feb6c64 · $0.0012 / call
anyapi · TikTok Top Search: https://openany.si/markets/apis/capabilities/tiktok-search?offering=44b5beaa-c485-4adc-af6e-7a37f240ac86 · $0.0006 / call
anyapi · TikTok Comment Replies: https://openany.si/markets/apis/capabilities/tiktok-search?offering=4b064cfa-5a1e-4480-b779-e72af6f7ad94 · $0.0006 / call
anyapi · TikTok Hashtag Search: https://openany.si/markets/apis/capabilities/tiktok-search?offering=4d62c670-b10c-443b-bfa9-bdd5dc4b0a00 · $0.0012 / call
anyapi · TikTok Photos: https://openany.si/markets/apis/capabilities/tiktok-search?offering=4e07c047-82a5-417b-b7d2-96ff4ebbba37 · $0.0012 / call
anyapi · TikTok Search Suggestions: https://openany.si/markets/apis/capabilities/tiktok-search?offering=b64a4726-118c-47ed-952c-d941c91079b6 · $0.0008 / call
anyapi · TikTok Audience Demographics: https://openany.si/markets/apis/capabilities/tiktok-search?offering=d4bd30f5-3be0-4584-9d93-eea8271b5049 · $0.018 / call
justoneapi · TikTok Post Details API (V1): https://openany.si/markets/apis/capabilities/tiktok-search?offering=3476a5f9-ddbb-43c3-bab4-c1c462876a07 · $0.015385 / call
justoneapi · TikTok Post Comments API (V1): https://openany.si/markets/apis/capabilities/tiktok-search?offering=9be9c6eb-8d86-4f19-adf1-069c793c2d96 · $0.015385 / call
justoneapi · TikTok Post Search API (V1): https://openany.si/markets/apis/capabilities/tiktok-search?offering=ca0eed43-b955-4d83-863f-b2290304b70f · $0.015385 / call
justoneapi · TikTok User Published Posts API (V1): https://openany.si/markets/apis/capabilities/tiktok-search?offering=ca531be8-a17d-4927-a152-c48cf9a0cb75 · $0.015385 / call
justoneapi · TikTok Comment Replies API (V1): https://openany.si/markets/apis/capabilities/tiktok-search?offering=f5b4f421-e181-4f7b-88ab-2ff3220cc553 · $0.015385 / call
litescrape · TikTok Search Top: https://openany.si/markets/apis/capabilities/tiktok-search?offering=2ae10073-30d0-4e3e-aecf-f31e532a9f95 · $0.00015 / call
litescrape · TikTok Collection Videos: https://openany.si/markets/apis/capabilities/tiktok-search?offering=73dc27ec-96b9-40cc-b0f3-e5e36bda3758 · $0.00015 / call
litescrape · TikTok Search Hashtag: https://openany.si/markets/apis/capabilities/tiktok-search?offering=973b7cab-6133-42f4-803d-0e20f37ac470 · $0.00015 / call
litescrape · TikTok Search Suggestions: https://openany.si/markets/apis/capabilities/tiktok-search?offering=a7b50b06-ebe2-423c-a80e-9249e864d4d5 · $0.00015 / call
litescrape · TikTok Search Keyword: https://openany.si/markets/apis/capabilities/tiktok-search?offering=de91bec0-899e-413e-9ce6-bf2f6e3aa7c4 · $0.00015 / call
scrapecreators · TikTok — Search by Keyword: https://openany.si/markets/apis/capabilities/tiktok-search?offering=003a5e9d-1fbc-4491-90f9-fc392cf7ae19 · $0.00188 / call
scrapecreators · TikTok — Top Search: https://openany.si/markets/apis/capabilities/tiktok-search?offering=19450f52-a85b-45a1-8568-adf96d5866f5 · $0.00188 / call
scrapecreators · TikTok — Search Suggestions: https://openany.si/markets/apis/capabilities/tiktok-search?offering=811985d6-8cac-4e97-83a8-6b4683ff917d · $0.00188 / call
scrapecreators · TikTok — Search Users: https://openany.si/markets/apis/capabilities/tiktok-search?offering=a1e97c7d-53e5-40a9-aea1-bac784bd85d3 · $0.00188 / call
scrapecreators · TikTok — Search by Hashtag: https://openany.si/markets/apis/capabilities/tiktok-search?offering=e81c408f-5bc3-4588-bdc7-726f0dfd2ad7 · $0.00188 / call
tikhub · Get user unique_id: https://openany.si/markets/apis/capabilities/tiktok-search?offering=01ac4d80-4b1c-42ce-a91a-57d89eef8685 · $0.001 / call
tikhub · Get list unique_id: https://openany.si/markets/apis/capabilities/tiktok-search?offering=07463393-8e3e-4ff9-a534-be9d77a06af4 · $0.001 / call
tikhub · Get share short link: https://openany.si/markets/apis/capabilities/tiktok-search?offering=0f9ec769-978c-480c-9b76-0ddb241d31d6 · $0.001 / call
tikhub · Get general search list: https://openany.si/markets/apis/capabilities/tiktok-search?offering=170e3eee-fd83-4aff-bbdd-2055455112ac · $0.001 / call
tikhub · Creator Search Insights Trend: https://openany.si/markets/apis/capabilities/tiktok-search?offering=2544c7e4-0749-4414-a327-9dee5867414c · $0.001 / call
tikhub · Get single video comments data: https://openany.si/markets/apis/capabilities/tiktok-search?offering=28c32e02-0cb3-4d43-b954-c45a192777e3 · $0.001 / call
tikhub · Get user repost video data: https://openany.si/markets/apis/capabilities/tiktok-search?offering=2d13749a-2eaf-4ad4-8c27-4ee44545aa52 · $0.001 / call
tikhub · Creator Search Insights Detail: https://openany.si/markets/apis/capabilities/tiktok-search?offering=2f4c1049-e2e2-4afa-96d6-8d25938133fa · $0.001 / call
tikhub · Get user homepage video data V1: https://openany.si/markets/apis/capabilities/tiktok-search?offering=344ae0be-79b5-4540-95e8-883dd2723533 · $0.001 / call
tikhub · Get location search results: https://openany.si/markets/apis/capabilities/tiktok-search?offering=36bca67f-ecb6-45f2-867c-08ad1307e3ec · $0.001 / call
tikhub · Extract list user sec_user_id: https://openany.si/markets/apis/capabilities/tiktok-search?offering=3c6c571e-e3ac-49fc-8a87-4c5e23fb92b4 · $0.001 / call
tikhub · Get live search results of specified keywords: https://openany.si/markets/apis/capabilities/tiktok-search?offering=3ded2a50-c076-404e-8732-7ca968aa4acb · $0.001 / call
tikhub · Search user: https://openany.si/markets/apis/capabilities/tiktok-search?offering=3f95da7d-d53f-4918-b5c9-4f0ce08476c7 · $0.001 / call
tikhub · Get user search results of specified keywords: https://openany.si/markets/apis/capabilities/tiktok-search?offering=4075ae84-c0b7-46d4-8b43-d732346df5df · $0.001 / call
tikhub · Get comprehensive search results of specified keywords: https://openany.si/markets/apis/capabilities/tiktok-search?offering=40e7fce9-e4ac-4507-8209-4dd4f1a6d817 · $0.001 / call
tikhub · Search products list V1: https://openany.si/markets/apis/capabilities/tiktok-search?offering=43573270-96c7-4520-9092-55fb91cc9a76 · $0.001 / call
tikhub · Get search modules config: https://openany.si/markets/apis/capabilities/tiktok-search?offering=4862e3ed-e4f1-4865-a0b5-bbc0c82f7026 · $0.001 / call
tikhub · Get user likes: https://openany.si/markets/apis/capabilities/tiktok-search?offering=4970c8a9-33e0-4c70-a37f-1a8122c0a5b4 · $0.001 / call
tikhub · Get user reposts: https://openany.si/markets/apis/capabilities/tiktok-search?offering=50b28a14-3275-4ec9-b0b6-8dd2e257da98 · $0.001 / call
tikhub · Get user like video data: https://openany.si/markets/apis/capabilities/tiktok-search?offering=5483ae18-11a3-4ef6-ad76-16866c0864d6 · $0.001 / call
tikhub · Get video comment replies: https://openany.si/markets/apis/capabilities/tiktok-search?offering=55c0d595-7a0b-4b4d-acf1-60b9908a2cc4 · $0.001 / call
tikhub · Search following list: https://openany.si/markets/apis/capabilities/tiktok-search?offering=6000cdad-869c-43c0-82e0-1a18d44a47b9 · $0.001 / call
tikhub · Get the guest Cookie: https://openany.si/markets/apis/capabilities/tiktok-search?offering=61f46987-0bf9-4adf-8778-683dffcdd0a1 · $0.002 / call
tikhub · Get user homepage video data V3 (simplified data - faster): https://openany.si/markets/apis/capabilities/tiktok-search?offering=676f8bc6-ea2b-43f9-86ac-281b46b1560f · $0.001 / call
tikhub · Generate TikTok share link, call TikTok APP, and jump to the specified keyword search result: https://openany.si/markets/apis/capabilities/tiktok-search?offering=719f68dd-deb6-45c3-9421-1fa283ef5ca3 · $0.001 / call
tikhub · Generate TikTok share link, call TikTok APP, and send private messages to specified users: https://openany.si/markets/apis/capabilities/tiktok-search?offering=74719cd0-db28-41a6-b89e-88af5f61ba21 · $0.001 / call
tikhub · Generate TikTok share link, call TikTok APP, and jump to the specified video details page: https://openany.si/markets/apis/capabilities/tiktok-search?offering=90154693-7441-4902-abbc-e970765104f5 · $0.001 / call
tikhub · Get user mix list: https://openany.si/markets/apis/capabilities/tiktok-search?offering=97da9b33-0174-4d3f-a5df-ede4ee814aff · $0.001 / call
tikhub · Extract user sec_user_id: https://openany.si/markets/apis/capabilities/tiktok-search?offering=a1c73301-ceab-486f-8ef0-5e3be868dad5 · $0.001 / call
tikhub · Search keyword suggest: https://openany.si/markets/apis/capabilities/tiktok-search?offering=b3cb4aba-9401-4d20-b653-113b1e362c31 · $0.001 / call
tikhub · Get user homepage video data V2: https://openany.si/markets/apis/capabilities/tiktok-search?offering=baf4bc97-1659-42bb-ac1d-aea27edcd920 · $0.001 / call
tikhub · Creator Search Insights: https://openany.si/markets/apis/capabilities/tiktok-search?offering=c019089f-ab98-4fd6-ba7b-de0794a0e963 · $0.001 / call
tikhub · Get video search results of specified keywords: https://openany.si/markets/apis/capabilities/tiktok-search?offering=c6cddb23-1c91-4643-99ae-22eaf0fcfa0a · $0.001 / call
tikhub · Get hashtag search results of specified keywords: https://openany.si/markets/apis/capabilities/tiktok-search?offering=ca491ab7-2cf2-4315-a97b-35b297551cf1 · $0.001 / call
tikhub · Search follower list: https://openany.si/markets/apis/capabilities/tiktok-search?offering=cc12b504-8ed3-46ab-b073-5c1f5dd33868 · $0.001 / call
tikhub · Get comment replies data of specified video: https://openany.si/markets/apis/capabilities/tiktok-search?offering=df603b35-a5a0-496e-bb61-74cdd56d6301 · $0.001 / call
tikhub · Search products list V2 (Mobile, US only): https://openany.si/markets/apis/capabilities/tiktok-search?offering=e70ec597-41be-492f-acfe-f5522d360df8 · $0.001 / call
tikhub · Extract user user_id: https://openany.si/markets/apis/capabilities/tiktok-search?offering=e9e7e45e-ac04-4753-846a-a72cc273e966 · $0.001 / call
tikhub · Search photo: https://openany.si/markets/apis/capabilities/tiktok-search?offering=f4528a63-d49c-46f4-abce-7fb8ed1652db · $0.001 / call
tikhub · Creator Search Insights Videos: https://openany.si/markets/apis/capabilities/tiktok-search?offering=fa1d0605-5a75-4051-82ea-0555a0c67911 · $0.001 / call
## Selected API contract
Documentation: https://openany.si/markets/apis/capabilities/tiktok-search
Method: POST
Endpoint: https://api.openany.si/v1/agent-apis/anyapi/v1/run/tiktok.search_users
Price: $0.0006 / call
Provider: anyapi
Contract revision: 5
Price source: OpenAny public API contract and documented provider unit rates. Price update time: not supplied.
Use OPENANY_API_KEY from the environment. API Key calls use your shared balance.
## Prepared request
```bash
curl \
'https://api.openany.si/v1/agent-apis/anyapi/v1/run/tiktok.search_users' \
-X POST \
-H "Authorization: Bearer $OPENANY_API_KEY" \
-H 'Content-Type: application/json' \
--data-raw '{
"query": "chef"
}'
```
## API contract
```json
{
"resource_type": "api",
"name": "TikTok User Search",
"endpoint": "https://api.openany.si/v1/agent-apis/anyapi/v1/run/tiktok.search_users",
"method": "POST",
"content_type": "application/json",
"execution_mode": "sync",
"authentication": {
"type": "bearer",
"environment_variable": "OPENANY_API_KEY"
},
"inputs": [
{
"description": "Optional. Comma-separated keys (dotted paths like `author.name` descend into nested objects) to keep on each result item: each row of the API's result list, or the `data` object itself for an API that returns one record. Keys are matched relative to that item, not against the top-level response envelope, so use `jq` to reshape the whole envelope. Shrinks the response without changing cost.",
"location": "query",
"name": "fields",
"nullable": false,
"required": false,
"type": "string"
},
{
"description": "Optional. Cap the number of result rows returned; a `_truncated` note reports how many were withheld so you can page via the API's own `limit`. An API that returns one record is not trimmed. Does not change cost.",
"location": "query",
"minimum": "0",
"name": "max_items",
"nullable": false,
"required": false,
"type": "integer"
},
{
"description": "Optional. Return only a structural outline (top-level keys, item counts, and per-field byte sizes) instead of the full data. Does not change cost.",
"location": "query",
"name": "summary",
"nullable": false,
"required": false,
"type": "boolean"
},
{
"description": "Optional. A jq expression applied to the result envelope; its output replaces `output` (multiple outputs collect into an array). Reshape freely, e.g. `jq=.data | {title, description, md: .markdown[:3500]}`. Runs sandboxed with a 250ms / 2MB budget; on failure the full result is returned with a `jqError`. Does not change cost.",
"location": "query",
"name": "jq",
"nullable": false,
"required": false,
"type": "string"
},
{
"description": "Optional. The most you are willing to pay for this one request, in US dollars (for example 0.05). Any route that would charge more than this is not used, so a request only ever runs on something you can afford. If nothing is available at or below your amount, the request is refused before it runs, nothing is charged, and the message tells you the cheapest price per request so you can raise it. Leave it out to accept the normal price.",
"location": "query",
"name": "max_cost_usd",
"nullable": false,
"required": false,
"type": "string"
},
{
"description": "Optional wallet idempotency key, scoped to this customer for 24 hours. When the gateway honors the key, this synchronous in-process execution can continue after the caller disconnects, bounded by its execution deadline. A completed replayable result charges normally exactly once and can be replayed without another provider run or charge. A pending duplicate returns 409 idempotency_in_progress; reuse with different request semantics returns 409 idempotency_conflict.",
"location": "header",
"max_length": 255,
"min_length": 1,
"name": "Idempotency-Key",
"nullable": false,
"required": false,
"type": "string"
},
{
"description": "Optional, default true. When false, only the sources listed in `source` may serve; the request is refused with no charge if none of them can. When true, the listed sources are tried first and any other source may serve after them, at the normal price.",
"location": "body",
"name": "allowFallbacks",
"nullable": false,
"pointer": "/allowFallbacks",
"required": false,
"type": "boolean"
},
{
"description": "Pagination cursor from a previous response's nextCursor.",
"location": "body",
"name": "cursor",
"nullable": false,
"pointer": "/cursor",
"required": false,
"type": "string"
},
{
"description": "Optional. Source ids to skip for this request, taken from this endpoint's `lanes[].source.id`. The cheapest remaining source serves and the price is that of the dearest remaining source. An id that does not serve this endpoint, or that is also in `source`, is rejected as invalid input with no charge; skipping every source is rejected the same way.",
"item_type": "string",
"location": "body",
"name": "ignoreSources",
"nullable": false,
"pointer": "/ignoreSources",
"required": false,
"type": "array"
},
{
"description": "Optional; omit it and routing is unchanged, with the cheapest source serving. Prefer sources whose typical response time (median over the trailing 30 days, as published on this endpoint's lane health) is under this many milliseconds; among those, the cheapest serves. This can raise your price: when the cheapest source misses the target, a faster and dearer one serves, and you are quoted and charged its price. If no source is that fast the request is still served, by whichever source offers the best speed for its price - it is never refused for being slow. Sources we have not timed are tried last. This is a preference, not a guarantee: the median describes past requests and is not a ceiling on this one, and it excludes any wait this request itself asks for. On a paginated walk it applies to the first page only: later pages stay with the source that page chose, at the price it was quoted.",
"location": "body",
"minimum": "1",
"name": "preferLatencyUnderMs",
"nullable": false,
"pointer": "/preferLatencyUnderMs",
"required": false,
"type": "integer"
},
{
"description": "The keyword to search TikTok accounts for.",
"location": "body",
"name": "query",
"nullable": false,
"pointer": "/query",
"required": true,
"type": "string"
},
{
"description": "Optional; omit it and routing is unchanged, with the cheapest source serving. Name the output fields this request must be able to return, for example `secUid` or `bio`, and it is served only by a source that returns every one of them. Fields you do not name are still returned whenever the serving source has them. This can raise your price: when the cheapest source cannot return a named field, a dearer source serves, and you are quoted and charged its price. A named field can still be absent on a record that genuinely lacks it. Naming a combination that no single source returns together is refused as invalid input, with no charge.",
"item_type": "string",
"location": "body",
"name": "requireFields",
"nullable": false,
"pointer": "/requireFields",
"required": false,
"type": "array"
},
{
"description": "Optional. Source ids to prefer, in order, taken from this endpoint's `lanes[].source.id` in /catalog or /apis. Omit it and the cheapest source serves, with automatic failover. Listed sources are tried first in the order given, then the others, unless `allowFallbacks` is false. A single source with `allowFallbacks` false is served only by that source at its price, quoted and charged exactly, with no failover. The price is that of the dearest source that may serve. An id that does not serve this endpoint is rejected as invalid input with no charge; a listed source that is not serving right now is refused with no charge, so omit `source` to be served by another. On a paginated walk, later pages must include the source that served page one, or omit `source`.",
"item_type": "string",
"location": "body",
"name": "source",
"nullable": false,
"pointer": "/source",
"required": false,
"type": "array"
}
],
"billing": {
"currency": "USD",
"mode": "rules",
"parameters": [
{
"default": [
"anonymous-bison-cb2f8f3c"
],
"id": "selected_source",
"location": "body",
"pointer": "/source",
"required": false,
"type": "array"
},
{
"default": false,
"id": "allow_fallbacks",
"location": "body",
"pointer": "/allowFallbacks",
"required": false,
"type": "boolean"
}
],
"policy_version": 2,
"sale": {
"addons": [],
"base_price_micro_usd": "601",
"max_cost_micro_usd": "600",
"quantities": [],
"rounding": "ceil",
"variants": [
{
"id": "selected_source_only",
"label": "指定来源且关闭回退时的原厂基础费",
"price_micro_usd": "600",
"when": [
{
"op": "eq",
"parameter": "selected_source",
"value": [
"anonymous-bison-cb2f8f3c"
]
},
{
"op": "eq",
"parameter": "allow_fallbacks",
"value": false
}
]
}
]
}
},
"examples": [
{
"http_status": 200,
"name": "Official example (output fragment; HTTP assumed)",
"request": {
"body": {
"query": "chef"
},
"headers": {},
"path": {},
"query": {}
},
"response_body": {
"output": {
"data": {
"nextCursor": "30",
"users": [
{
"followers": 64200000,
"following": 12,
"handle": "cristiano",
"nickname": "Cristiano Ronaldo",
"userId": "6757029651601835013"
}
]
},
"found": true
}
}
}
]
}
```Error handling
| Status | Next step |
|---|---|
400 | Check the offering and request fields. |
401 / 403 | Verify your credentials and access permissions. |
402 | Inspect the selected access mode and returned payment requirements. |
429 | Respect the returned rate limit and retry guidance. |
5xx | Inspect the error and usage record before retrying a paid operation. |
Official example (output fragment; HTTP assumed)
Example from the provider's documentation. Field values in your results will differ.
Prepare your environment
Use a terminal with cURL installed.
Use an OpenAny API key with shared-balance access. Confirm availability and price before running; a call may charge your balance.
Set the key in your terminal using the hidden prompt below. Keep its value out of source files and logs.
Terminal · macOS / Linuxprintf 'OpenAny API key: ' read -r -s OPENANY_API_KEY export OPENANY_API_KEY printf '\n'Run the request
Paste the complete command below into your terminal.
Values to replace before running 13
Review these request fields before running. Keep the published provider and request method unchanged.
fields- Optional. Comma-separated keys (dotted paths like `author.name` descend into nested objects) to keep on each result item: each row of the API's result list, or the `data` object itself for an API that returns one record. Keys are matched relative to that item, not against the top-level response envelope, so use `jq` to reshape the whole envelope. Shrinks the response without changing cost.
max_items- Optional. Cap the number of result rows returned; a `_truncated` note reports how many were withheld so you can page via the API's own `limit`. An API that returns one record is not trimmed. Does not change cost.
summary- Optional. Return only a structural outline (top-level keys, item counts, and per-field byte sizes) instead of the full data. Does not change cost.
jq- Optional. A jq expression applied to the result envelope; its output replaces `output` (multiple outputs collect into an array). Reshape freely, e.g. `jq=.data | {title, description, md: .markdown[:3500]}`. Runs sandboxed with a 250ms / 2MB budget; on failure the full result is returned with a `jqError`. Does not change cost.
max_cost_usd- Optional. The most you are willing to pay for this one request, in US dollars (for example 0.05). Any route that would charge more than this is not used, so a request only ever runs on something you can afford. If nothing is available at or below your amount, the request is refused before it runs, nothing is charged, and the message tells you the cheapest price per request so you can raise it. Leave it out to accept the normal price.
Idempotency-Key- Optional wallet idempotency key, scoped to this customer for 24 hours. When the gateway honors the key, this synchronous in-process execution can continue after the caller disconnects, bounded by its execution deadline. A completed replayable result charges normally exactly once and can be replayed without another provider run or charge. A pending duplicate returns 409 idempotency_in_progress; reuse with different request semantics returns 409 idempotency_conflict.
allowFallbacks- Optional, default true. When false, only the sources listed in `source` may serve; the request is refused with no charge if none of them can. When true, the listed sources are tried first and any other source may serve after them, at the normal price.
cursor- Pagination cursor from a previous response's nextCursor.
ignoreSources- Optional. Source ids to skip for this request, taken from this endpoint's `lanes[].source.id`. The cheapest remaining source serves and the price is that of the dearest remaining source. An id that does not serve this endpoint, or that is also in `source`, is rejected as invalid input with no charge; skipping every source is rejected the same way.
preferLatencyUnderMs- Optional; omit it and routing is unchanged, with the cheapest source serving. Prefer sources whose typical response time (median over the trailing 30 days, as published on this endpoint's lane health) is under this many milliseconds; among those, the cheapest serves. This can raise your price: when the cheapest source misses the target, a faster and dearer one serves, and you are quoted and charged its price. If no source is that fast the request is still served, by whichever source offers the best speed for its price - it is never refused for being slow. Sources we have not timed are tried last. This is a preference, not a guarantee: the median describes past requests and is not a ceiling on this one, and it excludes any wait this request itself asks for. On a paginated walk it applies to the first page only: later pages stay with the source that page chose, at the price it was quoted.
query- The keyword to search TikTok accounts for.
requireFields- Optional; omit it and routing is unchanged, with the cheapest source serving. Name the output fields this request must be able to return, for example `secUid` or `bio`, and it is served only by a source that returns every one of them. Fields you do not name are still returned whenever the serving source has them. This can raise your price: when the cheapest source cannot return a named field, a dearer source serves, and you are quoted and charged its price. A named field can still be absent on a record that genuinely lacks it. Naming a combination that no single source returns together is refused as invalid input, with no charge.
source- Optional. Source ids to prefer, in order, taken from this endpoint's `lanes[].source.id` in /catalog or /apis. Omit it and the cheapest source serves, with automatic failover. Listed sources are tried first in the order given, then the others, unless `allowFallbacks` is false. A single source with `allowFallbacks` false is served only by that source at its price, quoted and charged exactly, with no failover. The price is that of the dearest source that may serve. An id that does not serve this endpoint is rejected as invalid input with no charge; a listed source that is not serving right now is refused with no charge, so omit `source` to be served by another. On a paginated walk, later pages must include the source that served page one, or omit `source`.
Terminal · cURLcurl \ 'https://api.openany.si/v1/agent-apis/anyapi/v1/run/tiktok.search_users' \ -X POST \ -H "Authorization: Bearer $OPENANY_API_KEY" \ -H 'Content-Type: application/json' \ --data-raw '{ "query": "chef" }'Check the response
Sample response · Configured HTTP 200; actual status is unverified.
Sample response{ "output": { "data": { "nextCursor": "30", "users": [ { "followers": 64200000, "following": 12, "handle": "cristiano", "nickname": "Cristiano Ronaldo", "userId": "6757029651601835013" } ] }, "found": true } }
Common questions
Do I need a separate key for every provider?
Use your OpenAny API key for standard API access. Read it from OPENANY_API_KEY in your environment and keep it out of prompts, source code and logs.
Are these providers interchangeable?
No. Each offering has its own inputs, pricing and response contract. Selecting a catalog offering does not establish automatic routing or fallback. Confirm the service contract before calling.
How is this API billed?
API-key calls use your shared balance at the selected implementation's published rate. Check the billing unit and request-specific pricing rules before making a paid call. Recorded usage determines the final charge under that contract.
Where do the price and contract come from?
The selected implementation publishes its provider, request contract, revision and billing rules through OpenAny's public API catalog. A revision number identifies a contract version, not a price update date. A price update timestamp is not supplied; do not treat a page date as one.
How do OpenAny Balance and x402 differ?
OpenAny Balance uses an API key and one shared balance. Card, USDC and x402 top-ups, card auto top-up and USDC subscriptions fund that balance; available routes appear on the Credits page. Direct x402 is a separate pay-per-request flow, available only on listings that show it and requiring an authorized payment client.
Does Playground send a paid request?
Yes. After you sign in, Run sends a real API request using an active OpenAny API key. Charges follow the published API contract and use your shared balance. Selecting an implementation, editing inputs and viewing sample responses do not send requests.
Use TikTok Search with your agent
Inspect endpoint contracts and confirm availability and pricing before a paid call.