> ## Documentation Index
> Fetch the complete documentation index at: https://docs.bebop.xyz/llms.txt
> Use this file to discover all available pages before exploring further.

# Indicative Quote

> ## Overview
            Get indicative prices for up to 25 trades in one request. Prices come from the current market maker price levels.
            Bebop does not request firm quotes from market makers and does not store the quote, so the response has no order to sign.
            Request a firm quote from `/quote` before you execute.

            Each item in `requests` counts as one request against the rate limit that `/quote` also uses.
            An item that cannot be priced returns in `errors` with its `index`; the other items still return in `quotes`.



## OpenAPI

````yaml /specs/rfq-api.json post /v3/indicative-quote
openapi: 3.1.0
info:
  title: Bebop RFQ API
  version: '3'
  description: >-
    Request-for-quote trading API. Get quotes and execute token swaps directly
    with market makers.
servers:
  - url: https://api.bebop.xyz/pmm/{chain}
    variables:
      chain:
        default: ethereum
        enum:
          - ethereum
          - polygon
          - arbitrum
          - optimism
          - base
          - bsc
          - blast
          - zksync
          - mode
          - scroll
          - taiko
          - superseed
          - berachain
          - hyperevm
          - avalanche
          - solana
        description: Blockchain network
security:
  - bearerAuth: []
paths:
  /v3/indicative-quote:
    post:
      summary: Indicative Quote
      description: |-
        ## Overview
                    Get indicative prices for up to 25 trades in one request. Prices come from the current market maker price levels.
                    Bebop does not request firm quotes from market makers and does not store the quote, so the response has no order to sign.
                    Request a firm quote from `/quote` before you execute.

                    Each item in `requests` counts as one request against the rate limit that `/quote` also uses.
                    An item that cannot be priced returns in `errors` with its `index`; the other items still return in `quotes`.
      operationId: getIndicativeQuote
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/IndicativeQuoteApiRequest'
        required: true
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/BatchIndicativeQuoteApiResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      servers:
        - url: https://api.bebop.xyz/pmm/{chain}
          variables:
            chain:
              default: ethereum
              enum:
                - ethereum
                - polygon
                - arbitrum
                - optimism
                - base
                - bsc
                - blast
                - zksync
                - mode
                - scroll
                - taiko
                - superseed
                - berachain
                - hyperevm
                - avalanche
              description: Blockchain network
