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.00188 / callPublished pricing
- Sellers / APIs
- 5 / 63
- Requests · 30d
- —Loading...
- Success rate · 30d
- —Loading...
TikTok Search
Prepare your request, then continue with your agent.
Selected price
$0.00188 / call
- Provider
- API
- Pricing
On this page
Playground
Run sends a real API request. Charges follow the published API contract.
Response structure
credits_chargedintegercredits_remainingintegercursorintegersuccessbooleanusersobject[]avatar_mediumobjectheightintegeruristringurl_liststring[]url_prefixnullwidthinteger
follower_countintegerfollowing_countintegernicknamestringsec_uidstringuidstringunique_idstring
// Inferred from response examples. Fields are optional and other fields may be returned.
export type ApiResponse = {
credits_charged?: number;
credits_remaining?: number;
cursor?: number;
success?: boolean;
users?: Array<{
avatar_medium?: {
height?: number;
uri?: string;
url_list?: Array<string>;
url_prefix?: null;
width?: number;
};
follower_count?: number;
following_count?: number;
nickname?: string;
sec_uid?: string;
uid?: string;
unique_id?: string;
}>;
};Sellers
| Seller | Pricing | Requests · 30d | Performance | Access |
|---|---|---|---|---|
| TikTok User Search · POST · View API reference | $0.0006 / call | —Select to load statistics | —successP50— | |
| TikTok Photo Search · POST · View API reference | $0.0012 / call | —Select to load statistics | —successP50— | |
| TikTok Top Search · POST · View API reference | $0.0006 / call | —Select to load statistics | —successP50— | |
| TikTok Comment Replies · POST · View API reference | $0.0006 / call | —Select to load statistics | —successP50— | |
| TikTok Hashtag Search · POST · View API reference | $0.0012 / call | —Select to load statistics | —successP50— | |
| TikTok Photos · POST · View API reference | $0.0012 / call | —Select to load statistics | —successP50— | |
| TikTok Search Suggestions · POST · View API reference | $0.0008 / call | —Select to load statistics | —successP50— | |
| TikTok Audience Demographics · POST · View API reference | $0.018 / call | —Select to load statistics | —successP50— | |
| TikTok Post Details API (V1) · GET · View API reference | $0.015385 / call | —Select to load statistics | —successP50— | |
| TikTok Post Comments API (V1) · GET · View API reference | $0.015385 / call | —Select to load statistics | —successP50— | |
| TikTok Post Search API (V1) · GET · View API reference | $0.015385 / call | —Select to load statistics | —successP50— | |
| TikTok User Published Posts API (V1) · GET · View API reference | $0.015385 / call | —Select to load statistics | —successP50— | |
| TikTok Comment Replies API (V1) · GET · View API reference | $0.015385 / call | —Select to load statistics | —successP50— | |
| TikTok Search Top · POST · View API reference | $0.00015 / call | —Select to load statistics | —successP50— | |
| TikTok Collection Videos · POST · View API reference | $0.00015 / call | —Select to load statistics | —successP50— | |
| TikTok Search Hashtag · POST · View API reference | $0.00015 / call | —Select to load statistics | —successP50— | |
| TikTok Search Suggestions · POST · View API reference | $0.00015 / call | —Select to load statistics | —successP50— | |
| TikTok Search Keyword · POST · View API reference | $0.00015 / call | —Select to load statistics | —successP50— | |
| TikTok — Search by Keyword · GET · View API reference | $0.00188 / call | —Select to load statistics | —successP50— | |
| TikTok — Top Search · GET · View API reference | $0.00188 / call | —Select to load statistics | —successP50— | |
| TikTok — Search Suggestions · GET · View API reference | $0.00188 / call | —Select to load statistics | —successP50— | |
Current TikTok — Search Users · GET · View API reference | $0.00188 / call | — | —successP50— | |
| TikTok — Search by Hashtag · GET · View API reference | $0.00188 / call | —Select to load statistics | —successP50— | |
| Get user unique_id · GET · View API reference | $0.001 / call | —Select to load statistics | —successP50— | |
| Get list unique_id · POST · View API reference | $0.001 / call | —Select to load statistics | —successP50— | |
| Get share short link · GET · View API reference | $0.001 / call | —Select to load statistics | —successP50— | |
| Get general search list · GET · View API reference | $0.001 / call | —Select to load statistics | —successP50— | |
| Creator Search Insights Trend · GET · View API reference | $0.001 / call | —Select to load statistics | —successP50— | |
| Get single video comments data · GET · View API reference | $0.001 / call | —Select to load statistics | —successP50— | |
| Get user repost video data · GET · View API reference | $0.001 / call | —Select to load statistics | —successP50— | |
| Creator Search Insights Detail · GET · View API reference | $0.001 / call | —Select to load statistics | —successP50— | |
| Get user homepage video data V1 · GET · View API reference | $0.001 / call | —Select to load statistics | —successP50— | |
| Get location search results · GET · View API reference | $0.001 / call | —Select to load statistics | —successP50— | |
| Extract list user sec_user_id · POST · View API reference | $0.001 / call | —Select to load statistics | —successP50— | |
| Get live search results of specified keywords · GET · View API reference | $0.001 / call | —Select to load statistics | —successP50— | |
| Search user · GET · View API reference | $0.001 / call | —Select to load statistics | —successP50— | |
| Get user search results of specified keywords · GET · View API reference | $0.001 / call | —Select to load statistics | —successP50— | |
| Get comprehensive search results of specified keywords · GET · View API reference | $0.001 / call | —Select to load statistics | —successP50— | |
| Search products list V1 · GET · View API reference | $0.001 / call | —Select to load statistics | —successP50— | |
| Get search modules config · POST · View API reference | $0.001 / call | —Select to load statistics | —successP50— | |
| Get user likes · GET · View API reference | $0.001 / call | —Select to load statistics | —successP50— | |
| Get user reposts · GET · View API reference | $0.001 / call | —Select to load statistics | —successP50— | |
| Get user like video data · GET · View API reference | $0.001 / call | —Select to load statistics | —successP50— | |
| Get video comment replies · GET · View API reference | $0.001 / call | —Select to load statistics | —successP50— | |
| Search following list · GET · View API reference | $0.001 / call | —Select to load statistics | —successP50— | |
| Get the guest Cookie · GET · View API reference | $0.002 / call | —Select to load statistics | —successP50— | |
| Get user homepage video data V3 (simplified data - faster) · GET · View API reference | $0.001 / call | —Select to load statistics | —successP50— | |
| Generate TikTok share link, call TikTok APP, and jump to the specified keyword search result · GET · View API reference | $0.001 / call | —Select to load statistics | —successP50— | |
| Generate TikTok share link, call TikTok APP, and send private messages to specified users · GET · View API reference | $0.001 / call | —Select to load statistics | —successP50— | |
| Generate TikTok share link, call TikTok APP, and jump to the specified video details page · GET · View API reference | $0.001 / call | —Select to load statistics | —successP50— | |
| Get user mix list · GET · View API reference | $0.001 / call | —Select to load statistics | —successP50— | |
| Extract user sec_user_id · GET · View API reference | $0.001 / call | —Select to load statistics | —successP50— | |
| Search keyword suggest · GET · View API reference | $0.001 / call | —Select to load statistics | —successP50— | |
| Get user homepage video data V2 · GET · View API reference | $0.001 / call | —Select to load statistics | —successP50— | |
| Creator Search Insights · GET · View API reference | $0.001 / call | —Select to load statistics | —successP50— | |
| Get video search results of specified keywords · GET · View API reference | $0.001 / call | —Select to load statistics | —successP50— | |
| Get hashtag search results of specified keywords · GET · View API reference | $0.001 / call | —Select to load statistics | —successP50— | |
| Search follower list · GET · View API reference | $0.001 / call | —Select to load statistics | —successP50— | |
| Get comment replies data of specified video · GET · View API reference | $0.001 / call | —Select to load statistics | —successP50— | |
| Search products list V2 (Mobile, US only) · GET · View API reference | $0.001 / call | —Select to load statistics | —successP50— | |
| Extract user user_id · GET · View API reference | $0.001 / call | —Select to load statistics | —successP50— | |
| Search photo · GET · View API reference | $0.001 / call | —Select to load statistics | —successP50— | |
| Creator Search Insights Videos · GET · View API reference | $0.001 / call | —Select to load statistics | —successP50— |
- Unit price
- $0.00188
Statistics use persisted gateway logs from the last 30 days up to now, including today.
Success rate = successful requests / all requests;
P50 = median latency of successful requests.
Prices reflect the published API contract. Contract revision: 4. Price update time: not supplied.
Total $0.188
API
- Method
- GET
- Endpoint
https://api.openany.si/v1/agent-apis/scrapecreators/v1/tiktok/search/users- Content type
- application/json
- Authentication
Authorization: Bearer $OPENANY_API_KEY
curl \
'https://api.openany.si/v1/agent-apis/scrapecreators/v1/tiktok/search/users?query=dogs' \
-X GET \
-H "Authorization: Bearer $OPENANY_API_KEY" \
-H 'Content-Type: application/json'Input parameters
Fields in this listing; additional options and input encoding can vary by provider.
| Parameter | Location | Type | Required | Description |
|---|---|---|---|---|
query | URL query parametersquery | string | Yes | Search query for users |
cursor | URL query parametersquery | number | No | Cursor to get more users. Get 'cursor' from previous response. |
trim | URL query parametersquery | boolean | No | Set to true to get a trimmed response |
Required markers inside a nested object or variant apply when that object or variant is used.
Sample response
Sample response · Documented HTTP 200 Example from the provider's documentation. Field values in your results will differ.
{
"credits_charged": 1,
"credits_remaining": 1000000,
"cursor": 30,
"success": true,
"users": [
{
"avatar_medium": {
"height": 720,
"uri": "tos-maliva-avt-0068/60a12c00b42288dd3503cf3025165093",
"url_list": [
"https://p16-amd-va.tiktokcdn.com/tos-maliva-avt-0068/60a12c00b42288dd3503cf3025165093~tplv-tiktokx-cropcenter-q:720:720:q70.heic?dr=9607&idc=no1a&ps=87d6e48a&s=SEARCH&sc=avatar&shcp=c1333099&shp=30310797&t=223449c4"
],
"url_prefix": null,
"width": 720
},
"follower_count": 163953,
"following_count": 63,
"nickname": "ADRIAN",
"sec_uid": "MS4wLjABAAAAcT5kdL_w3D2p3a3DkULhrVE6Ir17Ua1M9GZK4cnvnKxbJg3qy0xDdbaFeY260Qzz",
"uid": "6757029651601835013",
"unique_id": "adrianzyno"
}
]
}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/apis/a1e97c7d-53e5-40a9-aea1-bac784bd85d3
Method: GET
Endpoint: https://api.openany.si/v1/agent-apis/scrapecreators/v1/tiktok/search/users
Price: $0.00188 / call
Provider: scrapecreators
Contract revision: 4
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/scrapecreators/v1/tiktok/search/users?query=dogs' \
-X GET \
-H "Authorization: Bearer $OPENANY_API_KEY" \
-H 'Content-Type: application/json'
```
## API contract
```json
{
"resource_type": "api",
"name": "TikTok — Search Users",
"endpoint": "https://api.openany.si/v1/agent-apis/scrapecreators/v1/tiktok/search/users",
"method": "GET",
"content_type": "none",
"execution_mode": "sync",
"authentication": {
"type": "bearer",
"environment_variable": "OPENANY_API_KEY"
},
"inputs": [
{
"description": "Search query for users",
"location": "query",
"name": "query",
"nullable": false,
"required": true,
"type": "string"
},
{
"description": "Cursor to get more users. Get 'cursor' from previous response.",
"location": "query",
"name": "cursor",
"nullable": false,
"required": false,
"type": "number"
},
{
"description": "Set to true to get a trimmed response",
"location": "query",
"name": "trim",
"nullable": false,
"required": false,
"type": "boolean"
}
],
"billing": {
"currency": "USD",
"mode": "fixed",
"priceMicroUsd": "1880",
"rounding": null,
"unit": "call",
"unitQuantity": null
},
"examples": [
{
"http_status": 200,
"name": "Official example",
"request": {
"body": null,
"headers": {},
"path": {},
"query": {
"query": "dogs"
}
},
"response_body": {
"credits_charged": 1,
"credits_remaining": 1000000,
"cursor": 30,
"success": true,
"users": [
{
"avatar_medium": {
"height": 720,
"uri": "tos-maliva-avt-0068/60a12c00b42288dd3503cf3025165093",
"url_list": [
"https://p16-amd-va.tiktokcdn.com/tos-maliva-avt-0068/60a12c00b42288dd3503cf3025165093~tplv-tiktokx-cropcenter-q:720:720:q70.heic?dr=9607&idc=no1a&ps=87d6e48a&s=SEARCH&sc=avatar&shcp=c1333099&shp=30310797&t=223449c4"
],
"url_prefix": null,
"width": 720
},
"follower_count": 163953,
"following_count": 63,
"nickname": "ADRIAN",
"sec_uid": "MS4wLjABAAAAcT5kdL_w3D2p3a3DkULhrVE6Ir17Ua1M9GZK4cnvnKxbJg3qy0xDdbaFeY260Qzz",
"uid": "6757029651601835013",
"unique_id": "adrianzyno"
}
]
}
}
]
}
```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. |
Examples
Official example
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 3
Review these request fields before running. Keep the published provider and request method unchanged.
query- Search query for users
cursor- Cursor to get more users. Get 'cursor' from previous response.
trim- Set to true to get a trimmed response
Terminal · cURLcurl \ 'https://api.openany.si/v1/agent-apis/scrapecreators/v1/tiktok/search/users?query=dogs' \ -X GET \ -H "Authorization: Bearer $OPENANY_API_KEY" \ -H 'Content-Type: application/json'Check the response
Sample response · Documented HTTP 200
Sample response{ "credits_charged": 1, "credits_remaining": 1000000, "cursor": 30, "success": true, "users": [ { "avatar_medium": { "height": 720, "uri": "tos-maliva-avt-0068/60a12c00b42288dd3503cf3025165093", "url_list": [ "https://p16-amd-va.tiktokcdn.com/tos-maliva-avt-0068/60a12c00b42288dd3503cf3025165093~tplv-tiktokx-cropcenter-q:720:720:q70.heic?dr=9607&idc=no1a&ps=87d6e48a&s=SEARCH&sc=avatar&shcp=c1333099&shp=30310797&t=223449c4" ], "url_prefix": null, "width": 720 }, "follower_count": 163953, "following_count": 63, "nickname": "ADRIAN", "sec_uid": "MS4wLjABAAAAcT5kdL_w3D2p3a3DkULhrVE6Ir17Ua1M9GZK4cnvnKxbJg3qy0xDdbaFeY260Qzz", "uid": "6757029651601835013", "unique_id": "adrianzyno" } ] }