Skip to main content
GET
/
api
/
x402
/
discover
Discover x402 payment requirements for a URL
curl --request GET \
  --url https://mag3nt.com/api/x402/discover \
  --header 'Authorization: <api-key>'
{
  "supports_x402": true,
  "payment_address": "<string>",
  "amount": 123,
  "asset": "<string>"
}

Authorizations

Authorization
string
header
required

API key prefixed with 'Bearer sx_live_...'

Query Parameters

url
string
required

Response

200 - application/json

Discovery result

supports_x402
boolean
payment_address
string
amount
asset
string