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

# Get Sell Quote (v1)

> Get Sell Quote

---

**Field notes (recovered from legacy docs)**

**Get Sell Quote**

**Behavior**

At least one of `from_amount` or `to_amount` must be provided with a non-zero value.

**Response field values**

| Field | Possible Values |
| --- | --- |
| `fee_breakup` keys | `platform_fee`, `network_fee`, `client_fee`, `discount`, `tax_on_fee`, `tds` |



## OpenAPI

````yaml /openapi-v1.json get /api/v2/wallet/s/quote
openapi: 3.1.0
info:
  title: Saber Money API (v1)
  version: v1
  description: >-
    ## Authentication


    There is no standalone API-key auth — every request must be **signed**. An
    API key by itself authenticates nothing. Each call requires four headers
    together: `X-Api-Key` (your key), `X-Signature` (HMAC-SHA256 of `apiKey +
    timestamp` — or `apiKey + timestamp + userId` when `X-User-Id` is required —
    keyed with your API secret), `X-Timestamp` (unix seconds), and
    `X-Request-Id` (any unique string per request). The signature must be
    computed by a client script; there is no way to derive it by hand. Use the
    HMAC Generator flow to compute valid values for manual testing.


    ## Common Authentication Errors


    - **Invalid Client ID**: {"error_code":6092,"message":"X-Client-Id
    invalid","success":false}

    - **Invalid Secret**: {"error_code":6090,"message":"invalid
    secret","success":false}

    - **Timestamp (Older than 10 secs)**:
    {"errors":{"error_code":6093,"text":"timestamp expired"},"success":false}
servers:
  - url: https://api.saber.money
security: []
paths:
  /api/v2/wallet/s/quote:
    get:
      tags:
        - Offramp
      summary: Get Sell Quote (v1)
      description: >-
        Get Sell Quote


        ---


        **Field notes (recovered from legacy docs)**


        **Get Sell Quote**


        **Behavior**


        At least one of `from_amount` or `to_amount` must be provided with a
        non-zero value.


        **Response field values**


        | Field | Possible Values |

        | --- | --- |

        | `fee_breakup` keys | `platform_fee`, `network_fee`, `client_fee`,
        `discount`, `tax_on_fee`, `tds` |
      operationId: get-sell-quote-v1
      parameters:
        - name: from_currency
          in: query
          required: true
          description: The from_currency parameter
          schema:
            type: string
            description: The from_currency parameter
        - name: from_amount
          in: query
          required: true
          description: The from_amount parameter
          schema:
            type: string
            description: The from_amount parameter
        - name: to_currency
          in: query
          required: true
          description: The to_currency parameter
          schema:
            type: string
            description: The to_currency parameter
        - name: X-Api-Key
          in: header
          required: true
          description: Your API key (configured in credentials)
          schema:
            type: string
        - name: X-Signature
          in: header
          required: true
          description: >-
            HMAC-SHA256 signature (auto-generated) To test manually: HMAC-SHA256
            of `apiKey + timestamp` (or `apiKey + timestamp + userId` when
            X-User-Id is required), keyed with your API secret. The HMAC
            Generator flow computes this for you.
          schema:
            type: string
        - name: X-Timestamp
          in: header
          required: true
          description: >-
            Unix timestamp in seconds (auto-generated) Unix seconds, e.g.
            `Math.floor(Date.now() / 1000)`. Must match the timestamp used in
            the X-Signature computation.
          schema:
            type: string
        - name: X-Request-Id
          in: header
          required: true
          description: >-
            Unique request identifier (auto-generated) Any unique string per
            request, e.g. a UUID.
          schema:
            type: string
        - name: X-User-Id
          in: header
          required: true
          description: User UUID (set above)
          schema:
            type: string
      responses:
        '200':
          description: Successful response
          content:
            application/json:
              schema:
                type: object
                properties:
                  success:
                    type: boolean
                  data:
                    type: object
                    properties:
                      from_currency:
                        type: string
                      to_currency:
                        type: string
                      from_amount:
                        type: integer
                      pre_fee_to_amount:
                        type:
                          - number
                          - integer
                      to_amount:
                        type:
                          - number
                          - integer
                      base_price:
                        type: number
                      final_price:
                        type:
                          - number
                          - integer
                      total_fee:
                        type:
                          - number
                          - integer
                      fee_currency:
                        type: string
                      fee_breakup:
                        type: object
              example:
                success: true
                data:
                  from_currency: USDT
                  to_currency: INR
                  from_amount: 1
                  pre_fee_to_amount: 87.11
                  to_amount: 86.24
                  base_price: 87.11
                  final_price: 86.24
                  total_fee: 0.87
                  fee_currency: INR
                  fee_breakup:
                    platform_fee: 0
                    network_fee: 0
                    client_fee: 0
                    discount: 0
                    tax_on_fee: 0
                    tds: 0.87

````

## Related topics

- [Get Buy Quote (v1)](/api-reference/onramp/get-buy-quote-v1.md)
- [Get Sell Transaction Details (v1)](/api-reference/offramp/get-sell-transaction-details-v1.md)
- [Get Transaction Details (v1)](/api-reference/offramp/get-transaction-details-v1.md)
- [List Transactions (v1)](/api-reference/offramp/list-transactions-v1.md)
- [Fetching Quote](/offramp/operations/quote.md)
