How AI is applied across API Evangelist and APIs.io. Read my AI disclosure →
API Evangelist API Evangelist
Discovery
Learnings
Guidance
Toolbox
Alignment
API Evangelist LLC

FXMacroData Fx Markets API

FX market-state datasets including spot FX, market sessions, risk sentiment, and COT positioning.

FXMacroData Fx Markets API is one of 11 APIs that FXMacroData publishes on the APIs.io network, described by a machine-readable OpenAPI specification.

This API exposes 6 JSON Schema definitions.

The published artifact set on APIs.io includes an OpenAPI specification and 6 JSON Schemas.

This API exposes 12 operations across 12 paths, and defines 45 schemas. It is described by OpenAPI 3.2.0, at version 1.0.0.

Requests are made against a single base URL, https://api.fxmacrodata.com.

12 operations 12 paths 45 schemas 12 GET

Metadata

The identity and technical contract details declared by the specification.

Specification
OpenAPI 3.2.0
API Version
1.0.0
Base URL
https://api.fxmacrodata.com
Authentication
API Key, HTTP Bearer, API Key
Resource Areas
1

Authentication & Security 3

FXMacroData Fx Markets API declares 3 security schemes for authenticating requests. An API key is passed in the header as X-API-Key (APIKeyHeader). It accepts HTTP bearer tokens (HTTPBearer). An API key is passed in the query as api_key (APIKeyQuery). By default, every request must be authenticated, though some operations may also be called without credentials.

  • APIKeyHeader — FXMacroData API key. Preferred transport for server-side clients: the key stays out of URLs and access logs.
  • HTTPBearer — FXMacroData API key or OAuth access token supplied as Authorization: Bearer .
  • APIKeyQuery — Deprecated. FXMacroData API key as a query parameter. Still accepted so existing integrations keep working, but new integrations must use the X-API-Key header…

Paths & Operations 12

Across 12 paths, the API surfaces 12 operations — 12 GET. Each is listed below with its method, path, parameters, and response codes.

fx_markets 12

FX market-state datasets including spot FX, market sessions, risk sentiment, and COT positioning.

GET
/v1/forex/{base}/{quote}
Get FX spot rates
forex_v1_forex__base___quote__get 10 params → 200422
GET
/v1/fx/reference-rates/{base}/{quote}
Get timestamped official FX reference rates
reference_rates_v1_fx_reference_rates__base___quote__get 15 params → 200422
GET
/v1/fx/intraday-reference-rates/{base}/{quote}
Get subscriber intraday FX reference rates
intraday_reference_rates_v1_fx_intraday_reference_rates__base___quote__get 5 params → 200422
GET
/v1/fx/session-rates/{base}/{quote}
Get official FX session-close reference rates
session_rates_v1_fx_session_rates__base___quote__get 12 params → 200422
GET
/v1/fx/sources
List public FX reference-rate sources
fx_sources_v1_fx_sources_get → 200
GET
/v1/fx/source-universe
List public FX reference-rate pair universe
fx_source_universe_v1_fx_source_universe_get 2 params → 200422
GET
/v1/market_sessions
FX market session timetable
get_market_sessions_v1_market_sessions_get 1 param → 200422
GET
/v1/rate_differentials/{base}/{quote}
Get pair rate differentials
get_rate_differentials_v1_rate_differentials__base___quote__get 14 params → 200422
GET
/v1/curves/{currency}
Get curve analytics by currency
get_curve_snapshot_v1_curves__currency__get 11 params → 200422
GET
/v1/risk_sentiment/changes
Recorded risk-sentiment changes
get_risk_sentiment_changes_v1_risk_sentiment_changes_get 2 params → 200422
GET
/v1/risk_sentiment
Global risk-on / risk-off indicator
get_risk_sentiment_v1_risk_sentiment_get 4 params → 200422
GET
/v1/cot/{currency}
Get CFTC Commitment of Traders (COT) data
get_cot_data_v1_cot__currency__get 8 params → 200422

Schemas 45

The contract defines 45 schemas that model the data the API accepts and returns. The most detailed are COTDataPoint (91 properties), ForexDataPoint (57 properties), DataQuality (45 properties), COTResponse (34 properties). Each schema is shown below with its type and property counts.

