AgentUtility.ai · Youtube Transcript

by AgentUtility.ai

POSTBaseSolana

$0.01

per call · USD Coin on Base

Fetch the transcript of any YouTube video. Pulls auto-generated or manual captions and returns full text plus per-segment {start, duration, text}, with an optional language pick. Backed by Supadata's transcript pipeline server-side — no caller key required; returns a clear 404 when a video has no transcript. Use it as a YouTube closed-caption fetcher or video subtitles puller.

Endpoint

POST https://x402.agentutility.ai/youtube-transcript

4

Calls / 30d

2

Unique payers / 30d

Aug 26

Last called

exact

Payment scheme

Call this service

TypeScript · @x402/fetch
import { wrapFetchWithPayment } from "@x402/fetch";
import { privateKeyToAccount } from "viem/accounts";

const account = privateKeyToAccount(process.env.PRIVATE_KEY);
const fetchWithPay = wrapFetchWithPayment(fetch, account);

const res = await fetchWithPay("https://x402.agentutility.ai/youtube-transcript", {
  method: "POST",
  headers: { "Content-Type": "application/json" },
  body: JSON.stringify({
    "video_id_or_url": "dQw4w9WgXcQ"
  }),
});
const data = await res.json();
cURL
curl -X POST \
  "https://x402.agentutility.ai/youtube-transcript" \
  -H "Content-Type: application/json" \
  -d '{"video_id_or_url":"dQw4w9WgXcQ"}' \
  -H "X-PAYMENT: <signed x402 payment>"

Example response

{
  "channel": null,
  "channel_id": null,
  "chapters": null,
  "char_count": 60,
  "duration_seconds": null,
  "is_auto_generated": null,
  "language": "en",
  "segment_count": 2,
  "segments": [
    {
      "duration": 4.5,
      "start": 0,
      "text": "We're no strangers to love"
    },
    {
      "duration": 4,
      "start": 4.5,
      "text": "You know the rules and so do I"
    }
  ],
  "source": "supadata",
  "text": "We're no strangers to love. You know the rules and so do I.",
  "title": null,
  "video_id": "dQw4w9WgXcQ"
}

Payment details

Pay to0x6c0752c09e7f6fa6526fcdf40e456a159ebb5621
AssetUSD Coin · 0x833589fcd6edb6e08f4c7c32d4f71b54bda02913
NetworksBase, Solana
Schemesexact

Is this your API?

Pin it to the top of Social & Community and the homepage with a featured placement.

Get featured →

More from AgentUtility.ai & similar services

AgentUtility.ai · Stocks News

x402.agentutility.ai

Fetches recent stock market news on equities, earnings, IPOs, the Fed, and macro from GDELT with a GNews fallback when configured, returning headline metadata with sentiment and source domains. The equities companion to crypto-news. Data-only news digests; no price prediction, trading advice, or order routing. Use it as a stocks news API, equities news feed, earnings news source, or Wall Street headlines for agents.

POSTBaseMarket Data
$0.005 / call280 calls / 30d

AgentUtility.ai · Search Site

x402.agentutility.ai

Site/domain-scoped search via Decodo Google results. If primary search is quota-limited, a best-effort fallback maps site: to GDELT domain: and returns marked degraded recent public-news results (https://www.gdeltproject.org/); fallback recency is capped at 168 hours and only news-indexed pages can appear. Use it as a domain-search API for agents.

POSTBaseSearch & Web
$0.006 / call83 calls / 30d

AgentUtility.ai · Recent Tweet Search

x402.agentutility.ai

Repeat a saved recent-tweet search to monitor a brand, topic, or phrase over time. Send the same query, language, and max_results on each check; it returns recent public post text, timestamps, metrics, and expanded author profiles. If native X search cannot answer, the tweets array contains clearly labeled public-index results with degraded: true instead of an empty paid response. Read-only: no posting, replying, liking, following, or direct-message access. Use it as a recent tweet search API, Twitter monitoring API, saved-query watchlist, or X public-post search.

POSTBaseSocial & Community
$0.006 / call75 calls / 30d