x402-paywall.huntercarver24.workers.dev
Hosts a file for an agent: upload up to 10 MB as base64 with its content type and get back a public download URL on this host that serves the bytes with that content type for 1 to 168 hours (default 24). Downloads are free, readable at once where uploaded and everywhere within about a minute. Executables are refused; HTML and SVG are served as attachments. A failed upload is not charged.
- Price per call
- $0.01
- Chain
- Base
- Method
- POST
- Paid calls · 30 days
- 1
Call it from code
This API is run by its own provider and paid directly through x402. We list it so you can find it; we don't route or hold the payment.
import { x402Client, wrapFetchWithPayment } from "@x402/fetch";
import { registerExactEvmScheme } from "@x402/evm/exact/client";
const client = new x402Client();
registerExactEvmScheme(client, { signer: agentAccount });
const pay = wrapFetchWithPayment(fetch, client);
const res = await pay("https://x402-paywall.huntercarver24.workers.dev/files", { method: "POST" });
console.log(await res.json());https://x402-paywall.huntercarver24.workers.dev/files