https://api.crevio.co/v1. Use it to build custom websites, sync data with other systems, generate content, and run autonomous AI work.
This page is the hub. For the rules every endpoint follows see Conventions; for failure handling see Errors; to get going fast see the Quickstart.
Authentication
Every request is authenticated with a bearer token sent in theAuthorization header.
401. See the Quickstart for the full setup.
Base URL
What you can build on
Crevio’s primitives span the whole business, not just commerce. Operations marked metered consume credits (see Usage & billing).Almost every operation here is also available to AI agents over MCP — you can script it, or just ask the agent to do it.
Core conventions, in brief
- Unwrapped params — fields go at the top level, not under a resource key.
- Associations — bare name + prefixed id (
product: "prod_abc123", notproduct_id). - Money — integer cents, lowercase currency (
amount: 4900,currency: "usd"). - Lists — return
{ object: "list", data: [...], has_more }; single resources return the object directly. - IDs — prefixed strings (
prod_,cus_,price_,ord_…) that encode the type.
Errors
Failures return a JSON envelope you can branch on:Rate limiting
Crevio allows 600 requests per 60-second window per credential. Every response carriesX-RateLimit-Limit, X-RateLimit-Remaining, and X-RateLimit-Reset; exceeding the limit returns 429 with code rate_limit_exceeded. Back off and retry using the X-RateLimit-Reset timing. See Rate limits for the full details.
TypeScript SDK
The official@crevio/sdk wraps the API with types, Zod validation, retries, and multi-runtime support (Node.js, browsers, Cloudflare Workers, Deno, Bun).
Next steps
Quickstart
Key to first call in under five minutes.
Conventions
The rules every endpoint follows.
Errors
Decode and fix every status code.
Usage & billing
How metered pay-per-call credits work.

