System

public/getRateLimits

Changed on

Returns 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 URL
    https://api.derive.xyz/v3
  • Auth
    none declared

Request body

EmptyRequest 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

RateLimitResult required
remaining_connections, RateLimitInfo nullable
remaining_matching, RateLimitInfo required
remaining_non_matching, RateLimitInfo required
remaining_per_endpoint, object required

Changes