Sand AISand AI MAGI-2MAGI-2 が SandBase に登場しました: ネイティブ音声付き 1080p 動画今すぐ試す

TikTok Song Videos

APIドキュメント
https://api.sandbase.ai/v1/api/tiktok/song-videos

List TikTok videos that use a given song or sound (with descriptions, authors, and engagement stats).

料金
$0.0006 からUSD / 回
メソッド
POST
レスポンス
JSON
パラメータ
必須 1 件 · 任意 2 件

プレイグラウンド

入力
The song ID found in TikTok music URLs (e.g. 7439295283975702544).
Pagination cursor for retrieving the next page of results.
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 `nextCursor`, 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.
出力準備完了

出力はここに表示されます

入力を完了してから[実行]をクリックしてください。

API README

TikTok Song Videos API

Returns a page of TikTok videos that use a given song or sound. Each video includes its description, author, hashtags, engagement counts and links. The input is the song ID (clipId) from a TikTok music URL.

Use cases

  • Track how far a new song spreads by listing the videos that use it and their playCount values.
  • Find the most viral videos on a sound by sorting on likeCount or shareCount.
  • Build a list of creators who use a track, using authorHandle and authorUserId.
  • Collect the hashtags that appear alongside a sound to see which topics it is tied to.

Request

curl -X POST "https://api.sandbase.ai/v1/api/tiktok/song-videos" \
  -H "Authorization: Bearer $SANDBASE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"clipId": "7439295283975702544"}'

The result is returned in outputs[0].data.

Parameters

NameTypeRequiredDescription
clipIdstringYesThe song ID found in TikTok music URLs (e.g. 7439295283975702544).
cursorstringNoPagination cursor for retrieving the next page of results.
requireFieldsarrayNoOptional; omit it and routing is unchanged, with the cheapest source serving. Name the output fields this request must be able to return, for example nextCursor, and it is served only by a source that returns every one

Example response

Real response for the request above, trimmed: lists keep their first item and long strings are cut.

{
  "data": {
    "hasMore": 1,
    "nextCursor": "cur_H6EK-BtRQfER3uDYk3o7KA",
    "videos": [
      {
        "authorHandle": "sza",
        "authorImage": "https://p16-common-sign.tiktokcdn-us.com/tos-useast8-avt-0068-tx2/42b31651a14a0f…",
        "authorName": "SZA",
        "authorUserId": "7486547994222740523",
        "collectCount": 13557,
        "commentCount": 1640,
        "createTime": 1746917771,
        "description": "THANK YOU KENDRICK FOR COMING TO YESTERDAY’S @NotBeauty POP UP !!!! 🪲⛺️🫶🏾 @Ameri…",
        "durationSeconds": 23,
        "hashtags": [],
        "image": "https://p16-common-sign.tiktokcdn-us.com/tos-useast8-p-0068-tx2/oMAj6PIBJAreJfqx…",
        "likeCount": 228029
      }
    ]
  },
  "found": true
}

Response fields

FieldMeaning
data.videos[].videoId / data.videos[].urlThe ID of the video and its public TikTok page link.
data.videos[].descriptionThe caption text of the video, including mentions and emoji.
data.videos[].hashtags[]Hashtags from the caption, without the # sign. The list is empty when the caption has none.
data.videos[].authorHandle / data.videos[].authorNameThe handle and the display name of the creator who posted the video.
data.videos[].authorUserIdThe numeric ID of the creator's account.
data.videos[].playCount / data.videos[].likeCount / data.videos[].commentCount / data.videos[].shareCount / data.videos[].collectCountEngagement counts for the video: plays, likes, comments, shares and saves (collects).
data.videos[].createTimeWhen the video was posted, as a Unix timestamp in seconds.
data.videos[].durationSecondsLength of the video in seconds.
data.videos[].image / data.videos[].videoUrl / data.videos[].authorImageLinks to the video cover image, the video file and the author's avatar.
data.hasMore / data.nextCursorhasMore is 1 when more videos exist. nextCursor is the value to pass as cursor to get the next page.

Notes

  • Find the song ID in a TikTok music URL. It is the long number at the end of the URL.
  • To get the next page, send the same clipId with cursor set to the data.nextCursor value from the previous response.
  • Add requireFields: ["nextCursor"] if you need every response to be able to return a next-page cursor. This can raise the price of the call.
  • For details about the song itself, use TikTok Music Details. A similar video list is also available from TikTok Music Video List.

Pricing

Billed at the actual cost of each call, about $0.0006 for the request above. Failed calls are not charged.

さらに探索

関連 APIs

すべての APIs
API価格レスポンス
TikTok1回あたり $0.0006 からJSON
TikTok1回あたり $0.0012 からJSON
TikTok1回あたり $0.0008 からJSON
TikTok1回あたり $0.0008 からJSON
TikTok$0.001 / 回JSON
TikTok$0.001 / 回JSON

ガイド:TikTok API pricing: official access vs per-call dataBest TikTok API in 2026: Pricing Compared

質問

FAQ

TikTok Song Videos API はどのように使いますか?

Authorization ヘッダー(Bearer)に SandBase API key を指定し、パラメータを JSON ボディで送信して https://api.sandbase.ai/v1/api/tiktok/song-videos に POST リクエストを送ります。このページの Playground で、コードを書かずに試すこともできます。

TikTok Song Videos API の料金はいくらですか?

1回あたり $0.0006 から、SandBase 残高から課金されます。課金対象はご利用分のみで、サブスクリプションはありません。

TikTok Song Videos API はどのパラメータを受け付けますか?

必須: clipId (string)。 任意: cursor (string) と requireFields (array)。 このページの Parameters テーブルと Playground に、すべてのフィールドが一覧表示されています。

TikTok Song Videos API は何を返しますか?

同じ HTTP リクエスト内で返される JSON レスポンスです(同期)。 このページの README にサンプルレスポンスがあります。

TikTok の開発者アカウントまたは API key は必要ですか?

いいえ。TikTok Song Videos は SandBase 経由で動作するため、SandBase の API key 1つでこのエンドポイントと、カタログ内の他のすべての API とモデルを利用できます。TikTok の API アクセスを別途申請する必要はありません。