APIDataE-commerce

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.001 / callPublished pricing
Sellers / APIs
5 / 63
Requests · 30d
—Loading...
Success rate · 30d
—Loading...
USE THIS API

TikTok Search

Prepare your request, then continue with your agent.

Selected price

$0.001 / call

Provider
API
Pricing
Connect your agent
On this page

Playground

Run sends a real API request. Charges follow the published API contract.

Request parameters
Enter text.

Sample response

{
  "cache_message": "This response is cached and accessible via the URL below for 24 hours at no extra cost. The cache is for request tracing only — it doesn't affect the API's data freshness and won't be returned through the API again.",
  "cache_message_zh": "本次响应已缓存,可通过下方 URL 直接查看,有效期 24 小时,访问缓存链接无额外费用。缓存仅用于请求溯源,不影响接口数据的时效性,也不会再次通过接口返回。",
  "cache_url": "<cache_url>",
  "code": 200,
  "data": null,
  "docs": "<docs>",
  "message": "Request successful. This request will incur a charge.",
  "message_zh": "请求成功,本次请求将被计费。",
  "params": {},
  "request_id": "<request_id>",
  "router": "",
  "support": "Discord: https://discord.gg/aMEAS8Xsvz",
  "time": "<time>",
  "time_stamp": 0,
  "time_zone": "America/Los_Angeles"
}

Response result

Response structure

Inferred from examples
  • cache_messagestring
  • cache_message_zhstring
  • cache_urlstring
  • codeinteger
  • datanull
  • docsstring
  • messagestring
  • message_zhstring
  • paramsobject
  • request_idstring
  • routerstring
  • supportstring
  • timestring
  • time_stampinteger
  • time_zonestring

Sellers

SellerPricingRequests · 30dPerformanceAccess
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—
TikTok — Search Users · GET · View API reference
$0.00188 / call—Select to load statistics
—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—
Current
Get search modules config · POST · View API reference
$0.001 / call—
—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—
Loading...
Selected pricing · tikhubUSD / call
Unit price
$0.001

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.

calls

Total $0.1

API

Method
POST
Endpoint
https://api.openany.si/v1/agent-apis/tikhub/api/v1/tiktok/ads/get_configure_safety
Content type
application/json
Authentication
Authorization: Bearer $OPENANY_API_KEY

Correct the request fields in Playground to generate a code example.

Input parameters

Fields in this listing; additional options and input encoding can vary by provider.

ParameterLocationTypeRequiredDescription
bodyJSON request bodybodystringNo自定义Cookie字符串(可选)/Custom Cookie string (optional)

Required markers inside a nested object or variant apply when that object or variant is used.

Sample response

Response template · not a real response · Configured HTTP 200; actual status is unverified. Response illustration only. Placeholder values and unknown business fields are not recorded API results. Replace request placeholders before use.

Schema template (HTTP assumed)
{
  "cache_message": "This response is cached and accessible via the URL below for 24 hours at no extra cost. The cache is for request tracing only — it doesn't affect the API's data freshness and won't be returned through the API again.",
  "cache_message_zh": "本次响应已缓存,可通过下方 URL 直接查看,有效期 24 小时,访问缓存链接无额外费用。缓存仅用于请求溯源,不影响接口数据的时效性,也不会再次通过接口返回。",
  "cache_url": "<cache_url>",
  "code": 200,
  "data": null,
  "docs": "<docs>",
  "message": "Request successful. This request will incur a charge.",
  "message_zh": "请求成功,本次请求将被计费。",
  "params": {},
  "request_id": "<request_id>",
  "router": "",
  "support": "Discord: https://discord.gg/aMEAS8Xsvz",
  "time": "<time>",
  "time_stamp": 0,
  "time_zone": "America/Los_Angeles"
}

Agent integration

Copy the resource contract without sharing an API key.

View API Markdown
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/4862e3ed-e4f1-4865-a0b5-bbc0c82f7026
Method: POST
Endpoint: https://api.openany.si/v1/agent-apis/tikhub/api/v1/tiktok/ads/get_configure_safety
Price: $0.001 / call
Provider: tikhub
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.

The request template contains errors. Correct it in Playground to generate a command.

