Authentication
Include your API key in every request.
curl -H "X-Api-Key: dd_your_key_here" \
"https://your-app.vercel.app/api/v1?endpoint=gold"
curl -H "Authorization: Bearer dd_your_key_here" \
"https://your-app.vercel.app/api/v1?endpoint=gold"
Endpoints
All endpoints return JSON.
GET/api/v1?endpoint=gold
Live gold price (XAU/USD) with change data
{
"success": true,
"data": {
"price": 3365.20,
"change": 12.50,
"changePercent": 0.37,
"source": "XAU=X"
}
}
GET/api/v1?endpoint=signals
Latest trade signals and analysis
{
"success": true,
"data": {
"trades": [...],
"rate_limit": { "remaining": 95, "limit": 100 }
}
}
GET/api/v1?endpoint=trades
Your trade history with win rate and cumulative PnL
GET/api/v1?endpoint=docs
API health check and endpoint list
Rate Limits
100 requests per hour per API key.
When rate limit is exceeded, you'll receive HTTP 429 with:
{"success": false, "error": "Rate limit exceeded"}