🔑 API Key Management
Include your API key in every request header: X-API-Key: your_key_here
🚀 Quick Start Guide
- Generate an API key from the dashboard above.
- Attach it to the
X-API-Keyheader in your requests. - All responses are returned as JSON. Errors follow standard HTTP status codes.
- Rate limits are enforced per key. Monitor your usage in the developer console.
Authentication: Bearer Token & API Key supported. All endpoints require HTTPS.
📡 Available Endpoints
💻 Code Examples
# GET /businesses?page=1&limit=10
curl -X GET "https://api.dirconnect.com/v1/businesses?page=1&limit=10" \
-H "X-API-Key: drc_live_sk_8f7g6h5j4k3l2m1n" \
-H "Accept: application/json"
// Fetch businesses using Fetch API
const response = await fetch(
'https://api.dirconnect.com/v1/businesses?page=1',
{
headers: {
'X-API-Key': 'drc_live_sk_8f7g6h5j4k3l2m1n',
'Accept': 'application/json'
}
}
);
const data = await response.json();
console.log(data.results);
# Python requests example
import requests
headers = {
"X-API-Key": "drc_live_sk_8f7g6h5j4k3l2m1n",
"Accept": "application/json"
}
response = requests.get(
"https://api.dirconnect.com/v1/businesses",
params={"page": 1, "limit": 10},
headers=headers
)
data = response.json()
print(data["results"])
📊 Rate Limits & Tiers
100
Requests / Minute (Free)
1,000
Requests / Minute (Pro)
50 MB
Max Payload Size
99.9%
Uptime SLA