System
public/getRateLimits
Changed onReturns the caller's current remaining rate-limit allowances for the active connection, broken out into matching-request, non-matching-request, and per-endpoint buckets. On WebSocket connections it also includes the remaining connection allowance.
post/public/getRateLimits
Request
- Base URLhttps://api.derive.xyz/v3
- Authnone declared
Request body
Empty Request required
This method takes no parameters; send an empty object {}.
Braced rather than a unit struct so schemars emits {"type": "object"}: a unit struct emits null, which contradicts the line above and forced every generated client to cast around the params type.
Response
Success
Rate Limit Result required
remaining_connections, Rate Limit Info nullable
remaining_matching, Rate Limit Info required
remaining_non_matching, Rate Limit Info required
remaining_per_endpoint, object required
Changes
- info
added the media type
application/jsonfor the response with the status
- info