components:
  schemas:
    IndicativeQuoteApiRequest:
      properties:
        requests:
          items:
            $ref: '#/components/schemas/IndicativeQuoteApiRequestItem'
          type: array
          title: Requests
          description: Trades to price, 1 to 25 items
        taker_address:
          type: string
          title: Taker Address
          description: Address which will sign the order
          examples:
            - '0x5Bad996643a924De21b6b2875c85C33F3c5bBcB6'
        receiver_address:
          anyOf:
            - type: string
            - type: 'null'
          title: Receiver Address
          description: >-
            Address which will receive the taker tokens. (Defaults to
            taker_address if not specified)
        origin_address:
          anyOf:
            - type: string
            - type: 'null'
          title: Origin Address
          description: Original user of the quote if different than taker.
        approval_type:
          $ref: '#/components/schemas/ApprovalType'
          title: Type of approval
          description: How the taker approves the sell tokens
          default: Standard
        expiry_type:
          $ref: '#/components/schemas/ExpiryType'
          title: Type of expiry
          description: Standard, Short (5 seconds)
          default: standard
        fee:
          anyOf:
            - type: number
              exclusiveMaximum: 10000
              minimum: 0
            - type: string
              pattern: ^(?!^[-+.]*$)[+-]?0*\d*\.?\d*$
          title: Partner Fee
          description: Fee (bps) to be charged for this quote
          default: '0'
      type: object
      required:
        - requests
        - taker_address
      title: IndicativeQuoteApiRequest
    BatchIndicativeQuoteApiResponse:
      properties:
        requestId:
          type: string
          title: Requestid
        chainId:
          type: integer
          title: Chainid
        taker:
          type: string
          title: Taker
        receiver:
          type: string
          title: Receiver
        quotes:
          items:
            $ref: '#/components/schemas/IndicativeQuoteApiResponse'
          type: array
          title: Quotes
        errors:
          items:
            $ref: '#/components/schemas/IndicativeQuoteApiError'
          type: array
          title: Errors
      type: object
      required:
        - requestId
        - chainId
        - taker
        - receiver
        - quotes
        - errors
      title: BatchIndicativeQuoteApiResponse
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    IndicativeQuoteApiRequestItem:
      properties:
        sell_tokens:
          type: string
          title: Sell Tokens
          description: Comma-separated addresses of the tokens the taker sells
        buy_tokens:
          type: string
          title: Buy Tokens
          description: Comma-separated addresses of the tokens the taker buys
        buy_tokens_ratios:
          anyOf:
            - type: string
            - type: 'null'
          title: Buy Tokens Ratios
          description: Ratios of maker tokens to receive for each taker token
        sell_tokens_ratios:
          anyOf:
            - type: string
            - type: 'null'
          title: Sell Tokens Ratios
          description: Ratios of taker tokens to receive for each maker token
        sell_amounts:
          anyOf:
            - type: string
            - type: 'null'
          title: Sell Token Amounts
          description: >-
            Sell amounts in base units, in the order of sell_tokens. Send
            sell_amounts or buy_amounts
        buy_amounts:
          anyOf:
            - type: string
            - type: 'null'
          title: Buy Token Amounts
          description: Buy amounts in base units, in the order of buy_tokens
      type: object
      required:
        - sell_tokens
        - buy_tokens
      title: IndicativeQuoteApiRequestItem
    ApprovalType:
      type: string
      enum:
        - Standard
      title: ApprovalType
      description: Approval type for public direct quotes. Use Standard.
    ExpiryType:
      type: string
      enum:
        - standard
        - short
      title: ExpiryType
    IndicativeQuoteApiResponse:
      properties:
        quoteId:
          type: string
          title: Quoteid
        gasFee:
          $ref: '#/components/schemas/GasFeeResponse'
          description: >-
            Protocol-reported gas-fee information for the selected route. Direct
            transaction senders pay their network fee separately.
        buyTokens:
          additionalProperties:
            $ref: '#/components/schemas/ResponseBuyToken'
          type: object
          title: Buytokens
        sellTokens:
          additionalProperties:
            $ref: '#/components/schemas/ResponseSellToken'
          type: object
          title: Selltokens
      type: object
      required:
        - quoteId
        - gasFee
        - buyTokens
        - sellTokens
      title: IndicativeQuoteApiResponse
    IndicativeQuoteApiError:
      properties:
        error:
          $ref: '#/components/schemas/ApiError'
          title: Error
        index:
          type: integer
          title: Index
        request:
          $ref: '#/components/schemas/IndicativeQuoteApiRequestItem'
      type: object
      required:
        - error
        - index
        - request
      title: IndicativeQuoteApiError
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
              - type: string
              - type: integer
          type: array
          title: Location
        msg:
          type: string
          title: Message
        type:
          type: string
          title: Error Type
        input:
          title: Input
        ctx:
          type: object
          title: Context
      type: object
      required:
        - loc
        - msg
        - type
      title: ValidationError
    GasFeeResponse:
      properties:
        native:
          type: string
          title: Native
        usd:
          anyOf:
            - type: number
            - type: 'null'
          title: Usd
      type: object
      required:
        - native
      title: GasFeeResponse
    ResponseBuyToken:
      properties:
        amount:
          type: string
          title: Amount
        decimals:
          type: integer
          title: Decimals
        priceUsd:
          anyOf:
            - type: number
            - type: 'null'
          title: Priceusd
        symbol:
          type: string
          title: Symbol
        minimumAmount:
          type: string
          title: Minimumamount
        price:
          anyOf:
            - type: number
            - type: 'null'
          title: Price
        priceBeforeFee:
          anyOf:
            - type: number
            - type: 'null'
          title: Pricebeforefee
        amountBeforeFee:
          anyOf:
            - type: string
            - type: 'null'
          title: Amountbeforefee
        deltaFromExpected:
          anyOf:
            - type: number
            - type: 'null'
          title: Deltafromexpected
      type: object
      required:
        - amount
        - decimals
        - symbol
        - minimumAmount
      title: ResponseBuyToken
    ResponseSellToken:
      properties:
        amount:
          type: string
          title: Amount
        decimals:
          type: integer
          title: Decimals
        priceUsd:
          anyOf:
            - type: number
            - type: 'null'
          title: Priceusd
        symbol:
          type: string
          title: Symbol
        price:
          anyOf:
            - type: number
            - type: 'null'
          title: Price
        priceBeforeFee:
          anyOf:
            - type: number
            - type: 'null'
          title: Pricebeforefee
      type: object
      required:
        - amount
        - decimals
        - symbol
      title: ResponseSellToken
    ApiError:
      properties:
        errorCode:
          type: integer
          title: Errorcode
        message:
          anyOf:
            - type: string
            - type: 'null'
          title: Message
        fee:
          anyOf:
            - $ref: '#/components/schemas/MinSizeFee'
            - type: 'null'
        requestId:
          anyOf:
            - type: string
            - type: 'null'
          title: Requestid
      type: object
      required:
        - errorCode
      title: ApiError
    MinSizeFee:
      properties:
        ether:
          type: number
          title: Ether
        usd:
          type: number
          title: Usd
      type: object
      required:
        - ether
        - usd
      title: MinSizeFee
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      description: API key passed as a Bearer token.

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.