## API contract
```json
{
  "resource_type": "api",
  "name": "Get search modules config",
  "endpoint": "https://api.openany.si/v1/agent-apis/tikhub/api/v1/tiktok/ads/get_configure_safety",
  "method": "POST",
  "content_type": "application/json",
  "execution_mode": "sync",
  "authentication": {
    "type": "bearer",
    "environment_variable": "OPENANY_API_KEY"
  },
  "inputs": [
    {
      "description": "自定义Cookie字符串(可选)/Custom Cookie string (optional)",
      "location": "body",
      "name": "body",
      "nullable": false,
      "pointer": "",
      "required": false,
      "type": "string"
    }
  ],
  "billing": {
    "currency": "USD",
    "mode": "fixed",
    "priceMicroUsd": "1000",
    "rounding": null,
    "unit": "call",
    "unitQuantity": null
  },
  "examples": [
    {
      "http_status": 200,
      "name": "Schema template (HTTP assumed)",
      "request": {
        "body": null,
        "headers": {},
        "path": {},
        "query": {}
      },
      "response_body": {
        "cache_message": "This response is cached and accessible via the URL below for 24 hours at no extra cost. The cache is for request tracing only — it doesn't affect the API's data freshness and won't be returned through the API again.",
        "cache_message_zh": "本次响应已缓存,可通过下方 URL 直接查看,有效期 24 小时,访问缓存链接无额外费用。缓存仅用于请求溯源,不影响接口数据的时效性,也不会再次通过接口返回。",
        "cache_url": "<cache_url>",
        "code": 200,
        "data": null,
        "docs": "<docs>",
        "message": "Request successful. This request will incur a charge.",
        "message_zh": "请求成功,本次请求将被计费。",
        "params": {},
        "request_id": "<request_id>",
        "router": "",
        "support": "Discord: https://discord.gg/aMEAS8Xsvz",
        "time": "<time>",
        "time_stamp": 0,
        "time_zone": "America/Los_Angeles"
      }
    }
  ]
}
```

Error handling

StatusNext step
400Check the offering and request fields.
401 / 403Verify your credentials and access permissions.
402Inspect the selected access mode and returned payment requirements.
429Respect the returned rate limit and retry guidance.
5xxInspect the error and usage record before retrying a paid operation.

Examples

Schema template (HTTP assumed)

Response illustration only. Placeholder values and unknown business fields are not recorded API results. Replace request placeholders before use.

  1. 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 / Linux
    printf 'OpenAny API key: '
    read -r -s OPENANY_API_KEY
    export OPENANY_API_KEY
    printf '\n'
  2. Run the request

    Paste the complete command below into your terminal.

    Values to replace before running 1

    Review these request fields before running. Keep the published provider and request method unchanged.

    body
    自定义Cookie字符串(可选)/Custom Cookie string (optional)
    Terminal · cURL
    curl \
      'https://api.openany.si/v1/agent-apis/tikhub/api/v1/tiktok/ads/get_configure_safety' \
      -X POST \
      -H "Authorization: Bearer $OPENANY_API_KEY" \
      -H 'Content-Type: application/json' \
      --data-raw 'null'
  3. Check the response

    Response template · not a real response · Configured HTTP 200; actual status is unverified.

    Response template · not a real response
    {
      "cache_message": "This response is cached and accessible via the URL below for 24 hours at no extra cost. The cache is for request tracing only — it doesn't affect the API's data freshness and won't be returned through the API again.",
      "cache_message_zh": "本次响应已缓存,可通过下方 URL 直接查看,有效期 24 小时,访问缓存链接无额外费用。缓存仅用于请求溯源,不影响接口数据的时效性,也不会再次通过接口返回。",
      "cache_url": "<cache_url>",
      "code": 200,
      "data": null,
      "docs": "<docs>",
      "message": "Request successful. This request will incur a charge.",
      "message_zh": "请求成功,本次请求将被计费。",
      "params": {},
      "request_id": "<request_id>",
      "router": "",
      "support": "Discord: https://discord.gg/aMEAS8Xsvz",
      "time": "<time>",
      "time_stamp": 0,
      "time_zone": "America/Los_Angeles"
    }

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.