For AI

Object

MediaText object

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.

FieldTypeFrom viewDescription
post_idstringcompactThe post or video ID asked for.
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. · may be cut in compact
blocksTextBlock[]standardText read, image by image or by time; images and frames without text are left out.
textstringcompactAll blocks joined with new lines. · may be cut in compact
extobjectfullPlatform-specific extras. Only returned with view=full. · only with view=full

TextBlock

FieldTypeDescription
indexinteger | nullWhich image, from 0, in the post's order; null for video frames.
image_urlstring | nullThe image read; null for video frames.
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.
textstringThe words read, lines kept.

Endpoints that return a MediaText

Connect once, then just ask.

Every new key comes with $0.10 to try it. One sentence connects your agent.

Start free
Connect your AI

Paste this into your agent

Read https://okdata.online/agents.md and set up okdata for me; my key is in the OKDATA_API_KEY environment variable.

Claude Code, Cursor, Codex and other agents that can open a link set themselves up from it.

MCP serverhttps://api.okdata.online/mcp