Skip to main content

GET /v1/rates/eod

Returns a single daily OHLCV snapshot for the requested pair and date. Day boundary is 00:00 UTC. Designed for NAV calculations, accounting, and compliance reporting.

Authentication

Requires an API key. See Authentication.

Parameters

ParameterTypeRequiredDescription
pairstringYesPair identifier (e.g., BTCNGN).
datestringYesDate in YYYY-MM-DD format.

Example

curl "https://api.moxiemetrx.com/v1/rates/eod?pair=BTCNGN&date=2026-04-02" \
-H "X-API-Key: your_key"
{
"date": "2026-04-02",
"pair": "BTCNGN",
"open": 93909641.90,
"high": 95655881.0,
"low": 90877494.39,
"close": 92489518.58,
"vwap": null,
"total_volume": 0.0
}

The response is a flat JSON object with no nesting.

Error (404 -- no data):

{
"error": "not_found",
"message": "No end-of-day data available for BTCNGN on 2026-04-02.",
"status": 404
}
tip

Use EOD for audit-friendly daily snapshots. For intraday granularity, use Historical Rates.