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. |
oracleId* | String | Refer to the Oracle IDs page for details. |
oracleName | String | Refer to the Oracle IDs page for details. |
timestamp | String | Specify the particular point in time for which we have to fetch the price. |
https://api.expand.network/oracle/getprice?asset=DAI&oracleId=1200
{
"status": 200,
"msg": "success",
"data": {
"priceFeedAddress": "b0948a5e5313200c632b51bb5ca32f6de0d36e9950a942d19751e833f70dabfd",
"roundId": null,
"answer": "0.99999995",
"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
Name | Type | Description |
---|---|---|
oracleId* | String | Refer to the Oracle IDs page for details. |
oracleName | String | Refer to the Oracle IDs page for details. |
https://api.expand.network/oracle/getsupportedtokens?oracleId=1200
{
"status": 200,
"msg": "success",
"data": {
"APT": "6bQMDtuAmRgjvymdWk9w4tTc9YyuXcjMxF8MyPHXejsx",
"BTC": "4aDoSXJ5o3AuvL7QFeR6h44jALQfTmUUCTVGDD6aoJTM",
"WSTETH": "7yVBRzXp3jiTC3w31FyiqZdBazBkd9gaEzYQJdNquhQE",
"RNDR": "HMn77xiY6E2XJpCLvMa6pU2pDiPaSgnyr5NMoRTKLoke",
"SEI": "24bB1mRGsrrDVawJTCVYXrxbEz6ozztukPUKvcZCDcPz",
"JTO": "HiN1egvxMWF38bSt73GvuRw4qz9MMRq9w9L21WkTbkD7",
"AAVE": "CXgrYNWxT8n63YQ7mMC33Pgr8td5SZRSp3JGqmXna2VJ",
"DAI": "8x8E2jtWjh7ux8pp971Ha3UNYJ8LPNrnPEfF7v5FGdA1",
"TAO": "CDw9uX2tHRHBHHBCG74MubioGuqUr5BLzrQaUmbnxzBh",
"FTT": "E7ymZgACaSd1fYLf2V7WkAmFkpRiWfAjm49R7bceny9K",
"SBR": "3nuELNFBkbXqsXtnCzphRPCX6toKKYxVDnkyr9pTwB1K",
"MNGO": "Cgua36MoUVXAPhKXAUsd5LsfM2s4Bj9jsMASm5rs8JZy",
"ATLAS": "DhDqDCcsd9EWQuAA4YSCyi2T3cR2kbQ9b6Fe6tQdsJWh",
"SLND": "Db72V8dzniWpSDESi7aBmkM4QncooKwDYstG2vS5UtyQ",
"DYM": "8CxHP4d4AqEJKbyJJcsNekmKBa2nEEbyxai5gpVC6brd",
"JITOSOL": "AEXiPjykV35xw8oqqpBRfEs1mfXQdkgKvm5BaHmGLFki",
"USDT": "Av6XyAMJnyi68FdsKSPYgzfXGjYrrt6jcAMwtvzLCqaM",
"MATIC": "5KmFfNvEc8og5wQbeLFCkUXrARrhm9Ei3q5FHCwWkyV7",
"NEAR": "EwAdsfrgFBcZSHix95AD8g6dFRWhGBjE7xUTtHfJmGEk",
"HNT": "6KUaSr9dsEkM9pTRQPWuWvVPvyWbcTPALHyetkV6r2R",
"LDO": "AfMpyiDtK112JCSDQJRRCSGwCU1z2vdYUQ1WcoXAY8c8",
"GOFX": "8ooXfUZLkewMVotuCyNVsUAjYBA9vDrCywUnEdnHewiC",
"RAY": "EjtaES3pbMCaNrVFtZ5sT36WPXAnARZxCFsoEr2hsUKJ",
"PEPE": "7itWZzb5MQAUYTnepTwb6ELWmWacvWQ2LPhFFK4n4pkn",
"WBTC": "F8EzAa4p8bu4RjfQpRxuD18odVPyYFT8F1dSEZdET9QX",
"NEON": "AsgBahRUUSbnEDc3MnaPBZTaz2q44RvumYeekmVgQ3Qp",
"INJ": "5Q5kyCVzssrGMd2BniSdVeRwjNWrGGrFhMrgGt4zURyA",
"BSOL": "3RtUHQR2LQ7su5R4zWwjupx72sWRGvLA4cFmnbHnT9M7",
"EURC": "6ofhxdD4VLHmDJkaJNsJKgSEmDyUDJwhbSG2dZXGVKei",
"WEN": "eiJbRhoEYPAohiGBnD1HbRComZ51GTAUWdNZMHbUwxv",
"MSOL": "BS2iAqT67j8hA9Jji4B8UpL3Nfw9kwPfU5s4qeaf1e7r",
"MNDE": "G8DHW7itzA1DSrm42nqmjUoxZabQmRkcsfrAcph7Vqa3",
"BLZE": "E7wYLDUzwEYx1aTNNwTqNNRpiPxCpqfA3bZYzhw33Mx2",
"USTC": "5ZJ49jAYEGLfxDkcErM4AtP3tJbjSbJJtxmsp7Lybf29",
"TBTC": "CZoitkS7VkTVx3NCirUZNLXuUwjjECZZ5i52hwy5511W",
"PYTH": "AiQB4WngNPKDe3iWAwZmMzbULDAAfUD6Sr1knfZNJj3y",
"BONK": "FerFD54J6RgmQVCR5oNgpzXmz8BW2eBNhhirb1d5oifo",
"STETH": "AXJBgkinAEwvWmifjDBPcXNwfTJ6eFETDC7QfJt29iNA",
"C98": "HPLDXr6YYWWqn823kPEMRAe5R3BgfRgPRLbBL92Y8Q5a",
"IOT": "CvAYMeiAHjpSmLoJJxEAHcSL8q83P26oXejbAaYrCFm8",
"STRK": "4phtaKe1sgFneWEmAUSVVzHL91rW7cBJX33SA1KxmqS6",
"LST": "FwEbFnRePBJK8DiGqEzcEBVZDSz5gUMMi3girmfXCand",
"ARB": "GtvdY2PJZd2M3uGprVdJFjDe6zEgH1oJhPbzdkp3oGaa",
"ETH": "EMkxjGC1CQ7JLiutDbfYb7UKb3zm9SJcUmr1YicBsdpZ",
"SOL": "ALP8SdU9oARYVLgLR7LrqMNCYBnhtnQz1cj6bwgwQmgj",
"XRP": "D5ZnYXr8qZWpSt8dMeeDmQ945ov1mVzv8Vcy2geeWQnC",
"LINK": "2ufw9xgEAXh17FqRXqWJA7NiCqwnoRBAHWiWjBYcKdkw",
"AVAX": "EtZQCg1z17J4Xz2zzLGRiRVArF9M5YVxezUPnWXqNou8",
"W": "DjntAQq6mGtRfxuuNDrTNoMAQ5jsHFSSx4AZLSKpZUxN",
"APE": "DeoQ4cPV658pWvSVXBpTYfghFeJFBoFzthZknRxaFcsC",
"OP": "53tYNBhNADpsWCdGETHFejfngpG6vYW5n4gu3iY8U9ak",
"GMT": "6Vi1i2rJj23CGxLQYHHVjoMwJm4pNWVGDESdDto7QqTk",
"SAMO": "CtughzCTvcU6nZYeahpvUQSxx5pmTm4XPUwPo8ZT2ftH",
"SUI": "2F8rfBf4z4SzNpeQstFTpLXTQQ7RNKsLFqPdbpybooCc",
"STSOL": "9mpaSy5ocwPvoaxWZc4S8MhUUeUKmmFqymBJTfY6CJ6o",
"JUP": "AykbyeHZbUbEtEAPVpBLoPAMHBrUrDMtXJkPWZw4TRDX",
"MOBILE": "39EeVFgzkH7PtRZpAiHAusXiP6yDkFaajmG91VVmAWjU",
"FIDA": "HyEB4Goiv7QyfFStaBn49JqQzSTV1ybtVikwsMLH1f2M",
"WIF": "DznDVgdrDevCD7SrTYXmv45gb1KHkuWF2ZFdT5pWv3W9",
"RLB": "GdFZiruiW1ZC47WsvruNvN7iWi7MmUCj8mzZb2XzAy4",
"BNB": "4ANvG59u4YToJnVi2CkZbbfTE9mWHpyNbMmm69R43E3q",
"ORCA": "4jLix5Lb1iCcsyGTJZothqYCL4ndj62r9cVTpW9Mowsa",
"TIA": "GWeqH7c64RbRa9DBj5ZH38cPvM9U3xxzuHNSBMct9PWB",
"DOGE": "GeSpWQucSvWhaXVvC2RJihpne9dCdL25pn46BTiDLyYs",
"USDC": "8GWTTbNiXdmyZREXbjsZBmCRuzdPrW55dnZGDkTRjWvb"
}
}
Last updated