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

TierRate LimitDaily LimitPrice
Developer170 req/min10,000 req/day$49/mo
Enterprise1,700 req/min100,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/register

Create a new API key for the authenticated user. Requires a Firebase ID token.

Headers

ParameterTypeDescription
AuthorizationrequiredstringBearer <Firebase ID Token>

Response

json
{
  "key": "rdr_abc123...",
  "tier": "developer",
  "dailyLimit": 10000
}

Checking Your Key

GET/api/v1/register

Check your API key status and usage.

Headers

ParameterTypeDescription
AuthorizationrequiredstringBearer <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"