API Documentation
Everything you need to integrate with FXDock API
Authentication
All API requests require authentication via Bearer token. Include your API key in the Authorization header.
Authorization: Bearer sk_live_xxxxxxxxxxxxxxxxxxxxxx
Base URL
https://api.fxdock.com/v1
Endpoints
POST
/v1/signals
Request trading signal for a specific symbol and timeframe.
REQUEST BODY
{
"symbol": "BTC/USD",
"interval": "1h"
}
RESPONSE
{
"success": true,
"data": {
"symbol": "BTC/USD",
"signal": "BUY",
"confidence": 0.84,
"entry": 42150.00,
"stop_loss": 41800.00,
"take_profit": 43200.00
},
"meta": {
"fee_charged": 12.50,
"balance_remaining": 387.50
}
}
GET
/v1/account
Get your account information and balance.
{
"success": true,
"data": {
"email": "user@example.com",
"package": "professional",
"balance": 387.50,
"status": "active"
}
}
GET
/v1/health
Check API health (no authentication required).
{
"status": "ok",
"timestamp": "2026-01-29T12:00:00Z",
"version": "v1"
}
Error Codes
| Code | Description |
|---|---|
401 | Invalid or missing API key |
402 | Insufficient balance |
429 | Rate limit exceeded |
500 | Internal server error |
Rate Limits
| Plan | Requests/minute |
|---|---|
| Starter | 100 rpm |
| Professional | 300 rpm |
| Enterprise | 1000 rpm |