Skip to main content

Subscribe to RFQ requests

REQUEST wss://connection.bitvavo.com:8004/rfq/v1 rfqRequests

Subscribes to rfqRequest and rfqTermination events for the specified rfqTypes. Once subscribed, the server sends events whenever a taker starts, refreshes, or ends an RFQ session that matches your subscription.

To receive rfqRequest events only for some markets, set markets, for example ["BTC-EUR", "ETH-EUR"]. Omit it to receive every market. An empty list receives none.

Each session keeps its own market list per rfqType. Subscribing to a type again replaces its list rather than adding to it. To return to every market, subscribe without markets. The subscribed response shows the active lists in marketFilters.

The filter applies only to rfqRequest. The quoteAck, quoteNack, rfqTrade, and rfqTermination events still go to every session of your account subscribed to the rfqType. See Several sessions on one account.

If a market is malformed or can never receive an RFQ of that type, or a list has more than 1000 markets, the server returns an error and changes none of your subscriptions.

Request​

Body
    actionstringrequired

    Set to subscribe to start the subscription.

    Possible values: [subscribe]

    Example: subscribe
    requestIdinteger<int64>

    An identifier that you assign to the request. The server echoes it back in the matching response so you can correlate the two.

    Example: 9021001
    channels object[]required

    The channels to subscribe to.

  • Array [
  • namestringrequired

    The name of the channel. Currently, rfqRequests is the only available channel. It streams rfqRequest and rfqTermination events.

    Possible values: [rfqRequests]

    rfqTypesstring[]required

    The types of RFQ requests to subscribe to. Possible values:

    • priceGuarantee — the standard Price Guarantee RFQ for spot markets.
    • priceGuaranteeUK — the Price Guarantee RFQ variant for United Kingdom customers.
    • priceGuaranteeConvert — the Price Guarantee RFQ variant used for asset-to-asset conversions (the Convert product).

    Possible values: [priceGuarantee, priceGuaranteeUK, priceGuaranteeConvert]

    marketsstring[]

    Optional. The markets for which you receive rfqRequest events. If you omit this field, you receive every market. An empty list matches no market. Ignored in an unsubscribe action.

    Possible values: <= 1000

  • ]

Response​

Schema
    eventstringrequired

    Confirmation that the server accepted the subscription, together with the list of subscriptions that are active for your session.

    Possible values: [subscribed]

    Example: subscribed
    requestIdinteger<int64>

    An identifier that you assign to the request. The server echoes it back in the matching response so you can correlate the two.

    Example: 9021001
    subscriptions objectrequired

    The subscriptions that are currently active on your session, grouped by channel.

    rfqRequestsstring[]required

    The RFQ types that are currently active on the rfqRequests channel. Possible values:

    • priceGuarantee — the standard Price Guarantee RFQ for spot markets.
    • priceGuaranteeUK — the Price Guarantee RFQ variant for United Kingdom customers.
    • priceGuaranteeConvert — the Price Guarantee RFQ variant used for asset-to-asset conversions (the Convert product).

    Possible values: [priceGuarantee, priceGuaranteeUK, priceGuaranteeConvert]

    marketFilters object[]

    The markets filters that are active on your session, one entry per filtered RFQ type. Omitted when none of your subscriptions has a filter.

  • Array [
  • rfqTyperequired
    marketsstring[]required

    The markets for which you receive rfqRequest events of this type.

    Possible values: Value must match regular expression ^[A-Z0-9]+-[A-Z0-9]+$

  • ]