Set your network, where the proxy runs, your API, prices, and wallet. The install command updates as you go — copy it when every step is done.
Takes about 5 minutes.
OpenAPI specification
Where the proxy loads your API definition (openapi.json). Used for route discovery and the directory listing.
Fetch openapi.json from a URL the proxy container can reach.
Point at a file or folder on the install host. The installer copies openapi.json or swagger.json into the proxy data volume.
Per-route prices can't auto-import from a local path in your browser. To price individual routes below, upload the same openapi.json, paste its JSON, or add rows by hand.
6. Run this on your server
This command is enough to install the proxy, apply your choices, and start it with Docker Compose.
⚠ Enter your own wallet address above first — the command still points at the example placeholder, so payments would be lost.
# Set your wallet address above to generate the install command.
Your choices above are baked into the command. After it finishes, the proxy is running and (if you opted in) listed on xpayapi.com.
7. Confirm it works
Once the proxy is running, check it answers and that paid routes ask for payment.
# Health check — replace with your domain
curl https://crypto-api.example.com/health
# A paid route returns 402 Payment Required until payment is attached
curl -i https://crypto-api.example.com/openapi.json
To make a real paid call, point a wallet-enabled client (mppx/client, tempo request, or AgentCash) at the same route — it pays the quote and retries automatically.