Base URL
Authentication
Most of the API is wide open — no tokens, no sign-in. The only exception is the admin routes.Admin API key
Pass your key in thex-api-key header:
ADMIN_API_KEY environment variable. Don’t hardcode it anywhere, don’t log it, and definitely don’t commit it.
Rate limiting
There are three layers of rate limiting in place:
Hit any of these and you’ll get a
429:
Errors
The API returns standard HTTP status codes. Here’s what each one means in context:
Error responses look like this:
error instead of message:

