Skip to main content
GET
/
p
/
{slug}
Access a paid product or return an x402 challenge
curl --request GET \
  --url https://api.x402layer.cc/p/{slug}
{
  "x402Version": 123,
  "accepts": [
    {
      "scheme": "<string>",
      "network": "<string>",
      "maxAmountRequired": "<string>",
      "resource": "<string>",
      "description": "<string>",
      "payTo": "<string>",
      "asset": "<string>"
    }
  ],
  "api_schema": {
    "baseUrl": "<string>",
    "routes": [
      {
        "path": "/users/{id}",
        "summary": "<string>",
        "parameters": [
          {
            "name": "<string>",
            "required": true,
            "description": "<string>",
            "example": "<string>"
          }
        ],
        "requestBody": {
          "fields": [
            {
              "name": "<string>",
              "required": true,
              "description": "<string>",
              "example": "<string>"
            }
          ],
          "example": "<string>"
        },
        "responseExample": "<string>"
      }
    ]
  }
}

Documentation Index

Fetch the complete documentation index at: https://docs.x402layer.cc/llms.txt

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

Path Parameters

slug
string
required

Response

Successful paid product response