Criffy Public API
Criffy exposes a public REST API for Pro+ market data integrations. API keys are created and managed from the signed-in Criffy dashboard, then used as Bearer tokens against the public data endpoints.Quickstart
- Buy or upgrade to a Pro+ plan.
- Generate an API key from Settings -> API in the Criffy dashboard.
- Call a public data endpoint with the key:
- Use Querying Data and API Reference to add filters, pagination, and history windows.
What is available
The public REST API lets Pro+ users query:GET /api/v1/exchangesGET /api/v1/exchanges/{slug}GET /api/v1/walletsGET /api/v1/wallets/{slug}GET /api/v1/protocolsGET /api/v1/protocols/{slug}GET /api/v1/currenciesGET /api/v1/currencies/{slug}GET /api/v1/earnGET /api/v1/earn/{id}GET /api/v1/earn/{id}/historyGET /api/v1/borrowGET /api/v1/borrow/{id}GET /api/v1/borrow/{id}/historyGET /api/v1/collateralGET /api/v1/collateral/{id}GET /api/v1/collateral/{id}/history
Access model
All public data endpoints under/api/v1/* require:
Authorization: Bearer <api_key>- An active Criffy
Pro+subscription
00:00 UTC.
Dashboard key management is separate from the Bearer-auth public data API. External integrations should only use the generated API key as a Bearer token.
Contract highlights
- List endpoints return a stable
{ data, pagination }envelope. - Decimal finance values are serialized as strings to preserve precision.
- Timestamps are ISO 8601 strings in UTC.
- Renamed slug-based resources can return
301 Moved Permanentlyto the current slug. GET /api/v1/currencies/{slug}returns the currency plus relatedearn_offers,borrow_offers, andcollateral_offers.GET /api/v1/collateral/{id}/historyis part of the contract but returns404 not_foundbecause collateral history is not stored.
Visibility and offer status
Platform and currency resources are exposed only when they are published and not delisted. Hidden or delisted resources are not part of the public API surface. Offer availability is different: published earn, borrow, and collateral offers can still be returned when they are not currently usable. Earn offers expose this withavailable; borrow and collateral offers expose this with is_active. Treat these fields as runtime status signals before showing an offer as actionable.
Next steps
- Read Authentication to set up Bearer access.
- Read Errors and Limits to understand quotas, retry behavior, and shared error envelopes.
- Read Querying Data for pagination, filtering, and history window rules.
- Read Get Your API Key to understand key creation, rotation, and storage.
- Browse the generated endpoint pages under API Reference.

