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": "154.741",
"shortOiQty": "154.706",
"oiQty": "154.741",
"fundingRate": "-0.000509373441021089",
"longFundingValue": "412142.26",
"shortFundingValue": "412142.26",
"fundingRateVelocity": "-0.00000006243",
"volume24h": "917833.49891",
"pxChange24h": "92.6272285500004",
"throttledOraclePrice": "2666.48162040777",
"throttledPoolPrice": "2666.48166680625",
"pricesUpdatedAt": 1747927089597
}
]
Statistics and throttled data for a specific market. Recalculated every 0.5s
Trading symbol (e.g., BTCRUSDPERP)
BTCRUSDPERP
Pattern: ^[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": "154.741",
"shortOiQty": "154.706",
"oiQty": "154.741",
"fundingRate": "-0.000509373441021089",
"longFundingValue": "412142.26",
"shortFundingValue": "412142.26",
"fundingRateVelocity": "-0.00000006243",
"volume24h": "917833.49891",
"pxChange24h": "92.6272285500004",
"throttledOraclePrice": "2666.48162040777",
"throttledPoolPrice": "2666.48166680625",
"pricesUpdatedAt": 1747927089597
}
Trading symbol (e.g., BTCRUSDPERP)
BTCRUSDPERP
Pattern: ^[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": "42999.50",
"updatedAt": 1747927089946
}
Returns up to 100 perp executions for a given market.
Trading symbol (e.g., BTCRUSDPERP)
BTCRUSDPERP
Pattern: ^[A-Za-z0-9]+$
Return results after this sequence number (for pagination)
1756733379000
Return results before this sequence number (for pagination)
1756733679000
List of perp executions
Bad request
Internal server error
GET /v2/market/{symbol}/perpExecutions HTTP/1.1
Host: api.reya.xyz
Accept: */*
{
"data": [
{
"exchangeId": 1,
"symbol": "BTCRUSDPERP",
"accountId": 12345,
"qty": "1.0",
"side": "B",
"price": "43000.00",
"fee": "0.50",
"type": "ORDER_MATCH",
"timestamp": 1747927089946,
"sequenceNumber": 152954
}
],
"meta": {
"limit": 100,
"count": 50,
"endTime": 1756733679000,
"startTime": 1756733579000
}
}
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)
BTCRUSDPERP
Pattern: ^[A-Za-z0-9]+$
Candle resolution
1m
Possible values: Return results before this sequence number (for pagination)
1756733679000
Historical 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"
]
}