Pyth Network
/getprice
Get the Price(in USDT) of a token for the given protocol.
GET https://api.expand.network/oracle/getprice
Query Parameters
Name
Type
Description
asset*
String
Name of the token, whose price is to be fetched.
https://api.expand.network/oracle/getprice?asset=DAI&oracleId=1200{
"status": 200,
"msg": "success",
"data": {
"roundId": null,
"answer": "1.0000125",
"startedAt": null,
"updatedAt": null,
"answeredInRound": null
}
}/getsupportedtokens
Get the list of supported tokens on Expand.network, for Pyth.
GET https://api.expand.network/oracle/getsupportedtokens
Query Parameters
https://api.expand.network/oracle/getsupportedtokens?oracleId=1200{
"status": 200,
"msg": "success",
"data": [
"SEI",
"MNGO",
"SOL",
"LDO",
"JITOSOL",
"XRP",
"TBTC",
"BLZE",
"HNT",
"IOT",
"LST",
"ORCA",
"SRM",
"ARB",
"EURC",
"JTO",
"MSOL",
"GMT",
"WSTETH",
"USDT",
"FIDA",
"AAVE",
"NEAR",
"PEPE",
"LINK",
"USDC",
"SLND",
"JUP",
"ETH",
"APT",
"STRK",
"WIF",
"OP",
"SBR",
"WBTC",
"WEN",
"BTC",
"BNB",
"DYM",
"MOBILE",
"GOFX",
"RNDR",
"ATLAS",
"AVAX",
"TIA",
"MATIC",
"SUI",
"STSOL",
"STETH",
"SAMO",
"BSOL",
"TAO",
"RLB",
"DAI",
"FTT",
"USTC",
"SCNSOL",
"BONK",
"MNDE",
"APE",
"DOGE",
"PYTH",
"ZBC",
"INJ",
"NEON",
"C98",
"RAY"
]
}Last updated

