Vietnam Weather Forecast by Province
Weather forecast for the 34 provinces of Vietnam or any coordinates: current conditions, next 24 hours and up to 9 days, in Vietnamese and English.
Result
Press “Run” to see the result.
The weather API returns the forecast for a province (code or name: province=hcm, Hà Nội, 68) at its administrative centre after the 2025 merger, or for any lat / lon. The response has the current conditions (temperature, humidity, wind in m/s and km/h with direction, cloud cover, pressure, precipitation and a condition such as “Mưa rào” / “Rain showers”), an hourly forecast for the next 24 hours and a daily summary with minimum, maximum, precipitation and the main condition for up to 9 days. Times are in Vietnam time.
Forecasts come from MET Norway (the Norwegian Meteorological Institute, api.met.no), a global model that is free for commercial use under CC BY 4.0: show the attribution returned in attribution. Results are cached per location (coordinates rounded to about 1 km) until the source’s next update.
For typhoon warnings and official forecasts in Vietnam, refer to the National Center for Hydro-Meteorological Forecasting (nchmf.gov.vn).
Use this in your code
curl "https://apibox.io.vn/v1/weather?province=hcm&days=3" \
-H "Authorization: Bearer YOUR_API_KEY"const res = await fetch('https://apibox.io.vn/v1/weather?province=hcm&days=3', {
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/weather?province=hcm&days=3",
headers={"Authorization": "Bearer YOUR_API_KEY"},
timeout=30,
)
print(res.json())<?php
$ch = curl_init('https://apibox.io.vn/v1/weather?province=hcm&days=3');
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
Can I get the weather of a ward?
Pass its coordinates with lat and lon. Provinces use the coordinates of their administrative centre.
How often is it updated?
MET Norway updates its forecasts several times a day; the API caches each location until the next update (usually under an hour).
Do I need to credit the source?
Yes, the data is CC BY 4.0: display “Weather data: MET Norway” (the attribution field).