I’ve been doing some test with the public endpoint
https://api.binance.com/api/v3/ticker/price
and it works
but I get 20 currency pairs only when I do the same research with both python or php libraries from the Binance github :
//command I use in php
$ticker = $api->prices();
print_r($ticker);
#command I use in Python
prices = client.get_all_tickers()
print(prices)
gettig only these:
[BNBBUSD] => 585.00000000
[BTCBUSD] => 48408.82000000
[ETHBUSD] => 3999.00000000
[LTCBUSD] => 154.47000000
[TRXBUSD] => 0.09116000
[XRPBUSD] => 0.83720000
[BNBUSDT] => 565.20000000
[BTCUSDT] => 47963.37000000
[ETHUSDT] => 35214.16000000
[LTCUSDT] => 1102.27000000
[TRXUSDT] => 0.08897000
[XRPUSDT] => 0.91480000
[BNBBTC] => 0.01180000
[ETHBTC] => 0.08419400
[LTCBTC] => 0.00315800
[TRXBTC] => 0.00000186
[XRPBTC] => 0.00001719
[LTCBNB] => 0.25170000
[TRXBNB] => 0.00015640
[XRPBNB] => 0.00144300
With php library I’ve veen trying switching from true to false the testnet option. Then I looked inside the rate limiter file “php-binance-api-rate-limiter.php” but I can’t see any problem there. More, looking inside the “php-binance-api.php” scripts, it seems the library refers the V3 api (in case this information can help)
Does somebody have experience with these libraries or/and can they figure out how to get the remaining pairs? Thank you