Ax402Docs
SDKS

SDK overview

Control plane + buyer across languages

Ax402 SDKs provide buyer helpers to pay gateway URLs and control-plane clients to manage APIs, endpoints, domains, and keys. They ship from the ax402-sdks repository.

npm packages

Go module: github.com/AxLabs/ax402-sdks/go. Python: ax402-sdk (source in ax402-sdks; PyPI coming soon).

Paying gateway URLs

Start here if you consume paid APIs. Buyer clients sign x402 payments against gateway hostnames — not AX402_BASE_URL.

  • Env: AX402_EVM_PRIVATE_KEY (same as CLI pay url and MCP)
    • Example: https://my-api.ax402.io/v1/foo
    • Batch-settlement: TypeScript, Go, and Python buyer modules; browser wallet via React paywall

Control plane (seller automation)

On this page