Developer

API Documentation

Build powerful trading applications with the WealthFund REST API. Access real-time market data, execute trades, and manage accounts programmatically.

REST API

Standard HTTP REST API with JSON responses. Easy to integrate with any programming language or framework.

WebSocket Streaming

Real-time price streaming via WebSocket connections. Sub-millisecond data delivery for live market feeds.

FIX Protocol

Industry-standard FIX protocol support for institutional clients requiring ultra-low latency execution.

Quick Start

# Authenticate and place a trade
curl -X POST https://api.wealthfund.com/v1/orders \
  -H "Authorization: Bearer YOUR_API_KEY"  -H"Content-Type: application/json" \
  -d '{
    "instrument": "EURUSD",
    "side": "buy",
    "type": "market",
    "quantity": 10000,
    "stop_loss": 1.0850,
    "take_profit": 1.1050
  }'

# Response
{
  "order_id": "ord_8f3k2m9x",
  "status": "filled",
  "fill_price": 1.0950,
  "quantity": 10000,
  "timestamp": "2024-01-15T14:32:00Z"
}

API Endpoints

GET/v1/accountRetrieve account balance, equity, margin, and open positions.
GET/v1/instrumentsList all tradeable instruments with current bid/ask prices.
POST/v1/ordersPlace a new market, limit, or stop order.
GET/v1/orders/{id}Get details of a specific order by ID.
DELETE/v1/orders/{id}Cancel a pending order.
GET/v1/positionsList all open positions with P&L data.
GET/v1/historyRetrieve historical trade data with filters.
GET/v1/candlesOHLCV candlestick data for any instrument and timeframe.

Rate Limits & Plans

Standard
Free
100 req/min
1 connection
Professional
$99/mo
1,000 req/min
5 connections
Institutional
Contact Us
Unlimited
Unlimited

Start Building Today

Get your API key instantly when you open a WealthFund account.

Get Your API Key