Hey
there is a huge difference in USDC rates between the convert and avgPrice endpoints
Example: GET https://api.binance.com/api/v3/avgPrice?symbol=XRPUSDC
returns
{
"price": "0.44112395"
(...)
}
while
POST https://api.binance.com/sapi/v1/convert/getQuote?toAsset=USDC&fromAmount=1&fromAsset=XRP
returns
{
"ratio": "0.673328",
(...)
}
which is the correct value.
also - GET https://api.binance.com/api/v3/avgPrice?symbol=XRPUSDT
returns 0.688
, which also is a correct value. the problems seems to be with USDC exclusively
how can I get the correct value from the avgPrice API?
even simply googling xrp to usd yields 0.69 (which is close-ish to convert), while 0.44 is simply wrong. no doubts here.
I’d appreciate any help as this is affecting our production systems right now and we needed to switch to other providers to mitigate the issue
best regards,
RD