Binance Vanilla - REST-Trades endpoint

The endpoint https://vapi.binance.com/vapi/v1/trades. It’s not respecting the limit of anything more than 100, in the API it says the maximum limit is 500.

This can be seen by placing a rest order with limit = 500 for asset BTC-210806-40000-P. If we make the same order, but at the historicalTrades endpoint it is returning more trades than 100. Can you see why you are not returning until 500 Trades?

Another question, how can I ‘translate’ the ID receiveid from the endpoint Trades to the ID received forthe same trade from the endpoint historicalTrades?

this endpoint returns 100 records by default, set limit to the number that you wish to receive on each request, check the details from document. https://binance-docs.github.io/apidocs/voptions/en/#recently-completed-option-trades

I did this and returned only 100 to asset BTC-210806-40000-P