cryptofetch icon indicating copy to clipboard operation
cryptofetch copied to clipboard

Eligibility Error

Open Warden314 opened this issue 10 months ago • 1 comments

When trying to connect to api.binance.com there is an eligibility issue. It appears that Binance wants you to use data-api.binance.vision for public market data requests:

https://developers.binance.com/docs/binance-spot-api-docs/faqs/market_data_only

updating api.binance.com -> data-api.binance.vision solves the issue.

Warden314 avatar Jan 26 '26 15:01 Warden314

Hey @Warden314, thanks for catching this! I haven't hit this issue myself (probably region-dependent), but you're right that api.binance.com has geographic restrictions.

I've updated the code to use data-api.binance.vision as the primary endpoint with api.binance.com as fallback. This should work for everyone regardless of location since data-api.binance.vision is specifically for public market data with relaxed restrictions.

Thanks for flagging this!

varshithkarkera avatar Jan 27 '26 08:01 varshithkarkera