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
401Invalid or missing API key
402Insufficient balance
429Rate limit exceeded
500Internal server error

Rate Limits

Plan Requests/minute
Starter100 rpm
Professional300 rpm
Enterprise1000 rpm

Risk Warning: Trading Forex and CFDs involves significant risk and can result in the loss of your invested capital. You should not invest more than you can afford to lose. Between 74-89% of retail investor accounts lose money when trading CFDs. Please ensure you fully understand the risks involved and seek independent advice if necessary. FXDock provides analytical tools and signals only; we do not execute trades on your behalf. Past performance is not indicative of future results. By using our services, you acknowledge that you have read and understood our Terms of Service and Risk Disclosure.