x402 Proxy Template
Download the x402 Proxy Template v1.0.0 (zip, MIT): a Cloudflare Worker that puts an x402 paywall (USDC on Base, x402 v2 + v1) in front of any HTTP API from one config file, with Bazaar discovery metadata, OpenAPI, remote + stdio MCP, OpenAPI importer, mock API, smoke test, 11 tests, quickstart and deploy guide.
- Price per call
- $19.00
- Chain
- Base
- Method
- GET
- Paid calls · 30 days
- 0
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://api.youraitools.co/x402-template/download", { method: "GET" });
console.log(await res.json());https://api.youraitools.co/x402-template/download