mayarin
GET
/x402/resources

The cross-merchant discovery index: every resource a merchant has opted into the public index, newest first. Pass merchant instead to read one merchant's resources — the per-merchant read is not paginated and is not limited to listed ones.

Nothing is listed by default. Listing only decides whether a discovery reader is shown a resource; an unlisted resource is still payable by anyone holding its URL, because the URL is the access control.

Query Parameters

limit?|

Page size. Defaults to 50, capped at 100.

cursor?string

Opaque cursor from the previous page's nextCursor.

merchant?string

Response Body

application/json

application/json

application/json

curl -X GET "https://example.com/x402/resources"
{  "resources": [    {      "id": "string",      "url": "string",      "description": "string",      "mimeType": "string"    }  ],  "nextCursor": "string"}