Skip to main content
POST
/
api
/
v1
/
exchanges
/
quote
/
public
curl --request POST \
  --url https://staging.qash.ai/api/v1/exchanges/quote/public \
  --header 'Content-Type: application/json' \
  --data '
{
  "fromAsset": "USD",
  "toAsset": "COP",
  "fromAmount": 100
}
'
{
  "success": true,
  "data": {
    "fromAsset": "USD",
    "toAsset": "COP",
    "fromAmount": 100,
    "toAmount": 425000,
    "rate": 4250,
    "expiresAt": "2026-04-16T15:30:30.000Z"
  }
}
This endpoint is public and does not require authentication.
Quotes expire 30 seconds after they are created. Request a new quote immediately before processing a transaction.
Use this endpoint for pricing widgets, calculators, and checkout previews.

Body

application/json

Quote request payload.

fromAsset
enum<string>
required

Source asset code.

Available options:
USD,
COP,
USDC,
USDT,
COPM
toAsset
enum<string>
required

Destination asset code.

Available options:
USD,
COP,
USDC,
USDT,
COPM
fromAmount
number
required

Amount to convert.

Response

Quote returned successfully.

success
boolean
required
Example:

true

data
object
required