{
"aiax_version": "0.1",
"section_id": "x402_template_download",
"purpose": "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.",
"inputs": {
"type": "object",
"properties": {}
},
"outputs": {
"type": "object",
"properties": {
"file": {
"type": "string"
},
"content_type": {
"type": "string"
},
"bytes": {
"type": "integer"
},
"sha256": {
"type": "string"
},
"files": {
"type": "integer"
},
"license": {
"type": "string"
}
}
},
"pricing": {
"model": "per_call",
"amount": "19",
"currency": "USDC",
"rail": "x402"
},
"examples": [
{
"description": "GET /x402-template/download, paid over x402 (USDC on Base); an unpaid call answers 402 with the terms.",
"request": {
"method": "GET",
"url": "https://api.youraitools.co/x402-template/download"
},
"response": {
"file": "x402-proxy-template-1.0.0.zip",
"content_type": "application/zip",
"bytes": 106030,
"sha256": "30d4eda0635bba7abcab617e0c258b1752ef0f2238dca877143b8dba8bbc9cc5",
"files": 30,
"license": "MIT"
}
}
],
"pact_mandate_template": null,
"extensions": {
"youraitools": {
"endpoint": "https://api.youraitools.co/x402-template/download",
"network": "eip155:8453",
"x402_versions": [
2,
1
],
"openapi": "https://api.youraitools.co/x402-template/openapi.json",
"preview": "https://api.youraitools.co/x402-template/",
"response_mime": "application/zip"
}
}
}
agentgate-source: code mirror on Cloudflare Pages. All repos