Ir al contenido
GET /v1/media/info

Media info

Media payload of a post — video CDN URL, thumbnail, dimensions, duration, codec. Pass url or username + id.

Pruébalo en vivo

10 llamadas gratis al día — sin registro, sin clave API. Pasa por el gateway de oanor.

Encabezados personalizados (opcional)
api.oanor.com/tiktok-api

Funciona. Consigue una clave API y úsala en tu proyecto.

Obtener una clave API

Fragmentos de código

curl "https://api.oanor.com/tiktok-api/v1/media/info" \
  -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/tiktok-api/v1/media/info", {
  headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/tiktok-api/v1/media/info");
curl_setopt($ch, CURLOPT_HTTPHEADER, ["x-oanor-key: oanor_test_..."]);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
$out = curl_exec($ch);
import requests
requests.get(
    "https://api.oanor.com/tiktok-api/v1/media/info",
    headers={"x-oanor-key": "oanor_test_..."}
)

Respuesta de ejemplo

Una respuesta real de este endpoint, capturada en la última comprobación de estado.

{
    "data": {
        "id": "6718335390845095173",
        "title": "Scramble up ur name & I’ll try to guess it😍❤️ #foryoupage #petsoftiktok #aesthetic",
        "width": "100%",
        "height": "100%",
        "post_url": "https://www.tiktok.com/@scout2015/video/6718335390845095173",
        "username": "scout2015",
        "video_id": "6718335390845095173",
        "author_url": "https://www.tiktok.com/@scout2015",
        "embed_html": "<blockquote class=\"tiktok-embed\" cite=\"https://www.tiktok.com/@scout2015/video/6718335390845095173\" data-video-id=\"6718335390845095173\" data-embed-from=\"oembed\" style=\"max-width:605px; min-width:325px;\"> <section> <a target=\"_blank\" title=\"@scout2015\" href=\"https://www.tiktok.com/@scout2015?refer=embed\">@scout2015</a> <p>Scramble up ur name & I’ll try to guess it😍❤️ <a title=\"foryoupage\" target=\"_blank\" href=\"https://www.tiktok.com/tag/foryoupage?refer=embed\">#foryoupage</a> <a title=\"petsoftiktok\" target=\"_blank\" href=\"https://www.tiktok.com/tag/petsoftiktok?refer=embed\">#petsoftiktok</a> <a title=\"aesthetic\" target=\"_blank\" href=\"https://www.tiktok.com/tag/aesthetic?refer=embed\">#aesthetic</a></p> <a target=\"_blank\" title=\"♬ original sound - tiff\" href=\"https://www.tiktok.com/music/original-sound-6689804660171082501?refer=embed\">♬ original sound - tiff</a> </section> </blockquote> <script async src=\"https://www.tiktok.com/embed.js\"></script>",
        "author_name": "Scout, Suki & Stella",
        "provider_url": "https://www.tiktok.com",
        "provider_name": "TikTok",
        "thumbnail_url": "https://p19-common-sign.tiktokcdn-eu.com/tos-maliva-p-0068/2367c7d45cf54a1397abd0e72bf22eac~tplv-tiktokx-origin.image?dr=10395&x-expires=1779555600&x-signature=QvIlsofgdFqS6R5BP7bMM%2B%2Fi5Bs%3D&t=4d5b0474&ps=13740610&shp=81f88b70&shcp=43f4a2f9&idc=no1a",
        "thumbnail_width": 576,
        "thumbnail_height": 1024
    },
    "meta": {
        "timestamp": "2026-05-21T17:51:19.160Z",
        "request_id": "bee1e158-7fed-4766-9483-d54325384837"
    },
    "status": "ok",
    "message": "Media retrieved successfully",
    "success": true
}