API Access
The hosted API supports anonymous access and optional API-key-authenticated access.
For unlimited use of the datasets, install @arevs/data directly instead of relying on the hosted API.
Authentication
Send your API key using either header:
x-api-key: arev_live_...
Authorization: Bearer arev_live_...
Access tiers
| Access type | Daily limit | Notes |
|---|---|---|
| Anonymous | 100 requests per day |
Intended for demos, testing, and light usage. |
| Free API key | 2500 requests per day |
Available after email verification. |
| Higher tier | Manual review | Requested through the upgrade endpoint. |
Burst rate limits are also enforced. If a request exceeds burst or daily limits, the API returns 429 and includes Retry-After.
Free API key flow
- Call
POST /access/signupwith your email address. - Open the verification link from the email within 30 minutes.
- Call
GET /access/verifyusing that token to reveal the new API key.
Notes:
- Email addresses using
+aliases are rejected for free-key signup. - Verifying a new signup rotates any previously active key for the same email.
- The API key is revealed by the verify endpoint, not sent directly in the email.
Upgrade flow
If you need a higher tier for production or commercial use, submit POST /access/request-upgrade with your email, requested tier, and a clear reason.