---
title: "Get exchange transfer quote"
method: POST
path: "/exchange_transfers/quote"
tags: ["Exchange transfers"]
---

# Get exchange transfer quote

`POST /exchange_transfers/quote`

Requests a quote for an exchange transfer.

## Request body

- FiatExchangeTransferQuoteRequest — Use this JSON request body to request a quote for an exchange transfer.
  - `sender_address` string, required — RippleNet account name and address of the sender, in the format `accountname@ripplenetaddress`. For example, `new_york@rn.us.ny.new_york`.
  - `receiver_address` string, required — RippleNet account name and address of the receiver, in the format `accountname@ripplenetaddress`. For example, `new_york@rn.us.ny.new_york`.
  - `amount` number, required — Amount transferred, expressed in the curency of the account indicated by the `amount_type` value.
  - `amount_type` 'SENDER_AMOUNT' | 'RECEIVER_AMOUNT', required — Amount type of the exchange transfer.<p>To indicate that the `amount` is expressed in the currency of the account provided by the `sender_address` value, set to `SENDER_AMOUNT`.</p> <p>To indicate that the `amount` is expressed in the currency of the account provided by the `receiver_address` value, set to `RECEIVER_AMOUNT`.</p>

## Response `200`

Successfully quoted exchange transfer.

- FiatExchangeTransferQuoteResponse — JSON response object that represents a quote for an exchange transfer.
  - `type` 'FIRM' | 'INDICATIVE', required — Indicates the exchange transfer's quoted FX rate type.
  - `sender_address` string, required — RippleNet account name and address of the sender, in the format `accountname@ripplenetaddress`. For example, `new_york@rn.us.ny.new_york`.
  - `receiver_address` string, required — RippleNet account name and address of the receiver, in the format `accountname@ripplenetaddress`. For example, `new_york@rn.us.ny.new_york`.
  - `source_amount` number, required — Sending amount of the exchange transfer.
  - `destination_amount` number, required — Receiving amount of the exchange transfer.
  - `source_currency` string, required — Sending currency of the exchange transfer.
  - `destination_currency` string, required — Receiving currency of the exchange transfer.
  - `fx_transfer_rate` ExchangeTransferRate, required — Describes an exchange rate used in an exchange transfer.
    - `rate` number, required — Exchange rate used to make the exchange transfer.
    - `base_currency` string, required — Base currency for custom rate for the sending account.
    - `counter_currency` string, required — Counter currency for custom rate for the sending account.
    - `rate_type` string, required — Rate type used to make the exchange transfer. Valid values are `BUY` or `SELL`.

## Other responses

- `400` — Bad request.

---

[API](https://skmtc.net/ripple/apis/ripplenet-server-api.md) · [All operations](https://skmtc.net/ripple/apis/ripplenet-server-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/ripple/ripplenet-server-api/revisions/7843f07ca150/schema)
