Skip to Content
Forex ExecutionAPI Reference

API Reference

All non-health endpoints must provide X-Internal-API-Key (value from INTERNAL_API_KEY).

Phases 1–2 expose read/account APIs only. There is no order or trade-placement endpoint in this phase.

Endpoints

Method & pathAuthPurpose
GET /health/livenoneLiveness check
GET /health/readynoneConfiguration, OANDA authentication, and instrument metadata smoke test
GET /api/v1/account/summaryX-Internal-API-KeyNormalized account summary and persisted snapshot
GET /api/v1/account/detailsX-Internal-API-KeyNormalized account details and persisted snapshot
GET /api/v1/account/instrumentsX-Internal-API-KeyNormalized and cached tradable instruments
GET /api/v1/account/snapshotsX-Internal-API-KeyRecent persisted account snapshots
GET /api/v1/account/changes?sinceTransactionId=...X-Internal-API-KeyAccount changes since an OANDA transaction ID

Example — readiness

curl http://localhost:3000/health/ready

Example — account summary

curl http://localhost:3000/api/v1/account/summary \ -H "X-Internal-API-Key: $INTERNAL_API_KEY"

Example — account changes

curl "http://localhost:3000/api/v1/account/changes?sinceTransactionId=12345" \ -H "X-Internal-API-Key: $INTERNAL_API_KEY"

Default bind uses HOST / PORT from env (0.0.0.0:3000 in .env.example).

Last updated on