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

# Get indicative quote for an intent swap pair

> Returns an indicative price for a swap of the pair without creating an on-chain order, for the amount given as `fromAmount` or `toAmount`. No authentication is required for this endpoint. Pass the fee your order will carry as `broadcasterFeePercent`: `minPrice` and `minToAmount` leave room for it, for the solver fee and for the settlement network fee, so `minPrice` can be passed on-chain as is.

Without `broadcasterFeePercent` no broadcaster fee is assumed. Amounts too small to cover the settlement network fee are still quoted, with the fee share capped at 30% of the order value: such an order is unlikely to be filled. In `toAmount` mode `minToAmount` is capped at `toAmount` and `minPrice` bounds the amount spent. The floor assumes the default price tolerance.

Answers 404 `pair-not-available` when the pair is not tradable through Intents.





## OpenAPI

````yaml /bron-open-api-public.json get /dictionary/intent-pairs/{fromAssetId}/{toAssetId}/quote
openapi: 3.1.1
info:
  description: >-
    Bron API is based on the RESTish interface provided for data exchange
    between a client and a server with the use of HTTPS requests and responses.
  title: Bron API
  version: latest
  x-bron-formats:
    bigint: Arbitrary-precision integer encoded as a JSON string.
    date-time-millis: >-
      Epoch milliseconds (UTC) encoded as a JSON string. Convert with `new
      Date(parseInt(value))` or equivalent.
    decimal: Arbitrary-precision decimal encoded as a JSON string.
    int32: 32-bit integer encoded as a JSON string.
    int64: >-
      Long integer encoded as a JSON string to preserve precision (e.g. account
      IDs).
servers:
  - description: app.bron.org
    url: https://api.bron.org
security: []
tags:
  - name: stake
  - name: intents
  - name: balances
  - name: addresses
  - name: assets
  - name: transaction-limits
  - name: canton
  - name: address-book
  - name: workspaces
  - name: accounts
  - name: transactions
paths:
  /dictionary/intent-pairs/{fromAssetId}/{toAssetId}/quote:
    get:
      tags:
        - intents
      summary: Get indicative quote for an intent swap pair
      description: >+
        Returns an indicative price for a swap of the pair without creating an
        on-chain order, for the amount given as `fromAmount` or `toAmount`. No
        authentication is required for this endpoint. Pass the fee your order
        will carry as `broadcasterFeePercent`: `minPrice` and `minToAmount`
        leave room for it, for the solver fee and for the settlement network
        fee, so `minPrice` can be passed on-chain as is.


        Without `broadcasterFeePercent` no broadcaster fee is assumed. Amounts
        too small to cover the settlement network fee are still quoted, with the
        fee share capped at 30% of the order value: such an order is unlikely to
        be filled. In `toAmount` mode `minToAmount` is capped at `toAmount` and
        `minPrice` bounds the amount spent. The floor assumes the default price
        tolerance.


        Answers 404 `pair-not-available` when the pair is not tradable through
        Intents.

      parameters:
        - description: ID of the source asset
          example:
            - '2'
          in: query
          name: fromAssetId
          required: true
          schema:
            type: string
        - description: ID of the destination asset
          example:
            - '5002'
          in: query
          name: toAssetId
          required: true
          schema:
            type: string
        - description: >-
            Amount of the from-asset. Exactly one of `fromAmount` or `toAmount`
            must be specified.
          example:
            - '120.015'
          in: query
          name: fromAmount
          required: false
          schema:
            format: decimal
            type: string
        - description: >-
            Amount of the to-asset. Exactly one of `fromAmount` or `toAmount`
            must be specified.
          example:
            - '117500.03'
          in: query
          name: toAmount
          required: false
          schema:
            format: decimal
            type: string
        - description: >-
            Broadcaster fee in percent the order will be created with
            (`_frontEndFee / 10000`). `minPrice` and the amounts leave room for
            it. When omitted, no broadcaster fee is assumed.
          example:
            - '0.03'
          in: query
          name: broadcasterFeePercent
          required: false
          schema:
            format: decimal
            type: string
        - in: path
          name: fromAssetId
          required: true
          schema:
            type: string
        - in: path
          name: toAssetId
          required: true
          schema:
            type: string
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/IntentsQuote'
          description: OK
        '400':
          content:
            application/json:
              schema:
                properties:
                  error:
                    description: The machine-readable error code
                    examples:
                      - bad-request
                    type: string
                  message:
                    description: >-
                      A human-readable message providing more details about the
                      error
                    type: string
                type: object
          description: Bad Request
        '403':
          content:
            application/json:
              schema:
                properties:
                  error:
                    description: The machine-readable error code
                    examples:
                      - forbidden
                    type: string
                  message:
                    description: >-
                      A human-readable message providing more details about the
                      error
                    type: string
                type: object
          description: Forbidden
        '409':
          content:
            application/json:
              schema:
                properties:
                  error:
                    description: The machine-readable error code
                    examples:
                      - conflict
                    type: string
                  message:
                    description: >-
                      A human-readable message providing more details about the
                      error
                    type: string
                type: object
          description: Conflict
components:
  schemas:
    IntentsQuote:
      properties:
        _embedded:
          $ref: '#/components/schemas/IntentsQuoteEmbedded'
          description: Calculated extras for this quote
        fromAmount:
          description: Amount of the from-asset (echo of the request)
          examples:
            - '120.015'
          format: decimal
          type: string
        fromAssetId:
          description: ID of the source asset
          examples:
            - '2'
          type: string
        minPrice:
          description: >-
            Minimum acceptable price (quote/base) for the on-chain order.
            Solvers cannot fill below this. Multiply by `10^18` and pass as
            `CreateOrderParams.maxPrice_e18` (the contract's legacy field name).
          examples:
            - '973.4500'
          format: decimal
          type: string
        minToAmount:
          description: >-
            Hard floor on the to-asset amount, enforced by `minPrice` in the
            on-chain order. Solvers cannot fill below this.
          examples:
            - '116912.53'
          format: decimal
          type: string
        oracleFeePercent:
          description: Oracle protocol fee in percent applied to the order
          examples:
            - '0.02'
          format: decimal
          type: string
        solverFeePercent:
          description: Solver protocol fee in percent applied to the order
          examples:
            - '0.05'
          format: decimal
          type: string
        toAmount:
          description: >-
            Indicative expected amount of the to-asset. May drift slightly
            toward `minToAmount` between quote time and order execution.
          examples:
            - '117500.03'
          format: decimal
          type: string
        toAssetId:
          description: ID of the destination asset
          examples:
            - '5002'
          type: string
      required:
        - fromAssetId
        - toAssetId
        - fromAmount
        - toAmount
        - minToAmount
        - minPrice
        - solverFeePercent
        - oracleFeePercent
      type: object
    IntentsQuoteEmbedded:
      properties:
        slippageBps:
          description: >-
            Slippage applied to the minimum amount, in basis points, when it
            differs from the default
          examples:
            - '300'
          format: int32
          type: string
        slippageReason:
          $ref: '#/components/schemas/SlippageReason'
          description: >-
            Why a non-default slippage is applied. [See
            details](/enums/SlippageReason)
        stockSession:
          $ref: '#/components/schemas/StockSession'
          description: >-
            Current trading session of the tokenized stock leg. [See
            details](/enums/StockSession)
      type: object
    SlippageReason:
      enum:
        - stock-off-session
        - stock-session-unknown
      type: string
    StockSession:
      enum:
        - regular
        - premarket
        - postmarket
        - overnight
        - offhours
        - paused
        - closed
      type: string

````

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