Docs
Api referenceMarketlabs

A market's reference rate, volatility, positioning and events over time

Request

Synthetic example for the production API. Replace YOUR_API_KEY and the ids. Do not send it against a live account until you mean to.

curl -X GET "https://api.fxapis.com/v1/marketlabs/markets/ID/series" \
  -H "Authorization: Bearer YOUR_API_KEY"
GET
/v1/marketlabs/markets/{symbol}/series

Authorization

apiKey
AuthorizationBearer <token>

Authorization: Bearer fx_live_<id>_<secret>.

A key is shown once, at creation. We cannot show it again or recover it for you. Keys carry a label (live or test) in the key itself, so each configuration is easy to tell apart. Both reach real brokers: test with a broker demo account.

Scopes are per key. A key without accounts:write can read accounts and nothing else.

In: header

Path Parameters

symbol*string

Instrument, such as EURUSD.

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

application/json

application/json

curl -X GET "https://api.fxapis.com/v1/marketlabs/markets/string/series"
{  "data": {    "symbol": "string",    "source": "string",    "derived": true,    "points": [      {        "time": "string",        "value": "string"      }    ],    "volatility": [      {        "time": "string",        "value": "string"      }    ],    "positioningCurrency": null,    "positioning": [      {        "time": "string",        "dealer": null,        "assetManager": null,        "leveraged": null,        "noncommercial": null      }    ],    "events": [      {        "time": "string",        "id": "string",        "title": "string",        "currency": "string",        "impact": "high"      }    ]  },  "requestId": "string"}