Documentation
Everything you need to integrate, deploy, and optimize API Proxy
Products
Documentation for API Proxy products and tools
API Documentation
Learn how to integrate with API Proxy
Getting Started
Quick start guides and tutorials
Quick Start
2. Get Your API Key
After signing up, you'll receive your API key in the dashboard
3. Make Your First Request
curl https://api.apiproxy.app/v1/darkapi/ip/8.8.8.8 \ -H "X-API-Key: apx_live_your_key_here"
Authentication
All API requests require authentication using your API key. Include your API key in the request header:
X-API-Key: apx_live_your_key_hereImportant: Never share your API key publicly or commit it to version control. Use environment variables to store your key securely.
Rate Limits
Rate limits vary by plan. Check your current usage and limits in the dashboard.
| Plan | Daily Limit | Monthly Limit |
|---|---|---|
| Free | 100 requests | 3,000 requests |
| Starter | 1,000 requests | 30,000 requests |
| Professional | 20,000 requests | 600,000 requests |
| Enterprise | 500,000+ requests | 15M+ requests |
Code Examples
cURL
curl https://api.apiproxy.app/v1/darkapi/ip/8.8.8.8 \ -H "X-API-Key: apx_live_your_key_here"
JavaScript (fetch)
const response = await fetch('https://api.apiproxy.app/v1/darkapi/ip/8.8.8.8', {
headers: {
'X-API-Key': 'apx_live_your_key_here'
}
});
const data = await response.json();
console.log(data);Python (requests)
import requests
response = requests.get(
'https://api.apiproxy.app/v1/darkapi/ip/8.8.8.8',
headers={'X-API-Key': 'apx_live_your_key_here'}
)
data = response.json()
print(data)Best Practices
Use Environment Variables
Store your API key in environment variables, never hardcode it in your source code.
Implement Caching
Cache API responses when appropriate to reduce costs and improve performance. Consider using apiproxyd for enterprise caching.
Handle Errors Gracefully
Always check response status codes and implement proper error handling in your application.
Monitor Your Usage
Regularly check your API usage in the dashboard to avoid hitting rate limits.