VND Exchange Rates Today
Vietcombank buying (cash, transfer) and selling rates for 20 currencies, past dates, VND conversion and mid-market rates for 160 currencies.
Result
Press “Run” to see the result.
The exchange rate API returns the rate table of Vietcombank, the reference most Vietnamese businesses use: cash buying, transfer buying and selling rates for 20 currencies (USD, EUR, JPY, CNY, KRW, SGD…). Pass date=YYYY-MM-DD for a past day, for example the date of an invoice; past tables are cached, today’s table is refreshed every 15 minutes.
With amount, from and to it converts: from a foreign currency to VND you get the amount at each buying rate and at the selling rate; from VND to a foreign currency, the amount the bank sells you. Conversions between two foreign currencies, or currencies Vietcombank does not quote, use daily mid-market rates (open.er-api.com, about 160 currencies), as does source=market&base=EUR for a full table.
Rates are for reference: bank branches and transfer types can differ. The response always names the source, the date of the table and the time Vietcombank last updated it.
Use this in your code
curl "https://apibox.io.vn/v1/exchange-rates?amount=100&from=USD" \
-H "Authorization: Bearer YOUR_API_KEY"const res = await fetch('https://apibox.io.vn/v1/exchange-rates?amount=100&from=USD', {
method: 'GET',
headers: {
Authorization: 'Bearer YOUR_API_KEY',
},
});
const data = await res.json();
console.log(data);import requests
res = requests.get(
"https://apibox.io.vn/v1/exchange-rates?amount=100&from=USD",
headers={"Authorization": "Bearer YOUR_API_KEY"},
timeout=30,
)
print(res.json())<?php
$ch = curl_init('https://apibox.io.vn/v1/exchange-rates?amount=100&from=USD');
curl_setopt_array($ch, [
CURLOPT_RETURNTRANSFER => true,
CURLOPT_HTTPHEADER => ['Authorization: Bearer YOUR_API_KEY'],
]);
$response = curl_exec($ch);
print_r(json_decode($response, true));API documentation → Get a free API key
FAQ
Which rate should I use for accounting?
For foreign-currency revenue the transfer buying rate of your bank on the transaction date is the usual choice; use date= to get it. The API returns all three Vietcombank rates so you can follow your own policy.
How far back does the history go?
As far as Vietcombank publishes its tables (several years). Weekends and holidays return the last table of that day.
Can I convert USD to EUR?
Yes. Pairs without VND use mid-market rates of the day (source: open.er-api.com) and are only available for today.