awesome-vietnam-open-data

🇻🇳 Awesome Vietnam Open Data

Total APIs Live APIs Dead APIs Auto Update License: MIT

🌏 The largest open data collection for Vietnam built for developers — Curated free public APIs for the Vietnamese market. Maintained automatically by GitHub Actions, updating API status every night.

🤝 Want to contribute? Open a Pull Request or create an Issue to suggest a new API!

📋 Overview

Metric Value
Total APIs 7
🟢 Alive 2
🔴 Dead 5
Last Updated 12/4/2026, 1:40:45 AM (GMT+7)

📂 Table of Contents


🏛️ Hành chính

API Name Description Status Auth CORS
Tỉnh/Thành Phố Việt Nam API for listing all provinces and cities of Vietnam, incl… 🔴 Chết 🔓 Không Yes
Tra Cứu Địa Chỉ VNPost Postal code lookup API for Vietnamese address information 🔴 Chết 🔓 Không Unknown
Thống Kê Dân Số Population statistics data by province/city from the Gene… 🔴 Chết 🔓 Không No

💻 Quick Integration Code

Tỉnh/Thành Phố Việt Nam

fetch('https://localapi.epizy.com/api/vn/provinces')
  .then(res => res.json())
  .then(data => console.log(data));

Tra Cứu Địa Chỉ VNPost

fetch('https://api.vnpost.vn/post-code/search?code=10000')
  .then(res => res.json())
  .then(data => console.log(data));

Thống Kê Dân Số

fetch('https://www.gso.govn.gov.vn/data/population')
  .then(res => res.text())
  .then(html => console.log('Dữ liệu dân số:', html.substring(0, 500)));

💰 Tiện ích/Tài chính

API Name Description Status Auth CORS
VietQR Lookup VietQR lookup API, validates QR code and retrieves recipi… 🔴 Chết 🔑 Cần Yes
Giá Vàng SJC Real-time SJC gold prices from public websites 🔴 Chết 🔓 Không No
Thời Tiết Hà Nội 7-day weather forecast API for Hanoi and other provinces 🟢 Sống 🔓 Không Yes

💻 Quick Integration Code

VietQR Lookup

fetch('https://vietqr.io/api/query', {
  method: 'POST',
  headers: { 'Content-Type': 'application/json', 'Authorization': 'Bearer YOUR_API_KEY' },
  body: JSON.stringify({ qrData: '090123456789' })
}).then(res => res.json()).then(data => console.log(data));

Giá Vàng SJC

fetch('https://www.sjc.com.vn/market')
  .then(res => res.text())
  .then(html => { const parser = new DOMParser(); const doc = parser.parseFromString(html, 'text/html'); console.log(doc.querySelector('.price').innerText); });

Thời Tiết Hà Nội

fetch('https://api.open-meteo.com/v1/forecast?latitude=21.0285&longitude=105.8542&daily=weathercode')
  .then(res => res.json())
  .then(data => console.log(data.daily));


🧪 Dummy Data

API Name Description Status Auth CORS
Fake User Generator Generate random fake user data for testing and developmen… 🟢 Sống 🔓 Không Yes

💻 Quick Integration Code

Fake User Generator

fetch('https://randomuser.me/api/?results=5')
  .then(res => res.json())
  .then(data => console.log(data.results));


🗺️ All APIs

# API Name Category Method URL
1 Tỉnh/Thành Phố Việt Nam Hành chính GET https://localapi.epizy.com/api/vn/provinces
2 VietQR Lookup Tiện ích/Tài chính POST https://vietqr.io/api/query
3 Giá Vàng SJC Tiện ích/Tài chính GET https://www.sjc.com.vn/market
4 Thời Tiết Hà Nội Tiện ích/Tài chính GET https://api.open-meteo.com/v1/forecast?latitude=21.0285&longitude=105.8542&daily=weathercode
5 Fake User Generator Dummy Data GET https://randomuser.me/api/?results=5
6 Tra Cứu Địa Chỉ VNPost Hành chính GET https://api.vnpost.vn/post-code/search?code=10000
7 Thống Kê Dân Số Hành chính GET https://www.gso.govn.gov.vn/data/population

📝 Notes


Made with 💜 by the Awesome Vietnam Open Data community

🕐 Last updated: 12/4/2026, 1:40:45 AM