Introduction
This endpoint allows you to get the 24-hour aggregated market data for all trading pairs supported by TRXMarket。
Interface Address
https://api.trx.market/api/trxmarket/marketPair/pairMerged
Request Method
GET
Query Parameters
This interface does not support requested parameters.
Response Content
Name | Type | Description | Example |
code | int | Status code (For details, please view status code) | 0 |
message | string | Message (For details, please view status code) | OK |
id | int64 | Trading pair ID | 31 |
volume | float64 | 24-hour transaction volume (no precision processing; unit: base token) | 1376623116784000 |
gain | string | 24-hour market summary | -0.044304 |
highestPrice24h | float64 | 24-hour highest | 0.004 |
lowestPrice24h | float64 | 24-hour lowest | 0.002404 |
volume24h | float64 | 24-hour transaction volume (No precision processing; unit: quote tokens) | 4165697639024 |
unit | string | Unit (the aforementioned price, unit of transaction volume) | TRX |
Response Example
{code: 0,message: "OK",data: {total: 17,rows: [{id: 44,volume: 1191654084795000,gain: "-0.080592",price: 2795,highestPrice24h: 0.00331,lowestPrice24h: 0.00262,volume24h: 3419129732769,unit: "TRX"},{id: 31,volume: 48877291742,gain: "-0.059349",price: 26310003,highestPrice24h: 27.988999,lowestPrice24h: 26.01,volume24h: 1334413456231,unit: "TRX"}]}}