Media URLs
Available media values are already absolute URLs. Use them directly; do not construct storage paths or add an API key to external CDN requests.
| Source | Relevant fields |
|---|---|
| news | image |
media[].url, author.profile_image_url, retweeted_profile_image_url |
|
media[].url, author.profile_picture_url |
|
| threads | media[].url, author.profile_picture_url |
| youtube | thumbnail_url, channel.thumbnail_url, embed_url |
| tiktok | media[].url, media[].cover_image_url, author.profile_image_url, music.play_url, music.cover_image_url |
| No stored image/avatar fields in the current contract. |
Signed URLs and lifetime
Section titled “Signed URLs and lifetime”Echora signed media URLs have a limited lifetime, by default 24 hours; service configuration may differ. Fetch a fresh data page to get new URLs after expiry. Original platform CDN URLs can also become unavailable.
Signed access is bound to the generating key, account, keyword and revision. Key revocation/deletion, account expiry/deactivation, keyword edits/deletion or quota changes can invalidate access before a token’s nominal lifetime ends.
The URL carries its own scoped access token. Keep tokenized URLs out of public logs. Do not append or forward X-API-Key to media/CDN URLs.
Expected HTTP behavior
Section titled “Expected HTTP behavior”| Status | Meaning |
|---|---|
| 200 | Full file. |
| 206 | Partial Content for one supported byte range, e.g. Range: bytes=0-1023. |
| 307 | Redirect to an original source/fallback URL; follow redirects. |
| 400 | Invalid token/object; obtain the original URL from a fresh data page. |
| 403 | media_access_expired; refresh the data page and check account/keyword access. |
| 404 | media_not_found; no usable archive/fallback is available. |
| 416 | invalid_range; unsupported or unavailable byte range. |
Handle missing images or videos gracefully. A media request does not start a new crawl or download. YouTube retains native CDN thumbnails and embed URLs; it does not provide an invented downloadable video URL.