RateDifferentialResponse
object
27 properties 12 required
MarketSession
object
12 properties
FxSourceUniverseResponse
object
4 properties 2 required
CommodityMissingWeekdayRange
object
3 properties 3 required
RiskSentimentResponse
object
9 properties
DataQuality
object
45 properties 7 required
COTFXOverlay
object
1 property 1 required
FxSourcesResponse
object
2 properties 2 required
ValidationError
object
3 properties 3 required
FxSource
object
One official FX reference-rate source.
18 properties
RiskSentimentComponentMetadata
object
4 properties
RateDifferentialPoint
object
25 properties 1 required
COTPaginationInfo
object
6 properties 5 required
RiskSentimentChangesResponse
object
3 properties 3 required
FxSourceLeg
object
One source leg a rate was taken from or derived through.
16 properties
CommodityCoverageSegment
object
3 properties 1 required
FxSourceUniversePair
object
3 properties
RiskSentimentPoint
object
23 properties
RateDifferentialSources
object
Publisher of each leg's rate. The spot path reports a single publisher name per leg; the curve and forward paths report the list of curve sources each leg was…
2 properties
RiskSentimentChangePagination
object
5 properties 5 required
COTDataPoint
object
91 properties 1 required
FxReferencePoint
object
17 properties 6 required
FxIntradayReferenceRatesResponse
object
4 properties 4 required
PaginationInfo
object
Offset pagination state for a single page of results.
7 properties 4 required
MarketSessionsResponse
object
5 properties
ForexResponse
object
15 properties 11 required
COTProvenance
object
6 properties 6 required
HTTPValidationError
object
1 property
OfficialForwardSourceSupport
object
How the official publisher makes forward rates available, if at all.
2 properties
PointInTimeCompleteness
object
Coverage of source-confirmed publication timestamps for a dataset.
9 properties 4 required
FxReferenceResponse
object
10 properties 10 required
ForexDataPoint
object
57 properties 1 required
FxSessionRatePoint
object
22 properties 6 required
COTResponse
object
34 properties 12 required
RiskSentimentComponentCoverage
object
Per-component availability for one observation.
9 properties
RiskSentimentRevisionTracking
object
6 properties 5 required
FxIntradayReferenceRatePoint
object
7 properties 2 required
FxSessionRateResponse
object
10 properties 10 required
FxSourcePolicy
object
Redistribution rules governing which rows the public endpoints serve.
4 properties
RiskSentimentChange
object
6 properties 6 required
RiskSentimentAliases
object
Legacy field names retained alongside their current equivalents.
3 properties
CurveAnalyticsResponse
object
16 properties 8 required
FxSourceUniverseEntry
object
3 properties
MarketSessionOverlap
object
13 properties
CommodityCoverage
object
26 properties 17 required

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

fxmacrodata-fx-markets-api-openapi.yml Raw ↑

Other APIs FXMacroData publishes across the network.

FXMacroData Announcements API
FXMacroData Calendar API
FXMacroData Commodities API
FXMacroData Data Catalogue API
FXMacroData Factors API
FXMacroData Health API
FXMacroData Monetary Policy API
FXMacroData Predictions API
FXMacroData Press Releases API
FXMacroData Settlement API
Where this information came from

This is an independent, third-party profile of FXMacroData Fx Markets API, published by API Evangelist. We do not operate, host, resell, or support these APIs, and we are not affiliated with or endorsed by the company unless stated above. Everything here is built from publicly available information — the company's own site, developer portal, documentation, public repositories, and the specifications it publishes for public use. Nothing is obtained by breaching a system, defeating an access control, or using credentials.

The Kin Score and Agent Readiness rating are independently calculated assessments of a company's public API artifacts, scored against a published rubric. They are not certifications, endorsements, security assessments, or audits.

Corrections, re-scores, and removal are free — no partnership or purchase required, and you do not need to justify the request. A removed company is recorded as unrated, never scored zero for having asked. Acknowledgement within one business day; removal within two.

info@apievangelist.com · Read the full data-sourcing policy →
On a security or compliance team? Put security in the subject line and you will get a person, not a form — we will tell you exactly which public URLs this profile was built from.