Create public quote
curl --request POST \
--url https://api.qash.ai/api/v1/exchanges/quote/public \
--header 'Content-Type: application/json' \
--data '
{
"fromAsset": "USD",
"toAsset": "COP",
"fromAmount": 100
}
'const options = {
method: 'POST',
headers: {'Content-Type': 'application/json'},
body: JSON.stringify({fromAsset: 'USD', toAsset: 'COP', fromAmount: 100})
};
fetch('https://api.qash.ai/api/v1/exchanges/quote/public', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.qash.ai/api/v1/exchanges/quote/public"
payload = {
"fromAsset": "USD",
"toAsset": "COP",
"fromAmount": 100
}
headers = {"Content-Type": "application/json"}
response = requests.post(url, json=payload, headers=headers)
print(response.text){
"success": true,
"data": {
"fromAsset": "USD",
"toAsset": "COP",
"fromAmount": 100,
"toAmount": 425000,
"rate": 4250,
"expiresAt": "2026-04-16T15:30:30.000Z"
}
}Exchange rates / TRM
Create public quote
Return a real-time quote between two supported assets using the current TRM.
POST
/
api
/
v1
/
exchanges
/
quote
/
public
Create public quote
curl --request POST \
--url https://api.qash.ai/api/v1/exchanges/quote/public \
--header 'Content-Type: application/json' \
--data '
{
"fromAsset": "USD",
"toAsset": "COP",
"fromAmount": 100
}
'const options = {
method: 'POST',
headers: {'Content-Type': 'application/json'},
body: JSON.stringify({fromAsset: 'USD', toAsset: 'COP', fromAmount: 100})
};
fetch('https://api.qash.ai/api/v1/exchanges/quote/public', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.qash.ai/api/v1/exchanges/quote/public"
payload = {
"fromAsset": "USD",
"toAsset": "COP",
"fromAmount": 100
}
headers = {"Content-Type": "application/json"}
response = requests.post(url, json=payload, headers=headers)
print(response.text){
"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.
Body
application/json
Quote request payload.
Response
Quote returned successfully.
Example:
true
Hide child attributes
Hide child attributes
Converted amount after spread is applied.
Effective exchange rate returned by QASH.
Quote expiration timestamp in ISO 8601 format.