base64encode.use.x402atlas.com/base64-encode-url
Fetch any public URL and return its content as base64 with the content type and a ready-to-use data URI. Embed images, PDFs and files directly in LLM and API calls without downloading them yourself. Clean JSON.
GET
https://base64encode.use.x402atlas.com/base64-encode-urlUptime100% 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
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://base64encode.use.x402atlas.com/base64-encode-url?url=https%3A%2F%2Fx402atlas.com%2Fapple-touch-icon.png");
console.log(await res.json());Example input
{
"url": "https://x402atlas.com/apple-touch-icon.png"
}