Get Basic Information and Aggregated Market Data for All Trading Pairs

Introduction

This endpoint allows you to get all basic information and 24-hour aggregated market data of trading pairs supported by TRXMarket.

Interface Address

https://api.trx.market/api/trxmarket/marketPair/pairAllInfoList

Request Method

GET

Query Parameters

This interface does not support requested parameters.

Response Content

Name

Types

Description

Example

code

int

Status code (For details, please view status code)

0

message

string

Message (For details, please view status code)

OK

total

int64

Numbers of trading pairs

17

id

string

Trading pair ID

44

volume

float64

24-hour transaction volume (no precision processing; unit: Base token)

1376623116784000

gain

string

24-hour market summary

-0.044304

price

float64

Lateset Price

3020

fPrecision

int64

Base token precision

6

sPrecision

int64

Quote token precision

6

fTokenName

string

Base token name

TronAce

sTokenName

string

Quote token name

TRX

fShortName

string

Base token symbol

Ace

sShortName

string

Quote token symbol

TRX

fTokenAddr

string

Base token address (contract address of TRC20, token id of TRC10)

TNYNLRkqq956bQc2buvoLbaLgh25RkJMiN

sTokenAddr

string

Quote token address (contract address of TRC20, token id of TRC10)

T9yD14Nj9j7xAB4dbGeiX9h8unkKHxuWwb

highestPrice24h

float64

24-hour highest

0.004

lowestPrice24h

float64

24-hour lowest

0.002404

volume24h

float64

24-hour trading volume (No precision processing; unit: quote tokens)

4165697639024

unit

string

Unit (the aforementioned price, unit of trading volume)

TRX

pairType

int64

Types of trading pairs

1:TRC10/TRX,

2:TRC20/TRX,

3:TRC20/USDT

2

Response Example

{
code: 0,
message: "OK",
data: {
total: 17,
rows: [
{
id: 44,
volume: 1376623116784000,
gain: "-0.044304",
price: 3020,
fPrecision: 6,
sPrecision: 6,
fTokenName: "TronAce",
sTokenName: "TRX",
fShortName: "ACE",
sShortName: "TRX",
fTokenAddr: "TNYNLRkqq956bQc2buvoLbaLgh25RkJMiN",
sTokenAddr: "T9yD14Nj9j7xAB4dbGeiX9h8unkKHxuWwb",
highestPrice24h: 0.004,
lowestPrice24h: 0.002404,
volume24h: 4165697639024,
unit: "TRX",
pairType: 2
},
{
id: 31,
volume: 56132883644,
gain: "0.016698",
price: 27399999,
fPrecision: 6,
sPrecision: 6,
fTokenName: "TRONbet",
sTokenName: "TRX",
fShortName: "ANTE",
sShortName: "TRX",
fTokenAddr: "TCN77KWWyUyi2A4Cu7vrh5dnmRyvUuME1E",
sTokenAddr: "T9yD14Nj9j7xAB4dbGeiX9h8unkKHxuWwb",
highestPrice24h: 28.799999,
lowestPrice24h: 26.56442,
volume24h: 1546654964798,
unit: "TRX",
pairType: 2
}
]
}
}