Pour l'IA

Objet

Objet MediaText

Words read off a post's pictures: each image of an image post, or the text shown on screen in a video, with times. 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
post_idstringcompactL'ID de la publication ou de la vidéo demandée.
sourcestringcompactimages: an image post, one block per image with text. frames: a video, one block per stretch of frames showing the same words.
titlestring | nullcompactThe post's own title, as the platform gives it.
descriptionstring | nullstandardThe post's own caption, as the platform gives it. · peut être tronqué en compact
blocksTextBlock[]standardText read, image by image or by time; images and frames without text are left out.
textstringcompactTous les blocs joints par des retours à la ligne. · peut être tronqué en compact
extobjetfullDonnées propres à la plateforme. Renvoyées uniquement avec view=full. · uniquement avec view=full

TextBlock

ChampTypeDescription
indexinteger | nullWhich image, from 0, in the post's order; null for video frames.
image_urlstring | nullL'image lue ; null pour les images de vidéo.
startnumber | nullSeconds into the video where the words appear; null for images.
endnumber | nullSeconds into the video where the words were last seen; null for images.
textstringLes mots lus, avec les retours à la ligne.

Endpoints qui renvoient un objet MediaText

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