Inspect any audio/video URL with ffprobe
agent402.tools/api/media-info
Inspect any audio/video URL with ffprobe: container, duration, bitrate, and per-stream codec details (sample rate/channels for audio, resolution/fps for video) as JSON. Only audio is decoded: a video, image or subtitle stream is read from the container headers and carries decoded: false, with null for a resolution only its decoder would know. Body: {"url":"https://…/file.mp4"}.
POST
https://agent402.tools/api/media-infoUptimeNot checked yet
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
import { createPayer } from "fourohtwo";
// One agent key pays USDC on Base or USDG on Robinhood Chain,
// inside the spending rules you set on Fourohtwo.
const pay = createPayer({ privateKey: process.env.AGENT_KEY });
const res = await pay("https://agent402.tools/api/media-info", {
method: "POST",
headers: { "content-type": "application/json" },
body: JSON.stringify({"url":"https://agent402.tools/fixtures/sample-audio.wav"}),
});
console.log(await res.json());Example input
{
"url": "https://agent402.tools/fixtures/sample-audio.wav"
}