Skip to content
Fourohtwo

Guess extension from MIME type

api.delx.ai/api/v1/x402/ext-from-mime

Guess extension from MIME type. Call when you name agent-generated files from content-type. Returns ext, mime, known for $0.001 USDC via x402 on Base. No network, no keys, no retention; first-party local JSON only. Results are advisory; the caller owns budgets, auth, and production controls.

BaseUnchecked
https://api.delx.ai/api/v1/x402/ext-from-mime

UptimeNot 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://api.delx.ai/api/v1/x402/ext-from-mime");
console.log(await res.json());