RFQ

private/get_maker_rfq_history

Changed on

Maker-side history of RFQs the subaccount was eligible to quote, i.e. RFQs open to all makers or naming the maker's wallet as a counterparty, including ones the maker never quoted. Returns filled, cancelled and expired RFQs only; use private/poll_rfqs for open ones. Supports filtering by rfq_id, status, an originating RFQ subaccount, and an RFQ creation-time window, with pagination. Without from_timestamp, the window covers the 30 days before to_timestamp (or before now). Newest RFQs first. Returns the same public RFQ view as private/poll_rfqs, with fill rates unset. An RFQ appears here a few seconds after it leaves private/poll_rfqs.

post/private/get_maker_rfq_history

Request

  • Base URL
    https://api.derive.xyz/v3
  • Auth
    API key in header X-DeriveWallet and API key in header X-DeriveTimestamp and API key in header X-DeriveSignature

Request body

GetMakerRfqHistoryRequest required
from_timestamp, integer nullable

Start of the RFQ creation-time window, in ms. Defaults to 30 days before the earlier of to_timestamp and now.

page, integer
page_size, integer
rfq_id, string nullable
rfq_subaccount_id, integer nullable

Only RFQs sent from this taker subaccount.

status, 'open' | 'filled' | 'cancelled' | 'expired' nullable
subaccount_id, integer required
to_timestamp, integer

End of the RFQ creation-time window, in ms.

Response

Success

RFQPollResponse required
pagination, Pagination required

Response envelope for paginated RPCs.

rfqs, PublicRfq[] required

Changes

    • info

      the endpoint scheme security DeriveWallet AND DeriveTimestamp AND DeriveSignature was added to the API

    • info

      added the media type application/json for the response with the status