Skip to main content
These endpoints are public and do not require authentication.
Use this API section to list supported assets and create time-bound exchange quotes between fiat and supported digital assets. QASH retrieves the TRM in real time from SETICAP, the official source for the Colombian interbank market, and applies the effective spread before returning the final rate.

Endpoints

MethodEndpointDescription
GET/api/v1/exchanges/assetsReturn the assets available for conversion
POST/api/v1/exchanges/quote/publicReturn a real-time public quote between two supported assets

Supported conversion pairs

FromToSupported
USDCOPYes
USDCCOPYes
USDTCOPYes
COPUSDYes
COPUSDCYes
COPUSDTYes
USDCOPMYes
USDCCOPMYes
USDTCOPMYes
COPMUSDYes
COPMUSDCYes
COPMUSDTYes

Rate calculation

For TRM-based conversions, QASH applies a spread before returning the final effective rate.
DirectionFormula
USD-denominated asset to COP legrate = TRM × (1 − spread)
COP leg to USD-denominated assetrate = 1 / (TRM × (1 + spread))
The rate field in the response already includes the effective spread applied by QASH.

Error handling

HTTP statusCause
400Missing fields or invalid fromAmount
503TRM unavailable because SETICAP is down and the cache has expired
500Internal service error
Quotes expire after 30 seconds. Request a new quote immediately before processing an operation.