[Python] How to get a Crypto Price change (from Binance) in an interval below 1 minute?

Discussão em 'Python' iniciado por Stack, Maio 4, 2025.

  1. Stack

    Stack Membro Participativo

    The URL below shows the changes on the price of the pair YFI/USDT with the minimum price change that the endpoint api/v1/klines can provide: &interval=1m.

    https://api.binance.com/api/v1/klines?symbol=YFIUSDT&interval=1m

    I looked through all the Binance API for around 2 hours tonight and I couldn't find a way to get data inferior to 1 minute. I wish I could find something like this:

    https://api.binance.com/api/v1/klines?symbol=YFIUSDT&interval=1s

    where &interval=1s mean 1 second.

    Using the Binance API, is there a way to get this information?

    Continue reading...

Compartilhe esta Página