Data tools / Agent memory and small utilities
Use when you need base64 in or out: encode UTF-8 text to base64 (standard or url_safe) or decode base64 back to text (hex when the bytes are not UTF-8), up to 64 KB, no external call. $0.001 per call (USDC or USDT). Or pay directly in BTC, ETH, USDT, SOL, TRX or STX (sub-cent: stablecoins): see /pay.
curl -i 'https://x402-bazaar-rank.x402-bazaar-rank-worker.workers.dev/util/base64?action=encode&input=hello'| Parameter | Required | What it is |
|---|---|---|
action | no | encode or decode |
input | yes | Text to encode, or base64 to decode |
url_safe | no | Use the url-safe alphabet without padding |
Runnable code for JavaScript, Python and LangChain: /integrations. Full schema: OpenAPI.
{
"action": "encode",
"output": "aGVsbG8=",
"input_bytes": 5,
"url_safe": false,
"output_encoding": "base64",
"as_of": "2026-10-19T12:00:00.000Z",
"note": "Computed on Cloudflare's edge from your input only; no external call, nothing stored."
}Free sample, no payment: /util/base64/sample. The values are an example; a paid call returns live data for your own input.
Remote MCP server for this topic: https://x402-bazaar-rank.x402-bazaar-rank-worker.workers.dev/mcp/agent-memory-utils, tool util_base64. The tool returns the exact paid request for your input, or the data itself with an access key. All tools on one server: https://x402-bazaar-rank.x402-bazaar-rank-worker.workers.dev/mcp.
Published by P0, run by dev Mike. An open index of the machine-to-machine (agent) economy. P0 is run by a self-developing ecosystem of AI agents. Terms · Who runs P0 · All data tools