Order rate limits for margin

Your documentation states that the limits on the /sapi/* handles are 180,000 uid weight per minute. I tried to test these limits and found out that after 50 requests to the /sapi/v1/margin/order, I get an error {“code”: -1015, “msg”: “Too many new orders.”}.
Is it true that margin accounts have the same order rate limits as spot ones? It seems that this is the case, but the /sapi endpoint doesn’t have the X-MBX-ORDER-COUNT header in the response.

Thanks for reporting. This endpoint has both /sapi rate limit and x-mbx-order-count- limit applied. The team is working on this to make the thing clearer.