Authentication
All API access requires a valid API key. To get started, sign up for a paid account on ReppingDR and generate your key from the portal. Unauthenticated requests are blocked.
Using Your API Key
Pass your API key in the X-Api-Key header:
bash
curl -H "X-Api-Key: rdr_your_key_here" \
"https://reppingdr.com/api/v1/properties"API Tiers
| Tier | Rate Limit | Daily Limit | Price |
|---|---|---|---|
| Developer | 170 req/min | 10,000 req/day | $49/mo |
| Enterprise | 1,700 req/min | 100,000 req/day | $249/mo |
Requests without a valid API key receive a 401 Unauthorized response. All paid tiers include full data access including developer contact details.
Registering for a Key
POST
/api/v1/registerCreate a new API key for the authenticated user. Requires a Firebase ID token.
Headers
| Parameter | Type | Description |
|---|---|---|
Authorizationrequired | string | Bearer <Firebase ID Token> |
Response
json
{
"key": "rdr_abc123...",
"tier": "developer",
"dailyLimit": 10000
}Checking Your Key
GET
/api/v1/registerCheck your API key status and usage.
Headers
| Parameter | Type | Description |
|---|---|---|
Authorizationrequired | string | Bearer <Firebase ID Token> |
Response
json
{
"key": "rdr_abc123...",
"tier": "developer",
"dailyUsage": 42,
"dailyLimit": 10000,
"isActive": true
}Example: Full Flow
Register for a key and use it to fetch properties:
bash
# 1. Register (requires Firebase auth token)
curl -X POST "https://reppingdr.com/api/v1/register" \
-H "Authorization: Bearer YOUR_FIREBASE_TOKEN"
# 2. Use the returned key
curl -H "X-Api-Key: rdr_abc123..." \
"https://reppingdr.com/api/v1/properties?zone=punta-cana"