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

# Get quote by ID

> Retrieves a previously created quote by ID, including its locked rate,
fee breakdown, and expiry.



## OpenAPI

````yaml /api-reference/openapi.yaml get /quotes/{quoteId}
openapi: 3.0.3
info:
  title: Polygon OMS Public API
  version: v26.05.28-0001
  description: >-
    Unified API for moving money between crypto and fiat. Three ways to move
    money: Transactions (instant, wallet or card funded, including Cash-In for
    in-person cash deposits), Deposit Addresses (reusable crypto deposit
    configurations), and Virtual Accounts (dedicated bank accounts that
    auto-convert fiat to crypto). Standard transactions follow a two-step flow:
    create a Quote (pricing), then create a Transaction (execution). Cash-in
    codes generate a one-time deposit code for in-person cash deposits at retail
    locations.
  contact:
    name: Polygon OMS
    url: https://oms.polygon.technology
servers:
  - url: https://sandbox-api.polygon.technology/v0.9
    description: Sandbox
  - url: https://api.polygon.technology/v0.9
    description: Production
security:
  - BearerAuth: []
tags:
  - name: Auth
    description: Authentication via FrontEgg
  - name: Customers
    description: Customer management and KYC
  - name: Customer
  - name: Wallet
  - name: Quote
  - name: Transaction
  - name: Webhook
  - name: CashIns
  - name: CashLocation
  - name: Sandbox
  - name: Simulation
paths:
  /quotes/{quoteId}:
    get:
      tags:
        - Quote
      summary: Get quote by ID
      description: |-
        Retrieves a previously created quote by ID, including its locked rate,
        fee breakdown, and expiry.
      operationId: getQuote
      parameters:
        - in: path
          name: quoteId
          required: true
          schema:
            type: string
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Quote'
          description: The request has succeeded.
components:
  schemas:
    Quote:
      description: >-
        A price quote for moving money between two instruments. It locks an
        exchange rate and the amounts for a short window; execute it by creating
        a transaction that references this quote's id.
      properties:
        createdAt:
          type: string
          format: date-time
        customerId:
          type: string
        destination:
          $ref: '#/components/schemas/QuoteDestResponse'
        developerFees:
          description: >-
            Developer fee entries echoed back from the request.

            Omitted in alpha - request side is stripped per spec § 2. The field

            stays on the schema so it can be reintroduced without a breaking
            change

            when developer fees ship.
          items:
            $ref: '#/components/schemas/FeeEntry'
          type: array
        expiresAt:
          type: string
          format: date-time
        fixedAmountSide:
          description: Which side the caller fixed the amount on.
          enum:
            - source
            - destination
          type: string
        id:
          type: string
        metadata:
          type: object
          additionalProperties:
            type: string
        object:
          enum:
            - quote
          type: string
        rates:
          $ref: '#/components/schemas/Rates'
        source:
          $ref: '#/components/schemas/QuoteSourceResponse'
        sponsorGas:
          type: boolean
        sponsorGasCost:
          description: |-
            USD cost of gas absorbed by the developer when sponsoring gas.
            Always "0" in alpha - gas is sponsored. Spec § 4.1.
          type: string
        status:
          $ref: '#/components/schemas/QuoteStatus'
        type:
          type: string
      type: object
    QuoteDestResponse:
      description: >-
        The resolved destination side of a quote, with the amounts and fees on
        that side.
      properties:
        amountGross:
          type: string
        amountNet:
          type: string
        asset:
          type: string
        cash:
          allOf:
            - $ref: '#/components/schemas/CashInfo'
          description: >-
            Cash pickup details. Present when quote type is crypto_to_fiat
            (cash).
        feesDeducted:
          $ref: '#/components/schemas/FeesDeducted'
        network:
          type: string
        wallet:
          $ref: '#/components/schemas/QuoteDestWallet'
      type: object
    FeeEntry:
      description: >-
        A single developer fee entry. At least one of percentage or flatFee is
        required.
      properties:
        amount:
          description: Computed fee amount for this entry. Present on responses only.
          type: string
        flatFee:
          description: Fixed fee in USD. Converted to fee-side asset at the exchange rate.
          type: string
        id:
          description: Unique identifier assigned by OMS. Present on responses only.
          type: string
        payoutAsset:
          description: Crypto asset for fee payout. Defaults to "usdc".
          enum:
            - usdc
            - usdt
          type: string
        percentage:
          description: Percentage fee as a decimal rate. "0.02" = 2%.
          type: string
        wallet:
          description: OMS wallet to receive this fee.
          type: string
      type: object
    Rates:
      description: Exchange and effective rates.
      properties:
        effectiveRate:
          description: All-in rate inclusive of all fees on both sides.
          type: string
        exchangeRate:
          description: Units of destination asset per 1 unit of source asset.
          type: string
        pair:
          description: Asset pair string, e.g. "usdc/usd".
          type: string
      required:
        - pair
        - exchangeRate
        - effectiveRate
      type: object
    QuoteSourceResponse:
      description: >-
        The resolved source side of a quote, with the amounts and fees on that
        side.
      properties:
        amountGross:
          type: string
        amountNet:
          type: string
        asset:
          type: string
        feesDeducted:
          $ref: '#/components/schemas/FeesDeducted'
        network:
          type: string
        walletId:
          type: string
      type: object
    QuoteStatus:
      description: >-
        Status of a quote. open: pricing locked, awaiting acceptance. accepted:
        a transaction has been created from it. expired: the pricing window
        elapsed.
      enum:
        - open
        - accepted
        - expired
      type: string
    CashInfo:
      properties:
        locationId:
          type: string
        locationReference:
          type: string
      required:
        - locationId
        - locationReference
      type: object
    FeesDeducted:
      description: |-
        Per-side breakdown of fees deducted in-line from the transaction.
        End-of-month billable fees will be reported separately in the future
        (planned `feesInvoice` sibling). Denominated in that side's asset.
      properties:
        developer:
          description: |-
            Per-side aggregated developer fee total in this side's asset.
            Always "0" in alpha - alpha invariant, mirrors the gas line.
          type: string
        gas:
          type: string
        oms:
          type: string
        total:
          type: string
      required:
        - total
        - developer
        - oms
        - gas
      type: object
    QuoteDestWallet:
      properties:
        blockchainAddress:
          type: string
        id:
          type: string
      type: object
  securitySchemes:
    BearerAuth:
      type: http
      scheme: bearer
      bearerFormat: JWT
      description: Token from POST /auth/token

````