Pay-per-request context for autonomous agents

Understand the video.
Skip the watching.

Give an agent a public YouTube URL. Get clean transcript text, timestamped segments, model-sized chunks, and source citations in a single JSON response.

From $0.003per successful request
USDCBase or Solana over x402
No accountno API key or subscription
request.json
01 — Request
POST /v1/youtube/transcript
content-type: application/json

{
  "url": "https://youtube.com/watch?v=…",
  "language": "en",
  "maxChunkCharacters": 2400
}
02 — Context
{
  "video": { "id": "…", "title": "…" },
  "transcript": {
    "language": "en",
    "source": "manual",
    "segments": [ … ]
  },
  "chunks": [{
    "text": "Agent-ready context…",
    "citation": {
      "label": "2:14–2:52",
      "url": "https://youtube.com/watch?v=…&t=134s"
    }
  }]
}
Unpaid requests return discoverable x402 payment requirements. Failed extractions are not settled.
Resources

Three small tools.
One clean interface.

POST$0.005
/v1/youtube/search

Find transcript passages that match a phrase or terms and return only the strongest evidence with source deep links.

  • Deterministic lexical ranking
  • Exact phrase bonus
  • Bounded context windows
  • Up to ten cited matches
POST$0.003
/v1/transcripts/context

Turn supplied text, WebVTT, SRT, or timestamped segments into model-sized chunks without calling YouTube.

  • Up to 1 MB per request
  • Configurable chunk size
  • Stable segment timing
  • Optional source links
1Call

Send the video URL and language.

→
2Pay

Your client signs the x402 requirement.

→
3Reason

Inject cited chunks into the agent context.

DESIGNED FOR MACHINES

The response agents actually need.

01

Citations, not mystery text. Every chunk carries its time range and a deep link to the source moment.

02

Pay only on success. x402 settlement happens after a successful handler response. Captionless and unavailable videos return errors without settlement.

03

Discoverable by other agents. All three resources declare exact Bazaar schemas, examples, pricing, and service metadata.