AI 向け

オブジェクト

Music object

A sound or song short videos use: title, artist, length, cover, audio link and how many posts use it. The same fields on every platform. A field a platform does not show is null, and meta.unavailable names it with the reason.

フィールド種類view から説明
idstringcompactThe music ID; douyin.music.get takes it.
urlstring | nullcompactThe music's page on the platform.
titlestringcompactTitle, as the platform shows it.
artiststring | nullcompactWho it is credited to: the singer, or the account an original sound comes from.
albumstring | nullstandardAlbum, where given.
duration_secondsinteger | nullcompact長さ(秒)。
cover_urlstring | nullstandardCover image; the link expires in hours.
audio_urlstring | nullstandardThe audio file; the link expires in hours, so download it soon.
usesinteger | nullcompactPosts made with it, as the platform counts them.
originalboolean | nullcompacttrue: an original sound from a user's own video; false: a licensed track.
extオブジェクト全体プラットフォーム固有の追加情報。view=full の場合のみ返されます。 · view=full の場合のみ

Endpoints that return a Music

一度つなげば、あとは聞くだけ。

新しいキーには $0.20 の無料クレジットが付きます。AI に1文貼るだけで接続できます。

無料で始める
AI につなぐ

これを AI エージェントに貼り付けてください

https://okdata.online/agents.md を読んで、okdata を設定してください。キーは環境変数 OKDATA_API_KEY に入っています。

Claude Code、Cursor、Codex など、リンクを開ける AI エージェントなら、読んで自分で設定します。

MCP サーバーhttps://api.okdata.online/mcp