Does a higher orderId guarantee that it is a more recent order?

When using the order API, does a higher orderId guarantee a more recent order? Empirically, it seems to be guaranteed, but I’m hesitant to use it due to potential exceptions.

I plan to use orderId from /fapi/v1/allOrders to retrieve orders after a specific order. However, I’m not sure if this is a safe operation.

Hey,
When you provide an orderId, the API will return all orders with ids greater than the specified order id. You can find more details in the documentation: Binance API Documentation

Thank you. Yes, I understand that. However, what I want to know is whether a higher ID value guarantees that the order is more recent.