Use when you need the details of one YouTube video
scrapemole-api-mainnet.scrapemole.workers.dev/v1/youtube/video
Use when you need the details of one YouTube video: exact view count, like count, comment count, duration, publish/upload date, category, full description, keywords/tags, live status and thumbnail. Accepts a video URL, Shorts URL or 11-character ID. Unavailable/private videos and errors are not charged.
GET
https://scrapemole-api-mainnet.scrapemole.workers.dev/v1/youtube/videoUptime100% of 2 checks 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://scrapemole-api-mainnet.scrapemole.workers.dev/v1/youtube/video?lang=en&video=aircAruvnKk&country=US");
console.log(await res.json());Example input
{
"lang": "en",
"video": "aircAruvnKk",
"country": "US"
}