TikTok Music
TikTok Music helps users discover songs, sounds, and trending audio on TikTok, explore music trends, and find inspiration for content creation.
- Selected price
- $0.00015 / callPublished pricing
- Sellers / APIs
- 4 / 10
- Requests · 30d
- —Loading...
- Success rate · 30d
- —Loading...
TikTok Music
Prepare your request, then continue with your agent.
Selected price
$0.00015 / call
- Provider
- API
- Pricing
On this page
Playground
Run sends a real API request. Charges follow the published API contract.
Response structure
musicobjectartiststringcodeintegercoverUrlstringidstringstatusCodeintegervideoCountinteger
submit_feedback_for_this_response_herestring
// Inferred from response examples. Fields are optional and other fields may be returned.
export type ApiResponse = {
music?: {
artist?: string;
code?: number;
coverUrl?: string;
id?: string;
statusCode?: number;
videoCount?: number;
};
submit_feedback_for_this_response_here?: string;
};Sellers
| Seller | Pricing | Requests · 30d | Performance | Access |
|---|---|---|---|---|
| TikTok Song · POST · View API reference | $0.0006 / call | —Select to load statistics | —successP50— | |
| TikTok Song Videos · POST · View API reference | $0.00015 / call | —Select to load statistics | —successP50— | |
Current TikTok Song · POST · View API reference | $0.00015 / call | — | —successP50— | |
| TikTok — TikToks using Song · GET · View API reference | $0.00188 / call | —Select to load statistics | —successP50— | |
| TikTok — Get Song Details · GET · View API reference | $0.00188 / call | —Select to load statistics | —successP50— | |
| Get user music list data · GET · View API reference | $0.001 / call | —Select to load statistics | —successP50— | |
| Get details of specified music · GET · View API reference | $0.001 / call | —Select to load statistics | —successP50— | |
| Get music search results of specified keywords · GET · View API reference | $0.001 / call | —Select to load statistics | —successP50— | |
| Music Chart List · GET · View API reference | $0.001 / call | —Select to load statistics | —successP50— | |
| Get video list of specified music · GET · View API reference | $0.001 / call | —Select to load statistics | —successP50— |
- Unit price
- $0.00015
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.015
API
- Method
- POST
- Endpoint
https://api.openany.si/v1/agent-apis/litescrape/api/tiktok/song- Content type
- application/json
- Authentication
Authorization: Bearer $OPENANY_API_KEY
curl \
'https://api.openany.si/v1/agent-apis/litescrape/api/tiktok/song' \
-X POST \
-H "Authorization: Bearer $OPENANY_API_KEY" \
-H 'Content-Type: application/json' \
--data-raw '{
"clip_id": "7106686378527787818"
}'Input parameters
Fields in this listing; additional options and input encoding can vary by provider.
| Parameter | Location | Type | Required | Description |
|---|---|---|---|---|
timeout | URL query parametersquery | number | No | Total request execution budget in seconds, greater than 0 and at most 90. Supply in the query string for GET or POST. page_timeout cannot extend this budget. maximum: 90 |
clip_id | JSON request bodybody | string | Yes | TikTok music clip ID, the numeric suffix of a /music/ URL. pattern: ^[0-9]{1,25}$ |
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.
{
"music": {
"artist": "David Teather Codes",
"code": 200,
"coverUrl": "https://p19-common-sign.tiktokcdn-us.com/tos-useast5-avt-0068-tx/7345589344775716910~tplv-tiktokx-cropcenter:1080:1080.jpeg?dr=9640&refresh_token=99c3e01b&x-expires=1791781200&x-signature=iQQ674J6HVxCfMLAX8QqxDvIqk0%3D&t=4d5b0474&ps=13740610&shp=a5d48078&shcp=81f88b70&idc=useast5",
"id": "7106686378527787818",
"statusCode": 0,
"videoCount": 1
},
"submit_feedback_for_this_response_here": "https://ecll-litescrape-v3--site-api-web.modal.run/api/feedback/example-not-a-valid-token"
}Agent integration
Copy the resource contract without sharing an API key.
View API Markdown
# TikTok Music
TikTok Music helps users discover songs, sounds, and trending audio on TikTok, explore music trends, and find inspiration for content creation.
## Available implementations
anyapi · TikTok Song: https://openany.si/markets/apis/capabilities/tiktok-music?offering=f197154e-3c07-4c4b-a6e5-c47099f8d4f4 · $0.0006 / call
litescrape · TikTok Song Videos: https://openany.si/markets/apis/capabilities/tiktok-music?offering=1e2ef027-fa99-42c1-adad-d8e1ac18fa51 · $0.00015 / call
litescrape · TikTok Song: https://openany.si/markets/apis/capabilities/tiktok-music?offering=c4e03ff4-7524-466a-8d45-17f16fe23eaf · $0.00015 / call
scrapecreators · TikTok — TikToks using Song: https://openany.si/markets/apis/capabilities/tiktok-music?offering=2a42ce36-8623-4fae-acd5-c720b8a89495 · $0.00188 / call
scrapecreators · TikTok — Get Song Details: https://openany.si/markets/apis/capabilities/tiktok-music?offering=f6ae1b6c-afce-4465-9691-383ccaeea4ed · $0.00188 / call
tikhub · Get user music list data: https://openany.si/markets/apis/capabilities/tiktok-music?offering=0898a812-f706-4586-9853-403540dc9df0 · $0.001 / call
tikhub · Get details of specified music: https://openany.si/markets/apis/capabilities/tiktok-music?offering=172b991f-dac4-40c5-bac5-cc705aecbfab · $0.001 / call
tikhub · Get music search results of specified keywords: https://openany.si/markets/apis/capabilities/tiktok-music?offering=1aebb694-d226-4fb4-bc07-495ec974b201 · $0.001 / call
tikhub · Music Chart List: https://openany.si/markets/apis/capabilities/tiktok-music?offering=665bcef5-17e6-40df-af39-fd5101cb3726 · $0.001 / call
tikhub · Get video list of specified music: https://openany.si/markets/apis/capabilities/tiktok-music?offering=95d6bdb0-7903-40a4-a86a-943247f60d3c · $0.001 / call
## Selected API contract
Documentation: https://openany.si/apis/c4e03ff4-7524-466a-8d45-17f16fe23eaf
Method: POST
Endpoint: https://api.openany.si/v1/agent-apis/litescrape/api/tiktok/song
Price: $0.00015 / call
Provider: litescrape
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/litescrape/api/tiktok/song' \
-X POST \
-H "Authorization: Bearer $OPENANY_API_KEY" \
-H 'Content-Type: application/json' \
--data-raw '{
"clip_id": "7106686378527787818"
}'
```
## API contract
```json
{
"resource_type": "api",
"name": "TikTok Song",
"endpoint": "https://api.openany.si/v1/agent-apis/litescrape/api/tiktok/song",
"method": "POST",
"content_type": "application/json",
"execution_mode": "sync",
"authentication": {
"type": "bearer",
"environment_variable": "OPENANY_API_KEY"
},
"inputs": [
{
"description": "Total request execution budget in seconds, greater than 0 and at most 90. Supply in the query string for GET or POST. page_timeout cannot extend this budget.",
"location": "query",
"maximum": "90",
"name": "timeout",
"nullable": false,
"required": false,
"type": "number"
},
{
"description": "Get a TikTok sound's details and usage count.",
"json_schema": {
"additionalProperties": false,
"examples": [
{
"clip_id": "7106686378527787818"
}
],
"properties": {
"clip_id": {
"description": "TikTok music clip ID, the numeric suffix of a /music/ URL.",
"pattern": "^[0-9]{1,25}$",
"title": "Clip Id",
"type": "string",
"x-litescrape": {
"formGroup": 0,
"group": 0,
"id": "tiktok-song-clip_id",
"label": "Clip Id",
"summary": "TikTok music clip ID, the numeric suffix of a /music/ URL."
}
}
},
"required": [
"clip_id"
],
"title": "Request",
"type": "object"
},
"location": "body",
"name": "body",
"nullable": false,
"pointer": "",
"required": true,
"type": "object"
}
],
"billing": {
"currency": "USD",
"mode": "fixed",
"priceMicroUsd": "150",
"rounding": null,
"unit": "call",
"unitQuantity": null
},
"examples": [
{
"http_status": 200,
"name": "Official example",
"request": {
"body": {
"clip_id": "7106686378527787818"
},
"headers": {},
"path": {},
"query": {}
},
"response_body": {
"music": {
"artist": "David Teather Codes",
"code": 200,
"coverUrl": "https://p19-common-sign.tiktokcdn-us.com/tos-useast5-avt-0068-tx/7345589344775716910~tplv-tiktokx-cropcenter:1080:1080.jpeg?dr=9640&refresh_token=99c3e01b&x-expires=1791781200&x-signature=iQQ674J6HVxCfMLAX8QqxDvIqk0%3D&t=4d5b0474&ps=13740610&shp=a5d48078&shcp=81f88b70&idc=useast5",
"id": "7106686378527787818",
"statusCode": 0,
"videoCount": 1
},
"submit_feedback_for_this_response_here": "https://ecll-litescrape-v3--site-api-web.modal.run/api/feedback/example-not-a-valid-token"
}
}
]
}
```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 2
Review these request fields before running. Keep the published provider and request method unchanged.
timeout- Total request execution budget in seconds, greater than 0 and at most 90. Supply in the query string for GET or POST. page_timeout cannot extend this budget.
body- Get a TikTok sound's details and usage count.
Terminal · cURLcurl \ 'https://api.openany.si/v1/agent-apis/litescrape/api/tiktok/song' \ -X POST \ -H "Authorization: Bearer $OPENANY_API_KEY" \ -H 'Content-Type: application/json' \ --data-raw '{ "clip_id": "7106686378527787818" }'Check the response
Sample response · Documented HTTP 200
Sample response{ "music": { "artist": "David Teather Codes", "code": 200, "coverUrl": "https://p19-common-sign.tiktokcdn-us.com/tos-useast5-avt-0068-tx/7345589344775716910~tplv-tiktokx-cropcenter:1080:1080.jpeg?dr=9640&refresh_token=99c3e01b&x-expires=1791781200&x-signature=iQQ674J6HVxCfMLAX8QqxDvIqk0%3D&t=4d5b0474&ps=13740610&shp=a5d48078&shcp=81f88b70&idc=useast5", "id": "7106686378527787818", "statusCode": 0, "videoCount": 1 }, "submit_feedback_for_this_response_here": "https://ecll-litescrape-v3--site-api-web.modal.run/api/feedback/example-not-a-valid-token" }