API Reference Overview
This section is generated from a checked-in OpenAPI document and organized into:- Platforms
- Offers
- Public data schemas, examples, and shared errors
Base URL
All documented REST endpoints use:Authentication summary
- Every documented
/api/v1/*public data endpoint requiresAuthorization: Bearer <api_key>and an active CriffyPro+subscription. - Buy or upgrade to Pro+ from Pricing.
- API keys are created, rotated, revoked, and monitored from Settings -> API in the Criffy dashboard.
- Pro+ API keys currently include 60 requests per minute and 100,000 requests per calendar month. Monthly quota resets on the 1st day of each month at
00:00 UTC. - Dashboard key management is separate from the Bearer-auth public data API. External integrations should use Bearer authentication only.
Resource families
- Platform resources: exchanges, wallets, protocols
- Currency resources: currencies plus related offers on detail
- Offer resources: earn, borrow, collateral
- History resources: time-series data for earn and borrow offers
Contract highlights
- List endpoints return
{ data, pagination }. - Decimal monetary, APY, TVL, and LTV values are serialized as strings when precision matters.
- Detail endpoints for slug-based resources can return
301 Moved Permanentlywith aLocationheader when the slug was renamed. GET /api/v1/currencies/{slug}embeds relatedearn_offers,borrow_offers, andcollateral_offers.GET /api/v1/collateral/{id}/historyis included for contract consistency but currently returns404 not_found.
Visibility and offer status
Platform and currency indexes include only published, non-delisted resources. Public offer indexes include published offers; runtime status is reported in the response instead of being used as a visibility filter. Useavailable on earn offers and is_active on borrow or collateral offers to decide whether a returned offer is currently usable. These fields can be false on list responses, detail responses, and offers embedded in GET /api/v1/currencies/{slug}.
Generated pages
Mintlify generates the endpoint pages in this section directly from the OpenAPI spec, including:- Request parameters
- Authentication controls in the API playground
- Response schemas
- Shared error responses
- Reusable examples

