Api Endpoint

Glim YouTube Fetch

Fetch a YouTube transcript from a video URL or 11-char id (video_id, also accepted as ref or url); returns a presigned download URL to the transcript

Open interactive test console

Offering

Provider
glim.sh
Method
POST
Offering type
Api Endpoint
Transport type
http
Category
Social Intelligence
Delivery
Not provided
Pricing model
Not provided
x402 version
2

Endpoint context

URL
https://glim.sh/api/v1/youtube/get
MIME type
Not provided
First seen
2026-10-16T01:50:06.715Z
Last seen
Tags
Twitter, Reddit, Web, GitHub, Search

Payment pricing

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

Payment option 1
0.01 USDC
Atomic price: 10000 · Network: solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp · Asset: USDC · Scheme: exact
Payment option 2
0.01 USDC
Atomic price: 10000 · Network: eip155:8453 · Asset: USDC · Scheme: exact
Payment option 3
0.01 USDC
Atomic price: 10000 · Network: eip155:143 · Asset: USDC · Scheme: exact
Raw x402 terms
[
  {
    "scheme": "exact",
    "network": "solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp",
    "asset": "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v",
    "amount": "10000",
    "payTo": "9MkM5Ra48KFcSv9HDQ8sb3C3r5HjouEwGQ6sp1cx1vde"
  },
  {
    "scheme": "exact",
    "network": "eip155:8453",
    "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
    "amount": "10000",
    "payTo": "0xC751344Ee09B5159160173F77D4a1169bCd386A1"
  },
  {
    "scheme": "exact",
    "network": "eip155:143",
    "asset": "0x754704Bc059F8C67012fEd69BC8A327a5aafb603",
    "amount": "10000",
    "payTo": "0xC751344Ee09B5159160173F77D4a1169bCd386A1"
  }
]

Observed health

Status
Healthy
Latest latency
1281 ms
Average latency
1183 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

{
  "additionalProperties": false,
  "properties": {
    "body": {
      "description": "Input for POST /youtube/get",
      "properties": {
        "format": {
          "default": "inline",
          "description": "'inline' (default): include the transcript in the response when it fits the inline cap; otherwise omit it and set transcript_omitted_reason. 'url': never include the transcript; caller fetches download_url. download_url is always present.",
          "enum": [
            "inline",
            "url"
          ],
          "type": "string"
        },
        "language_code": {
          "default": "en",
          "description": "ISO 639-1 language code (e.g. 'en', 'de', 'fr')",
          "maxLength": 10,
          "minLength": 2,
          "type": "string"
        },
        "origin": {
          "default": "uploader_provided",
          "description": "'uploader_provided' for human captions (default), 'auto_generated' for YouTube auto-captions.",
          "enum": [
            "uploader_provided",
            "auto_generated"
          ],
          "type": "string"
        },
        "video_id": {
          "description": "YouTube video URL or 11-char video id (e.g. https://youtu.be/dQw4w9WgXcQ, https://www.youtube.com/watch?v=dQw4w9WgXcQ, or dQw4w9WgXcQ). Also accepted as `ref` or `url`.",
          "minLength": 1,
          "type": "string"
        }
      },
      "required": [
        "video_id"
      ],
      "type": "object"
    },
    "bodyType": {
      "enum": [
        "json",
        "form-data",
        "text"
      ],
      "type": "string"
    },
    "method": {
      "enum": [
        "POST"
      ],
      "type": "string"
    },
    "type": {
      "const": "http",
      "type": "string"
    }
  },
  "required": [
    "type",
    "method",
    "bodyType",
    "body"
  ],
  "type": "object"
}

Output schema

{
  "type": "json",
  "example": {
    "origin": "uploader_provided",
    "video_id": "dQw4w9WgXcQ",
    "expires_at": "2026-04-21T13:00:00Z",
    "size_bytes": 4096,
    "content_type": "text/vtt",
    "download_url": "https://...presigned...",
    "length_chars": 3500,
    "language_code": "en"
  }
}