Skip to main content

GET /v1/rates/live

Returns the current volume-weighted average price (VWAP) for the requested pairs.

Authentication

Requires an API key. See Authentication.

Parameters

ParameterTypeRequiredDescription
pairsstringYesComma-separated pair identifiers (e.g., BTCNGN or BTCNGN,ETHNGN).
min_confidencenumberNoMinimum confidence score (0.0--1.0). Pairs below this threshold are excluded.
include_syntheticbooleanNoInclude synthetic cross-rate pricing breakdown. Builder+ only. Default: false.
include_sourcesbooleanNoInclude per-exchange source weights. Builder+ only. Default: false.
include_auditbooleanNoInclude HMAC-SHA256 audit signature. Enterprise only. Default: false.

Response format

Response is keyed by pair under data, not an array.

{ "data": { "BTCNGN": { ... }, "ETHNGN": { ... } }, "meta": { ... } }

Tier-gated fields

FieldFreeBuilder+Enterprise
rateYesYesYes
calculationYesYesYes
data_freshness_secondsYesYesYes
sourcesYesYesYes
statusYesYesYes
data_qualityYesYesYes
confidence--YesYes
synthetic_divergence_pct--YesYes
notes--YesYes
pricing (via include_synthetic/include_sources)--YesYes
audit (via include_audit)----Yes

Examples

Free tier

curl "https://api.moxiemetrx.com/v1/rates/live?pairs=BTCNGN" \
-H "X-API-Key: your_key"
{
"data": {
"BTCNGN": {
"rate": 92745268.5,
"calculation": "vwap",
"data_freshness_seconds": 7,
"sources": [
{"exchange": "luno", "rate": 92948735.0, "time": "2026-04-03T01:45:00+00:00"},
{"exchange": "quidax", "rate": 92541802.0, "time": "2026-04-03T01:45:00+00:00"}
],
"status": "verified",
"data_quality": "high"
}
},
"meta": {
"request_id": "e75175fc-...",
"timestamp": "2026-04-03T01:45:07.818376+00:00",
"latency_ms": 5
}
}

Builder+ tier

Same request returns additional fields:

{
"data": {
"BTCNGN": {
"rate": 92745268.5,
"calculation": "vwap",
"data_freshness_seconds": 274,
"sources": [
{"exchange": "luno", "rate": 92948735.0, "time": "2026-04-03T01:40:00+00:00"},
{"exchange": "quidax", "rate": 92541802.0, "time": "2026-04-03T01:40:00+00:00"}
],
"status": "verified",
"data_quality": "high",
"confidence": 0.95,
"synthetic_divergence_pct": 1.0049,
"notes": "All sources aligned within 1.00% threshold"
}
},
"meta": {"request_id": "...", "timestamp": "...", "latency_ms": 13}
}

Builder+ with include_synthetic=true&include_sources=true

Adds a pricing block to each pair:

"pricing": {
"exchange": {
"method": "vwap",
"price": 92745268.5,
"sources": [
{"exchange": "luno", "price": 92948735.0, "weight": 0.5, "last_update": "2026-04-03T01:40:00+00:00"},
{"exchange": "quidax", "price": 92541802.0, "weight": 0.5, "last_update": "2026-04-03T01:40:00+00:00"}
]
},
"synthetic": {
"method": "cross_rate",
"price": 91959575.75,
"divergence": 0.010049,
"divergence_pct": "1.00%"
}
}

Enterprise with include_audit=true

Adds an audit block to each pair:

"audit": {"signature": "sha256:d842a519e279..."}
tip

Requesting multiple pairs in a single call counts as one request against your rate limit.