Skip to main content
GET
/
e
/
{slug}
Access a paid endpoint or return an x402 challenge
curl --request GET \
  --url https://api.x402layer.cc/e/{slug}
{
  "x402Version": 123,
  "accepts": [
    {
      "scheme": "<string>",
      "network": "<string>",
      "maxAmountRequired": "<string>",
      "resource": "<string>",
      "description": "<string>",
      "payTo": "<string>",
      "asset": "<string>"
    }
  ]
}

Path Parameters

slug
string
required

Query Parameters

action
enum<string>
Available options:
purchase

Response

Successful paid endpoint response