Docs
Api referenceMarketlabs

Official economic calendar with figures

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/events" \
  -H "Authorization: Bearer YOUR_API_KEY"
GET
/v1/marketlabs/events

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

Query Parameters

currencies?string

Comma-separated, e.g. USD,EUR.

from?string
Formatdate
to?string
Formatdate
kind?string

Comma-separated: release, rate_decision, survey, earnings.

impact?string

Comma-separated: high, medium, low.

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/events"
{  "data": {    "events": [      {        "id": "string",        "title": "string",        "occurredAt": "2019-08-24T14:15:22Z",        "currency": "string",        "kind": "release",        "impact": "high",        "unit": null,        "period": null,        "previous": null,        "actual": null,        "revisedPrevious": null,        "forecast": null,        "forecastSource": null,        "status": "scheduled",        "releasedAt": null,        "confirmed": true,        "source": "string",        "figureSource": null,        "attribution": "string"      }    ],    "blsConfigured": true,    "impactBasis": "string"  },  "requestId": "string"}