A YouTube channel's latest videos, shorts or live streams
x402-wallet-balances.vercel.app/youtube
A YouTube channel's latest videos, shorts or live streams: title, views, likes, publish date, duration, description and thumbnail, plus channel id, handle, subscribers and video count. Pass @handle, channel URL or UC id; up to 100 videos, optional publishedWithinDays. No API key or quota. Not charged on 400, 404 or 502.
GET
https://x402-wallet-balances.vercel.app/youtubeUptime100% of 1 check in 30 days
30 days agoToday
Try it
Pays from your browser wallet in USDC on Base or USDG on Robinhood Chain, whichever the endpoint takes. The provider is paid directly; failed calls aren't refunded by Fourohtwo.
The response shows up here.
Call it from an agent
// npm install fourohtwo
import { createPayer } from "fourohtwo";
// One agent key pays USDC on Base or USDG on Robinhood Chain, inside your spending rules.
const pay = createPayer({ privateKey: process.env.AGENT_KEY, maxPerCallUsd: "0.05" });
const res = await pay("https://x402-wallet-balances.vercel.app/youtube?channel=%40mkbhd&limit=2");
console.log(await res.json());Example input
{
"channel": "@mkbhd",
"limit": "2"
}