Skip to content

Credentials Reference

Each data source that requires authentication expects a specific credential format in the credentials field of the request body.

Oanda

{
    "credentials": {
        "id": "101-004-XXXXXXXX-XXX",
        "token": "your-oanda-api-token",
        "environment": "practice"
    }
}
Field Description
id Your Oanda account ID (e.g., 101-004-12345678-001)
token Your Oanda API token (from the Oanda portal)
environment "practice" for demo, "live" for real accounts

Get your credentials at Oanda's developer portal.

Alpaca

{
    "credentials": {
        "api_key": "your-alpaca-api-key",
        "secret_key": "your-alpaca-secret-key"
    }
}
Field Description
api_key Alpaca API key ID
secret_key Alpaca API secret key

Get your credentials at Alpaca.

Polygon

{
    "credentials": {
        "api_key": "your-polygon-api-key"
    }
}

Get your API key at Polygon.io.

FRED

{
    "credentials": {
        "api_key": "your-fred-api-key"
    }
}

Get your API key at FRED.

Finnhub

{
    "credentials": {
        "api_key": "your-finnhub-api-key"
    }
}

Get your API key at Finnhub.

Public Sources (No Credentials Needed)

The following sources do not require credentials — omit the credentials field or pass null:

  • Binance — public spot and futures market data
  • Bybit — public perpetuals market data
  • Kraken — public spot and futures market data
  • Yahoo Finance — public equities, ETFs, indices, commodities