GET /v1/rates/markets
Returns the current VWAP rate for every active pair. This is a convenience endpoint for dashboards and monitoring tools that need a complete market snapshot without specifying individual pairs.
Authentication
note
This endpoint requires an API key. See Authentication.
Parameters
No parameters required.
Response
| Field | Type | Description |
|---|---|---|
rates | array | Array of rate objects for all active pairs. Each object has the same structure as the Live Rates response. |
rates[].pair | string | Pair identifier. |
rates[].vwap | number | Volume-weighted average price. |
rates[].timestamp | string | ISO 8601 timestamp. |
rates[].sources | array | Per-exchange breakdown. |
rates[].freshness_seconds | integer | Age of the most recent data point in seconds. |
count | integer | Total number of pairs returned. |
Examples
curl
curl -X GET "https://api.moxiemetrx.com/v1/rates/markets" \
-H "X-API-Key: your_key"
Python
import requests
response = requests.get(
"https://api.moxiemetrx.com/v1/rates/markets",
headers={"X-API-Key": "your_key"},
)
data = response.json()
print(f"Pairs: {data['count']}")
for rate in data["rates"]:
print(f" {rate['pair']}: {rate['vwap']}")
Response:
{
"count": 10,
"rates": [
{
"pair": "BTCNGN",
"vwap": 150234567.80,
"timestamp": "2026-03-23T12:00:00Z",
"sources": [
{ "exchange": "luno", "price": 150200000.00, "volume": 1.24 },
{ "exchange": "quidax", "price": 150280000.00, "volume": 0.87 }
],
"freshness_seconds": 7
},
{
"pair": "USDTNGN",
"vwap": 1416.25,
"timestamp": "2026-03-23T12:00:00Z",
"sources": [
{ "exchange": "quidax", "price": 1415.80, "volume": 52340.0 }
],
"freshness_seconds": 4
},
{
"pair": "ETHNGN",
"vwap": 5312450.00,
"timestamp": "2026-03-23T12:00:00Z",
"sources": [
{ "exchange": "quidax", "price": 5310000.00, "volume": 8.2 },
{ "exchange": "luno", "price": 5314000.00, "volume": 5.1 }
],
"freshness_seconds": 9
},
{
"pair": "XRPNGN",
"vwap": 3842.10,
"timestamp": "2026-03-23T12:00:00Z",
"sources": [
{ "exchange": "luno", "price": 3840.50, "volume": 12400.0 },
{ "exchange": "quidax", "price": 3843.80, "volume": 8920.0 }
],
"freshness_seconds": 5
},
{
"pair": "SOLNGN",
"vwap": 198450.00,
"timestamp": "2026-03-23T12:00:00Z",
"sources": [
{ "exchange": "luno", "price": 198200.00, "volume": 142.3 },
{ "exchange": "quidax", "price": 198680.00, "volume": 98.7 }
],
"freshness_seconds": 6
},
{
"pair": "ETHKES",
"vwap": 482350.00,
"timestamp": "2026-03-23T12:00:01Z",
"sources": [
{ "exchange": "luno", "price": 482350.00, "volume": 3.8 }
],
"freshness_seconds": 12
},
{
"pair": "BTCZAR",
"vwap": 1842500.00,
"timestamp": "2026-03-23T12:00:00Z",
"sources": [
{ "exchange": "luno", "price": 1842000.00, "volume": 0.95 },
{ "exchange": "valr", "price": 1843000.00, "volume": 1.10 }
],
"freshness_seconds": 5
},
{
"pair": "ETHZAR",
"vwap": 68420.50,
"timestamp": "2026-03-23T12:00:00Z",
"sources": [
{ "exchange": "binance", "price": 68390.00, "volume": 284.1 },
{ "exchange": "valr", "price": 68450.00, "volume": 18.3 }
],
"freshness_seconds": 3
},
{
"pair": "XRPZAR",
"vwap": 43.82,
"timestamp": "2026-03-23T12:00:00Z",
"sources": [
{ "exchange": "luno", "price": 43.78, "volume": 94200.0 },
{ "exchange": "valr", "price": 43.86, "volume": 61500.0 }
],
"freshness_seconds": 4
},
{
"pair": "SOLZAR",
"vwap": 2284.50,
"timestamp": "2026-03-23T12:00:00Z",
"sources": [
{ "exchange": "luno", "price": 2282.00, "volume": 318.4 },
{ "exchange": "valr", "price": 2286.00, "volume": 204.7 },
{ "exchange": "binance", "price": 2285.50, "volume": 1840.2 }
],
"freshness_seconds": 5
}
]
}
tip
This endpoint is ideal for building dashboards. It returns all pairs in a single request, keeping your rate limit usage low.