YouTube video transcript extraction with per-segment timing
YouTube video transcript extraction with per-segment timing. Returns the caption track as timed segments (start, duration, text) plus the full plain text, or as SRT subtitles. Uses the creator's manual captions when they exist and falls back to YouTube automatic captions. Never downloads media, so it stays fast and light. Cached per video and language. Use it to summarize a talk, quote a video with timestamps, or search inside video content.
3000 (raw units)
price
5
calls / 30d
3
unique payers
2026-08-30
updated
Provider
video.cyberwarex.com · discovered, not yet claimed by its owner
Payment (x402 accepts[])
[
{
"scheme": "exact",
"network": "eip155:8453",
"payTo": "0x058D0Cc5CC97e61e8A9f38D6d6365bce525921B2",
"asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
"amount": "3000",
"maxTimeoutSeconds": 300
}
]Output schema
{
"bazaar": {
"info": {
"input": {
"method": "GET",
"queryParams": {
"format": "json",
"lang": "en",
"url": "https://www.youtube.com/watch?v=arj7oStGLkU"
},
"type": "http"
},
"output": {
"example": {
"lang": "en",
"segments": [
{
"dur": 3.44,
"start": 0.32,
"text": "Welcome back to the channel."
},
{
"dur": 2.88,
"start": 3.76,
"text": "Today we are talking about agents."
}
],
"source": "manual",
"text": "Welcome back to the channel. Today we are talking about agents. ...",
"video_id": "arj7oStGLkU"
},
"type": "json"
}
},
"schema": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"input": {
"additionalProperties": false,
"properties": {
"method": {
"enum": [
"GET",
"HEAD",
"DELETE"
],
"type": "string"
},
"queryParams": {
"additionalProperties": false,
"properties": {
"format": {
"default": "json",
"description": "json returns timed segments; text and srt return text/plain.",
"enum": [
"json",
"text",
"srt"
],
"type": "string"
},
"lang": {
"default": "en",
"description": "Preferred caption language code, e.g. en, es, de.",
"type": "string"
},
"url": {
"description": "YouTube video URL or bare 11-character video id.",
"format": "uri",
"type": "string"
}
},
"required": [
"url"
],
"type": "object"
},
"type": {
"const": "http",
"type": "string"
}
},
"required": [
"type",
"method"
],
"type": "object"
},
"output": {
"properties": {
"example": {
"properties": {
"lang": {
"type": "string"
},
"segments": {
"description": "Timed caption segments in seconds.",
"items": {
"properties": {
"dur": {
"type": "number"
},
"start": {
"type": "number"
},
"text": {
"type": "string"
}
},
"type": "object"
},
"type": "array"
},
"source": {
"description": "Whether captions were creator-supplied or auto-generated.",
"enum": [
"manual",
"auto"
],
"type": "string"
},
"text": {
"description": "Full transcript as plain text.",
"type": "string"
},
"video_id": {
"type": "string"
}
},
"type": "object"
},
"type": {
"type": "string"
}
},
"required": [
"type"
],
"type": "object"
}
},
"required": [
"input"
],
"type": "object"
}
}
}Use it
curl
curl "https://video.cyberwarex.com/transcript" # -> 402 Payment Required, accepts[] lists how to pay # retry with a PAYMENT-SIGNATURE (or PAYMENT header) once paid
JavaScript
const res = await fetch("https://video.cyberwarex.com/transcript");
if (res.status === 402) {
const { accepts } = await res.json();
// pay one of accepts[] via an x402 client, then retry with the payment header
}Python
import httpx
res = httpx.get("https://video.cyberwarex.com/transcript")
if res.status_code == 402:
accepts = res.json()["accepts"]
# pay one of accepts[] via an x402 client, then retry with the payment headerMachine-readable
Everything on this page is also available as clean JSON at /resources/6858.json, and this resource appears in /discovery/resources and /discovery/search.