Yapay zekâ için

Nesne

PostMedia object

Where a post's video, audio and images can be downloaded: each file's link, mirrors, size and quality. The links expire, mostly within hours. The same fields on every platform. A field a platform does not show is null, and meta.unavailable names it with the reason.

AlanTürview parametresindenAçıklama
post_idstringcompactİstenen gönderi veya video ID'si.
urlstring | nullcompactThe post's page.
typestringcompactvideo: a video post; image: an image post (its images, and the clips of any live photos).
titlestring | nullcompactThe post's title or caption, as the platform gives it.
duration_secondsnumber | nullcompactThe video's length in seconds; null for image posts.
cover_urlstring | nullstandardCover image (it expires too).
filesMediaFile[]compactThe files: video renditions best first, then audio tracks, then images in the post's order.
refererstring | nullcompactSend this as the Referer header when downloading (the host refuses requests without it); null when none is needed.
extobjectfullPlatforma özgü ek alanlar. Yalnızca view=full ile döner. · yalnızca view=full ile

MediaFile

AlanTürAçıklama
kindstringvideo: a video rendition (with sound unless the post has separate audio tracks); audio: a sound-only track; image: a picture.
urlstringThe file. Signed, and it expires: download it soon.
backup_urlsstring[] | nullMirrors of the same file, to try in order when url fails.
widthinteger | nullWidth in pixels.
heightinteger | nullHeight in pixels.
bitrateinteger | nullBits per second, where given.
qualitystring | nullThe platform's name for this rendition, where given.
size_bytesinteger | nullFile size in bytes, where given.

Endpoints that return a PostMedia

Bir kez bağlayın, sonra sadece sorun.

Her yeni anahtar, denemeniz için $0.20 ile gelir. Ajanınızı tek bir cümle bağlar.

Ücretsiz başlayın
Yapay zekânızı bağlayın

Bunu ajanınıza yapıştırın

https://okdata.online/agents.md adresini oku ve okdata kurulumunu benim için yap; anahtarım OKDATA_API_KEY ortam değişkeninde.

Claude Code, Cursor, Codex ve bağlantı açabilen diğer ajanlar kurulumu bundan kendileri yapar.

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