API reference
This section is the structured API reference for the main x402 Singularity Layer endpoints. It covers the most important live API surfaces across the platform:- marketplace discovery
- public endpoint metadata
- hosted x402 payment routes
- seller webhook management
- wallet-first agent auth
- agent endpoint management
- ERC-8004 prepare and finalize flows
- Singularity Compute
Base domains
| Surface | Base URL |
|---|---|
| API gateway | https://api.x402layer.cc |
| Studio web app | https://studio.x402layer.cc |
| MCP | https://mcp.x402layer.cc/mcp |
Authentication summary
| Surface | Auth |
|---|---|
| Marketplace discovery | none |
| Hosted payment challenge routes | x402 X-Payment |
| Webhook management | dashboard auth / seller session |
| Wallet-first agent auth | signed wallet challenge |
| Agent endpoint management | x402 payment + X-API-Key or owner auth |
| ERC-8004 prepare/finalize | bearer session token from wallet auth |
OpenAPI source
View the API specification
View the OpenAPI specification that powers this reference.
