---
title: "streamQuotes"
method: GET
path: "/cross-chain/quotes/stream"
tags: ["Cross-Chain"]
---

# streamQuotes

`GET /cross-chain/quotes/stream`

Stream cross-chain quotes as they become available

## Query parameters

- `originChain` string, required
- `destinationChain` string, required
- `sellToken` string, required
- `buyToken` string, required
- `sellAmount` string, required
- `originAddress` string, required
- `destinationAddress` string
- `gasPayer` string
- `solanaEphemeralSignerPubkey` string
- `slippageBps` integer
- `excludedBridges` string
- `includedBridges` string
- `excludedSwapSources` string
- `feeBps` string
- `feeRecipient` string
- `feeToken` string
- `maxNumQuotes` integer

## Headers

- `0x-api-key` string, required

## Response `200`

Successful response

- object — A Server-Sent Event containing cross-chain quote information as it becomes available
  - `zid` string, required — The unique ZeroEx identifier of the request
  - `event` union, required — The streaming event containing either quote data or final result
    - object
      - `type` 'quote', required — Event type indicating a new quote has been found
      - `data` object, required — The quote data containing swap details and allowance information
        - `quote` object, required — The cross-chain quote details including steps, fees, and transaction information
          - `fees` object, required — All fees associated with this cross-chain quote, including integrator fees, 0x protocol fees, and bridge native fees
            - `integratorFee` object, nullable, required — The details about the first fee collected by the integrator
              - …
            - `integratorFees` object[], nullable, required — The details about the fees collected by the integrator
              - …
            - `zeroExFee` object, nullable, required — The details about the fee collected by 0x
              - …
            - `providerAppFee` object, nullable, required — Provider-native app fee collected by the bridge provider (currently only Relay). The chain ID identifies the fee currency and may differ from the origin and destination chains
              - …
            - `bridgeNativeFee` object, nullable, required — Native fee required by the bridge provider for cross-chain message passing that will be added to the transaction value
              - …
            - `reimbursementFee` object
              - …
          - `gasCosts` union, required — Estimated gas costs for executing the transaction on the origin chain, formatted by chain type
            - object
              - …
            - object
              - …
            - object
              - …
          - `steps` union[], required — Sequential steps required to complete the cross-chain swap, including wrapping, swaps, and bridge operations
            - union
              - …
          - `transaction` union, required — The transaction details to execute on the origin chain to initiate the cross-chain swap
            - object
              - …
            - object
              - …
            - object
              - …
          - `estimatedTimeSeconds` number, nullable, required — Estimated total time in seconds for the cross-chain swap to complete, including bridge confirmation time
          - `issues` object, required
            - `allowance` object, nullable, required — The allowances that the `originAddress` must set in order to execute the swap successfully. Null if no allowance is required
              - …
            - `balance` object, nullable, required — The balance of `sellToken` that the `originAddress` must hold. Null if the `originAddress` has sufficient balance
              - …
            - `simulationIncomplete` boolean, required — This is set to `true` when 0x cannot validate the transaction. This happens when the `originAddress` has an insufficient balance of `sellToken` and 0x is unable to perform enhanced quote validation with such low balance. Note that this does not necessarily mean that the trade will revert
          - `quoteId` string, required — The unique ID for this cross-chain quote
        - `allowanceTarget` string — The contract address that needs token allowance approval for this quote
    - object
      - `type` 'result', required — Event type indicating the final result of the quote search
      - `data` object, required — The final result indicating whether any liquidity was available
        - `liquidityAvailable` boolean, required — Whether any liquidity was found for the requested cross-chain swap

## Other responses

- `400` — 400 error response
- `500` — 500 error response

---

[API](https://skmtc.net/0xproject/apis/0x-cross-chain-api.md) · [All operations](https://skmtc.net/0xproject/apis/0x-cross-chain-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/0xproject/0x-cross-chain-api/versions/043dbd431099/schema)
