Health

x402 resource discovery

Lists paid resources plus explicitly described payment capabilities, including the exact Run402 MPP Lightning charge profile on Bitcoin mainnet.

get/.well-known/x402

Request

  • Base URL: https://api.run402.com
  • URL: https://api.run402.com/.well-known/x402
  • Auth: none declared

Response

x402 resource list

versioninteger required
descriptionstring
instructionsstring
resourcesstring[] required

x402-gated resource URIs

resource_methodsobject required

Each resource in resources mapped to the HTTP methods that buy it (every one is ["POST"]; a GET answers 405 with Allow: POST). Run402 extension: the x402 discovery format carries no method.

mppResourcesstring[] required

MPP-gated resource URIs

Example response

{
  "version": 1,
  "resource_methods": {
    "https://api.run402.com/generate-image/v1": [
      "POST"
    ]
  }
}

Changes

No recorded changes to this operation across all 1 revision of this API.