Fetching the catalog
Filtering by provider
To fetch only one provider’s routes:tokens, tokensapi, tokens-api.
An unknown value returns 400 with supportedProviders listed in the body.
Route entry shape
Each item inroutes[] is a CatalogRouteEntry:
Catalog envelope
The top-levelcatalog object reports:
Backwards compatibility: clients that only read
routes continue to work unchanged. The additional envelope fields are additive.
Using the catalog
Typical client flow:- Fetch
GET /v1/catalogonce on startup (or per reload). - Render routes grouped by
categories.providers. - For each user action, look up the matching
CatalogRouteEntry, build the request according toinputSchema, and fire it. - If
accessMode: "exact", let your x402 client library handle payment using the price from the402challenge. - If
accessMode: "ryvo-channel", sendX-Ryvo-Request-IdandRYVO-COMMITMENTwith the next cumulative channel amount. - If
accessMode: "siwx", let your client handle SIWX using theauthNetworksfrom the402challenge.
