APIDataScrapers

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...
USE THIS API

TikTok Music

Prepare your request, then continue with your agent.

Selected price

$0.00015 / 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
body* object
TikTok music clip ID, the numeric suffix of a /music/ URL.
Get a TikTok sound's details and usage count.
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.

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"
}

Response result

Response structure

Inferred from examples
  • musicobject
    • artiststring
    • codeinteger
    • coverUrlstring
    • idstring
    • statusCodeinteger
    • videoCountinteger
  • submit_feedback_for_this_response_herestring

Sellers

SellerPricingRequests · 30dPerformanceAccess
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—
Loading...
Selected pricing · litescrapeUSD / call
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.

calls

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.

ParameterLocationTypeRequiredDescription
timeoutURL query parametersquerynumberNoTotal 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_idJSON request bodybodystringYesTikTok 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.

Official example
{
  "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
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

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

Official example

Example from the provider's documentation. Field values in your results will differ.

  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 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 · cURL
    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"
    }'
  3. 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"
    }

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 Music with your agent

Inspect endpoint contracts and confirm availability and pricing before a paid call.