Api Endpoint

agdata

YouTube transcript API for AI agents: send a video URL or 11-character id and get its published subtitles as timed JSON segments, plain text, SRT or WebVTT, with title, channel, duration, views and publish date. Choose one of ten subtitle languages or any. No speech-to-text. A video without subtitles in that language is not charged.

Open interactive test console

Offering

Provider
agdata.shveik.dev
Method
POST
Offering type
Api Endpoint
Transport type
http
Category
Creative
Delivery
Not provided
Pricing model
Not provided
x402 version
2

Endpoint context

URL
https://agdata.shveik.dev/x402/youtube-transcript
MIME type
application/json
First seen
2026-10-16T01:50:45.949Z
Last seen
Tags
YouTube, youtube-transcript, transcript, subtitles, captions

Payment pricing

x402 payment terms are the authoritative price for calling this endpoint.

Payment option 1
0.024 USDC
Atomic price: 24000 · Network: eip155:8453 · Asset: USDC · Scheme: exact
Payment option 2
0.024 USDC
Atomic price: 24000 · Network: eip155:137 · Asset: USDC · Scheme: exact
Raw x402 terms
[
  {
    "scheme": "exact",
    "network": "eip155:8453",
    "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
    "amount": "24000",
    "payTo": "0xbBa594F5549392DF7A8182049291b605948F5F86"
  },
  {
    "scheme": "exact",
    "network": "eip155:137",
    "asset": "0x3c499c542cEF5E3811e1192ce70d8cC03d5c3359",
    "amount": "24000",
    "payTo": "0x5893209222F2C959Eb5D4C6CD2828b06845e57BE"
  }
]

Observed health

Status
Healthy
Latest latency
312 ms
Average latency
825 ms
HTTP status
204
Last checked
Reachability
100% over 14 checks

Latency is measured to the first response headers. A reachable result does not verify response accuracy or merchant identity.

Input schema

{
  "properties": {
    "body": {
      "additionalProperties": false,
      "properties": {
        "format": {
          "enum": [
            "json",
            "text",
            "srt",
            "vtt"
          ],
          "type": "string"
        },
        "lang": {
          "enum": [
            "any",
            "en",
            "de",
            "es",
            "fr",
            "it",
            "ja",
            "ko",
            "nl",
            "pt",
            "ru"
          ],
          "type": "string"
        },
        "video": {
          "maxLength": 2048,
          "type": "string"
        }
      },
      "required": [
        "video"
      ],
      "type": "object"
    },
    "bodyType": {
      "enum": [
        "json"
      ],
      "type": "string"
    },
    "method": {
      "enum": [
        "POST"
      ],
      "type": "string"
    },
    "type": {
      "const": "http"
    }
  },
  "required": [
    "type",
    "method",
    "bodyType",
    "body"
  ],
  "type": "object"
}

Output schema

{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "properties": {
    "input": {
      "properties": {
        "body": {
          "additionalProperties": false,
          "properties": {
            "format": {
              "enum": [
                "json",
                "text",
                "srt",
                "vtt"
              ],
              "type": "string"
            },
            "lang": {
              "enum": [
                "any",
                "en",
                "de",
                "es",
                "fr",
                "it",
                "ja",
                "ko",
                "nl",
                "pt",
                "ru"
              ],
              "type": "string"
            },
            "video": {
              "maxLength": 2048,
              "type": "string"
            }
          },
          "required": [
            "video"
          ],
          "type": "object"
        },
        "bodyType": {
          "enum": [
            "json"
          ],
          "type": "string"
        },
        "method": {
          "enum": [
            "POST"
          ],
          "type": "string"
        },
        "type": {
          "const": "http"
        }
      },
      "required": [
        "type",
        "method",
        "bodyType",
        "body"
      ],
      "type": "object"
    }
  },
  "required": [
    "input"
  ],
  "type": "object"
}