Market Data
Prices, market-level trades, depth, candles, etc.
Statistics and throttled market data for all markets. Recalculated every 0.5s
List of market summaries
Bad request
Internal server error
GET /v2/markets/summary HTTP/1.1
Host: api.reya.xyz
Accept: */*
[
{
"symbol": "BTCRUSDPERP",
"updatedAt": 1747927089946,
"longOiQty": "1.0",
"shortOiQty": "1.0",
"oiQty": "1.0",
"fundingRate": "43000.00",
"longFundingValue": "43000.00",
"shortFundingValue": "43000.00",
"fundingRateVelocity": "43000.00",
"volume24h": "1.0",
"pxChange24h": "43000.00",
"throttledOraclePrice": "43000.00",
"throttledPoolPrice": "43000.00",
"pricesUpdatedAt": 1747927089946,
"ANY_ADDITIONAL_PROPERTY": "anything"
}
]Statistics and throttled data for a specific market. Recalculated every 0.5s
Trading symbol (e.g., BTCRUSDPERP, ETHRUSD)
BTCRUSDPERPPattern: ^[A-Za-z0-9]+$Market summary
Bad request
Internal server error
GET /v2/market/{symbol}/summary HTTP/1.1
Host: api.reya.xyz
Accept: */*
{
"symbol": "BTCRUSDPERP",
"updatedAt": 1747927089946,
"longOiQty": "1.0",
"shortOiQty": "1.0",
"oiQty": "1.0",
"fundingRate": "43000.00",
"longFundingValue": "43000.00",
"shortFundingValue": "43000.00",
"fundingRateVelocity": "43000.00",
"volume24h": "1.0",
"pxChange24h": "43000.00",
"throttledOraclePrice": "43000.00",
"throttledPoolPrice": "43000.00",
"pricesUpdatedAt": 1747927089946,
"ANY_ADDITIONAL_PROPERTY": "anything"
}List of prices
Bad request
Internal server error
GET /v2/prices HTTP/1.1
Host: api.reya.xyz
Accept: */*
[
{
"symbol": "BTCRUSDPERP",
"oraclePrice": "43000.00",
"poolPrice": "43000.00",
"updatedAt": 1747927089946,
"ANY_ADDITIONAL_PROPERTY": "anything"
}
]Trading symbol (e.g., BTCRUSDPERP, ETHRUSD)
BTCRUSDPERPPattern: ^[A-Za-z0-9]+$Price information
Bad request
Internal server error
GET /v2/prices/{symbol} HTTP/1.1
Host: api.reya.xyz
Accept: */*
{
"symbol": "BTCRUSDPERP",
"oraclePrice": "43000.00",
"poolPrice": "43000.00",
"updatedAt": 1747927089946,
"ANY_ADDITIONAL_PROPERTY": "anything"
}Returns up to 100 perp executions for a given market.
Trading symbol (e.g., BTCRUSDPERP, ETHRUSD)
BTCRUSDPERPPattern: ^[A-Za-z0-9]+$Return results after this sequence number (for pagination)
1747927089946Return results before this sequence number (for pagination)
1747927089946List of perp executions
Bad request
Internal server error
GET /v2/market/{symbol}/perpExecutions HTTP/1.1
Host: api.reya.xyz
Accept: */*
{
"data": [
{
"exchangeId": 1747927089946,
"symbol": "BTCRUSDPERP",
"accountId": 1747927089946,
"qty": "1.0",
"side": "B",
"price": "43000.00",
"fee": "43000.00",
"type": "ORDER_MATCH",
"timestamp": 1747927089946,
"sequenceNumber": 1747927089946,
"ANY_ADDITIONAL_PROPERTY": "anything"
}
],
"meta": {
"limit": 1747927089946,
"count": 1747927089946,
"endTime": 1747927089946,
"startTime": 1747927089946,
"ANY_ADDITIONAL_PROPERTY": "anything"
},
"ANY_ADDITIONAL_PROPERTY": "anything"
}Returns up to 200 candles for a given market, sorted by time in descending order, and ending at the specified end time.
Trading symbol (e.g., BTCRUSDPERP, ETHRUSD)
BTCRUSDPERPPattern: ^[A-Za-z0-9]+$Candle resolution
1mPossible values: Return results before this sequence number (for pagination)
1747927089946Historical candle data
Bad request
Internal server error
GET /v2/candleHistory/{symbol}/{resolution} HTTP/1.1
Host: api.reya.xyz
Accept: */*
{
"t": [
1747804140,
1747804200,
1747804260
],
"o": [
"2557.997",
"2555.386",
"2560.118"
],
"h": [
"2558.000",
"2560.699",
"2560.729"
],
"l": [
"2554.637",
"2553.436",
"2559.368"
],
"c": [
"2555.387",
"2560.118",
"2560.439"
],
"ANY_ADDITIONAL_PROPERTY": "anything"
}