FX

Request FX swap estimation

Creates swap estimation. Returns deposit address where corporation sends source tokens.

post/api/v1/fx/estimate

Request

  • Base URL
    https://api-business.wirexapp.com
  • URL
    https://api-business.wirexapp.com/api/v1/fx/estimate
  • Auth
    API key in header Authorization

Request body

correlation_idstring

CorrelationId is an optional client-provided identifier for tracking the request

destination_asset_addressstring required

Token contract address of destination asset

destination_asset_amountstring

Amount to receive (mutually exclusive with source_asset_amount)

source_asset_addressstring required

Token contract address of source asset

source_asset_amountstring

Amount to swap (mutually exclusive with destination_asset_amount)

Example request

{
  "correlation_id": "550e8400-e29b-41d4-a716-446655440000",
  "destination_asset_address": "0x1aBaEA1f7C830bD89Acc67eC4af516284b1bC33c",
  "destination_asset_amount": "50.25",
  "source_asset_address": "0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48",
  "source_asset_amount": "100.50"
}

Response

OK

deposit_addressstring required

Circle wallet address for token deposit

destination_asset_addressstring required

Destination token contract address

destination_asset_amountstring required

Calculated destination amount

estimation_idstring required

UUID required for execution

expiration_timestring required

ISO 8601 expiration timestamp

source_asset_addressstring required

Source token contract address

source_asset_amountstring required

Calculated source amount

trade_ratestring required

Exchange rate applied

Example response

{
  "deposit_address": "0x1234567890abcdef1234567890abcdef12345678",
  "destination_asset_address": "0x1aBaEA1f7C830bD89Acc67eC4af516284b1bC33c",
  "destination_asset_amount": "50.25",
  "estimation_id": "550e8400-e29b-41d4-a716-446655440000",
  "expiration_time": "2026-01-21T12:00:00Z",
  "source_asset_address": "0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48",
  "source_asset_amount": "100.50",
  "trade_rate": "1.05"
}

Changes

No recorded changes to this operation across all 1 revision of this API.