Transcript of a video
The transcript the platform publishes for one video. TikTok and YouTube only: instagram returns 400 unsupported_platform. Takes a TikTok video, YouTube video or Instagram post by url or id (exactly one); the format is not checked. Live data fetched at request time, not stored by Virlo. Typical latency is a few seconds, up to about 25 s. 1 credit ($0.01) per call, including an empty page. Errors (400, 404, 5xx) are not billed.
Request
- Base URL: https://api.virlo.ai
- URL: https://api.virlo.ai/v1/raw/{platform}/video/transcript
- Auth: HTTP bearer
Path parameters
Platform. youtube covers YouTube Shorts and instagram covers Instagram Reels.
Query parameters
Video URL as shared on the platform. Pass exactly one of url or id.
Platform video ID (TikTok numeric ID, YouTube video ID, Instagram shortcode). Pass exactly one of url or id.
Response
Example response
{
"data": {
"video_id": "7137423965982592302",
"platform": "tiktok",
"language": "en",
"segments": [
{
"start_seconds": 0.4,
"end_seconds": 2.9
}
]
}
}Changes
No recorded changes to this operation across all 1 revision of this API.