Use this interface to obtain basic information of all tickers that has volume.
Get all tickers
GET
/brc20swap/eternal/tickers
Curl Example Response
Copy curl --location --request GET 'https://api.swap.dotwallet.com/brc20swap/external/tickers' \
--header 'Pragma: no-cache' \
--header 'Authorization;' \
--header 'User-Id;' \
--header 'Content-Type: application/json' \
--header 'Accept: */*' \
--header 'Host: api.swap.dotwallet.com' \
--header 'Connection: keep-alive'
Copy [
{
"ticker_id" : "BTC/DOG•GO•TO•THE•MOON" ,
"base_currency" : "BTC" ,
"quote_currency" : "DOG•GO•TO•THE•MOON" ,
"pool_id" : "BTC/DOG•GO•TO•THE•MOON" ,
"last_price" : "11570090.3290543690443763" ,
"base_volume" : "5.0186155339877862" ,
"quote_volume" : "58065835.0550341132474145" ,
"liquidity_in_usd" : "1072493.0380577594696826811574292917793232"
} ,
{
"ticker_id" : "FB/PSYOPCAT:d1594975888bbd2a0935f0228a0634439436c1a5273690d73f555dc2b0df6a10_0" ,
"base_currency" : "FB" ,
"quote_currency" : "PSYOPCAT:d1594975888bbd2a0935f0228a0634439436c1a5273690d73f555dc2b0df6a10_0" ,
"pool_id" : "FB/PSYOPCAT:d1594975888bbd2a0935f0228a0634439436c1a5273690d73f555dc2b0df6a10_0" ,
"last_price" : "1941.8609354552722742" ,
"base_volume" : "19298.5866153690425442" ,
"quote_volume" : "37475171.457885125741771043" ,
"liquidity_in_usd" : "162917.8507894370648555614664980891114629"
}
]
FB refers to Fractal Bitcoin ;
For Runes, BRC20, and ARC20, tickers are unique;
For CAT20, tickers are not unique, so we add token ID (genesis transaction hash followed by output index) to help distinguish them and display it as ticker:tokenid
.