Pour l'IA

Objet

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.

ChampTypeDe viewDescription
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 | nullcompactDurée en secondes.
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.
extobjetfullDonnées propres à la plateforme. Renvoyées uniquement avec view=full. · uniquement avec view=full

Endpoints that return a Music

Connectez-vous une fois, puis demandez simplement.

Chaque nouvelle clé inclut $0.20 pour essayer. Une phrase suffit pour connecter votre agent.

Commencer gratuitement
Connectez votre IA

Collez ceci dans votre agent

Lis https://okdata.online/agents.md et configure okdata pour moi ; ma clé est dans la variable d'environnement OKDATA_API_KEY.

Claude Code, Cursor, Codex et les autres agents capables d'ouvrir un lien se configurent à partir de celui-ci.

Serveur MCPhttps://api.okdata.online/mcp