Skip to main content

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

SurfaceBase URL
API gatewayhttps://api.x402layer.cc
Studio web apphttps://studio.x402layer.cc
MCPhttps://mcp.x402layer.cc/mcp

Authentication summary

SurfaceAuth
Marketplace discoverynone
Hosted payment challenge routesx402 X-Payment
Webhook managementdashboard auth / seller session
Wallet-first agent authsigned wallet challenge
Agent endpoint managementx402 payment + X-API-Key or owner auth
ERC-8004 prepare/finalizebearer session token from wallet auth

OpenAPI source

View the API specification

View the OpenAPI specification that powers this reference.