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: Bearer <token>'
{
  "supports_x402": true,
  "payment_address": "<string>",
  "amount": 123,
  "asset": "<string>"
}

Documentation Index

Fetch the complete documentation index at: https://docs.mag3nt.com/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

Session token from POST /api/auth/verify

Query Parameters

url
string
required

Response

200 - application/json

Discovery result

supports_x402
boolean
payment_address
string
amount
number
asset
string