Api Endpoint

FastAF

YouTube transcript and video search API for AI agents: retrieve timestamped transcript segments by video ID or find videos by keyword. Returns JSON transcripts with text, start and duration, or video search results for content research and summarization. Provided by FastAF YouTube Transcript & Metadata. Price: $0.005000 USDC per successful call. Docs: https://fastaf.co

Open interactive test console

Offering

Provider
api.fastaf.co
Method
GET
Offering type
Api Endpoint
Transport type
http
Category
Other
Delivery
Not provided
Pricing model
Not provided
x402 version
2

Endpoint context

URL
https://api.fastaf.co/x402/v1/youtube
MIME type
application/json
First seen
2026-10-23T22:46:46.158Z
Last seen
Tags
Data, scraping, web-data, api, Agents

Payment pricing

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

Payment option 1
0.005 USDC
Atomic price: 5000 · Network: eip155:8453 · Asset: USDC · Scheme: exact
Raw x402 terms
[
  {
    "scheme": "exact",
    "network": "eip155:8453",
    "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
    "amount": "5000",
    "payTo": "0x05B75e13f071A09A26B50a18Ce5BD02a0755d76F"
  }
]

Observed health

Status
Healthy
Latest latency
838 ms
Average latency
541 ms
HTTP status
402
Last checked
Reachability
100% over 16 checks

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

Input schema

{
  "type": "object",
  "properties": {
    "type": {
      "type": "string",
      "const": "http"
    },
    "method": {
      "type": "string",
      "enum": [
        "GET"
      ]
    },
    "queryParams": {
      "type": "object",
      "properties": {
        "resource": {
          "type": "string",
          "enum": [
            "transcript",
            "search"
          ]
        },
        "v": {
          "type": "string"
        },
        "search_query": {
          "type": "string"
        },
        "country": {
          "type": "string"
        },
        "language": {
          "type": "string"
        },
        "sp": {
          "type": "string"
        }
      }
    }
  },
  "required": [
    "type",
    "method"
  ]
}

Output schema

{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "description": "YouTube transcript and video search API for AI agents: retrieve timestamped transcript segments by video ID or find videos by keyword. Returns JSON transcripts with text, start and duration, or video search results for content research and summarization.",
  "properties": {
    "docsUrl": {
      "format": "uri",
      "type": "string"
    },
    "homepage": {
      "format": "uri",
      "type": "string"
    },
    "input": {
      "additionalProperties": false,
      "properties": {
        "method": {
          "enum": [
            "GET"
          ],
          "type": "string"
        },
        "queryParams": {
          "additionalProperties": false,
          "anyOf": [
            {
              "required": [
                "v"
              ]
            },
            {
              "properties": {
                "resource": {
                  "const": "search"
                }
              },
              "required": [
                "resource",
                "search_query"
              ]
            }
          ],
          "description": "YouTube transcript lookup using resource=transcript and video ID v. Video search instead requires resource=search and search_query.",
          "examples": [
            {
              "language": "en",
              "resource": "transcript",
              "v": "jNQXAC9IVRw"
            }
          ],
          "properties": {
            "country": {
              "description": "Two-letter YouTube country code, e.g. us or gb; upstream default us for search/transcripts. No option surcharge; transcript costs 1 credit, search 5 credits per request.",
              "maxLength": 8192,
              "type": "string"
            },
            "language": {
              "description": "YouTube language code, e.g. en, es or de; upstream default en. For transcripts, requests the available caption language; no translation is guaranteed. No option surcharge; transcript costs 1 credit, search 5 credits per request.",
              "examples": [
                "en"
              ],
              "maxLength": 8192,
              "type": "string"
            },
            "resource": {
              "default": "transcript",
              "description": "YouTube operation: transcript (default) or search. No option surcharge; transcript costs 1 credit, search 5 credits per request.",
              "enum": [
                "transcript",
                "search"
              ],
              "examples": [
                "transcript"
              ],
              "type": "string"
            },
            "search_query": {
              "description": "Required YouTube search text for resource=search, e.g. espresso tutorial. Not valid for transcript; no default. No option surcharge; transcript costs 1 credit, search 5 credits per request.",
              "maxLength": 8192,
              "type": "string"
            },
            "sp": {
              "description": "YouTube search filter or continuation token copied from a search URL/previous response; search only. Omit for the first unfiltered page. Each page is a separate request. No option surcharge; transcript costs 1 credit, search 5 credits per request.",
              "maxLength": 8192,
              "type": "string"
            },
            "v": {
              "description": "Required YouTube video ID for transcript, e.g. jNQXAC9IVRw, not the watch URL. Not valid for search; no default. No option surcharge; transcript costs 1 credit, search 5 credits per request.",
              "examples": [
                "jNQXAC9IVRw"
              ],
              "maxLength": 8192,
              "type": "string"
            }
          },
          "type": "object"
        },
        "type": {
          "const": "http",
          "type": "string"
        }
      },
      "required": [
        "type",
        "method"
      ],
      "type": "object"
    },
    "openApiUrl": {
      "format": "uri",
      "type": "string"
    },
    "output": {
      "properties": {
        "example": {
          "additionalProperties": true,
          "description": "YouTube transcript JSON: transcripts contains text segments with start and duration in seconds. resource=search returns video_results instead.",
          "properties": {
            "transcripts": {
              "items": {
                "additionalProperties": true,
                "properties": {
                  "duration": {
                    "type": "number"
                  },
                  "start": {
                    "type": "number"
                  },
                  "text": {
                    "type": "string"
                  }
                },
                "type": "object"
              },
              "type": "array"
            }
          },
          "type": "object"
        },
        "type": {
          "type": "string"
        }
      },
      "required": [
        "type"
      ],
      "type": "object"
    },
    "website": {
      "format": "uri",
      "type": "string"
    }
  },
  "required": [
    "input"
  ],
  "title": "FastAF YouTube Transcript & Metadata",
  "type": "object"
}