Testnet Viewing Base Sepolia endpoints at https://test.x402labs.sh Testnet is currently the only deployed environment.
Documentation

Quick start

Discover pricing and make your first x402-protected scraping request.

1. Inspect the public contract

No authentication is needed to inspect the service:

curl https://test.x402labs.sh/v1/pricing
curl https://test.x402labs.sh/openapi.json

Pricing is dynamic. Read /v1/pricing before enforcing a maximum payment in your client.

2. Send a request

Open the live API reference and copy the representative request for the selected environment. The reference fetches it directly from /openapi.json, so the payload stays aligned with the deployed contract.

When payments are enabled, the API answers with 402 Payment Required and a machine-readable payment challenge. A compatible x402 client signs that challenge and repeats the request.

3. Use an x402 client

Configure your wallet in the client runtime, never in browser code or committed configuration. The client performs the challenge, payment, and retry sequence while your application handles the final JSON response.

The exact wrapper API depends on your x402 client version. Consult that client's documentation for wallet construction and network support; use the live reference's request example as its payload.

Next steps

Read x402 payments for the protocol flow or scraping to choose the right endpoint.