Skip to content
Fourohtwo

x402-catalog-history.ai-business-surface.workers.dev/base64

Base64 encode or decode text in one GET, with URL-safe output and the byte counts. Returns result, action, bytes, result_chars and sha256. Decoding accepts standard and URL-safe alphabets with or without padding and returns UTF-8 text only; invalid Base64 or non-UTF-8 bytes are 400 before payment. curl: GET /base64?data=hello&action=encode . Response: {"result":"aGVsbG8=","bytes":5,...}. data at m

BaseAnswering
GEThttps://x402-catalog-history.ai-business-surface.workers.dev/base64

Uptime100% of 3 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://x402-catalog-history.ai-business-surface.workers.dev/base64?data=hello&action=encode");
console.log(await res.json());

Example input

{
  "data": "hello",
  "action": "encode"
}