Free 1,000 Requests per Month

Indonesia's Public Data
in One API

Stop scraping government sites and parsing PDFs. Administrative regions, schools, hospitals, public holidays, prayer times, and real-time earthquakes — ready to use through one fast, reliable REST API.

API Indonesia developer dashboard — monitor API usage, manage API keys, and view request stats per endpoint
Trusted by 5000+Indonesian Developers
Claude
Turso
OpenAI
Clerk
Github
Supabase
NVIDIA
Claude
Turso
OpenAI
Clerk
Github
Supabase
NVIDIA
[ 01 of 07 ]·Statistics
Comprehensive Data

Data Coverage
Across All of Indonesia

Seven API endpoints with the most comprehensive public data — from 34 provinces and 514 regencies/cities to real-time earthquakes and 12 months of prayer times — all through a single API key.

80,500+
Villages

Complete regional data from 34 provinces down to the village level

93,500+
Schools Listed

A school database covering all 34 provinces, ready to query via the API

2,900+
Hospitals

A complete hospital directory across 514 regencies and cities

99.9%
API Uptime

Cloudflare edge network with response times under 100ms

[ 02 of 07 ]·Key Features
How It Works

Reliable Infrastructure
for Public Data

From administrative regions to real-time earthquakes, our platform unifies Indonesia's public data so you can build your applications faster.

API KeyActive
aip_live_3xK9••••••
x-api-key200 OK

API Key Authentication

Secure every request with a single x-api-key header. Create and revoke keys anytime.

100/sec
60/sec
40/sec
20/sec

Fair Rate Limiting

Limits of 20–100 requests per second by plan, keeping the service stable for everyone.

Edge Latency
Jakarta
8ms
Singapore
24ms
Tokyo
78ms
Uptime 99.9%

Cloudflare Edge Network

Sub-100ms responses from the nearest edge, with 99.9% uptime maintained.

Usage1,240
M
T
W
T
F
S
S

Usage Dashboard

Track daily usage and remaining quota, and manage API keys from a single dashboard.

response.json
{
"data": [ … ],
"meta": {
"total": 514,
"page": 1
}
}

Consistent JSON Format

A uniform response structure across 7 API products — easy to integrate, no adaptation needed.

Quota98.2%

Transparent Quotas

Only successful requests count. Server errors never cut into your quota.

[ 03 of 10 ]·Data Sources
Official Government Data

Official Data Sources,
Always Curated

All API Indonesia data comes from official government sources, updated regularly and curated to be production-ready for your app.

Permendagri
Province
Regency/City
District
Village
Postal Code
SK Menpan
National Holidays
Joint Leave
Holiday
Kemenag
Daily Prayer Times
Imsakiyah
514 Regencies/Cities
Dapodik Kemdikbud
Dikti
Schools API
Universities API
SIRS Kemenkes
Hospitals
Hospital Capacity
Referral Facilities
BMKG
Latest Earthquakes
Felt Earthquakes
Magnitude
Epicenter
Early Warning
Need a different dataset?Access every dataset through the REST API & the x-api-key header in minutes.
[ 03 of 07 ]·Case Studies
Used Across Industries

Built for Every
Industry in Indonesia

API Indonesia serves fintech, e-commerce, logistics, HR, edtech, and healthtech teams that need accurate data without a complicated setup.

Address Validation for Fintech

Validate customer addresses instantly during KYC and onboarding with official regional data, from 34 provinces down to villages and postal codes.

  • Instant address validation
  • 80,000+ village records
  • Always-accurate postal codes
KYC Verification
LIVE
ProvinceJawa Barat
Valid
VillageDago
Valid
Postal Code40135
Valid
Valid Addresses
12,489
Onboarding
+24%
Shipping AddressAutofilled
ProvinceJawa Barat
CityBandung
VillageDago
Postal Code40135
ShippingIDR 18K
Continue to Payment

Fast Checkout, Accurate Delivery

Address autofill at checkout for e-commerce and address validation for courier routing — cut failed deliveries caused by wrong addresses.

  • Address autofill at checkout
  • Shipping rates by region
  • Precise courier routing

Public Holidays for HR & Payroll

Keep payroll runs and leave requests in sync with the official national public holiday and joint leave calendar from SK Menpan and Kemenag.

  • Official holiday calendar
  • Accurate payroll & leave calculation
  • Schools, universities & hospitals directory
Holiday CalendarAugust 2026
MTWTFSS
12345678910111213141516171819202122232425262728293031
17 · Independence DayNational Holiday
18 · Joint LeaveJoint Decree
[ 06 of 10 ]·What Sets Us Apart
Different from the Rest

Everything You Need.
Nothing You Don’t.

Focused platform capabilities that work together. Transparent quotas — only successful requests count — no complexity.

Realtime

Realtime Earthquake Data from BMKG

Track the latest earthquakes straight from BMKG, refreshed automatically every hour. Magnitude, location, and depth in ready-to-use JSON.

Latest Earthquakes
REALTIME
M 5.4Pacitan, East Java · 10 km
Source
BMKG
Update
1 hr
Latency
89ms
Most Complete

The Most Complete Data Coverage

7 API products: regions, public holidays, prayer times, schools, universities, hospitals, earthquakes.

RegionsHolidaysPrayer TimesSchoolsUniversitiesHospitalsEarthquakes
Data
280K+
Products
7
Documentation

Try It Out Documentation

Test every endpoint right from your browser. No setup, no hassle.

GET/gempa/terkiniRun
200 OK89ms
{
"data": [
{ "magnitude": 5.4 }
]
}
Security

SHA-256 API Keys

Encrypted over HTTPS.

Performance

Responses Under 100ms

Global Cloudflare edge.

99.9%Uptime
Free

1,000 Free Requests Every Month

Start without a credit card. Only successful requests count toward your quota — upgrade when you need more.

[ 04 of 07 ]·Comparison
Why Choose Us

The Old Way vs
API Indonesia

API Indonesia replaces scraping, PDF/Excel parsing, and homegrown databases with a single REST API of curated data from Permendagri, Kemenag, Dapodik, Dikti, SIRS Kemenkes, and BMKG.

The Old Way (Manual)
API Indonesia (One REST API)
Scraping government sites that are prone to going down
One consistent REST API with 99.9% uptime
Parsing PDF/Excel files whose formats keep changing
Curated data from official sources, in a format that never shifts
Maintaining your own database by hand
Automatic updates, always the latest data
Days spent building your own infrastructure
Up and running in minutes, <100ms responses
Ballooning server costs and engineering hours
Transparent pricing in Rupiah, free to start
[ 05 of 07 ]·Pricing
Simple Pricing

Choose a plan
by volume

Start free. Upgrade to Pro or Business when you reach production. Payments are processed through Xendit.

Yearly saves 2 months

Free

For trying the API and early integration.

IDR 0/month
1,000 hits/month
Start for free
  • Access to every endpoint
  • 10 req/sec rate limit
  • API key created instantly
  • Best-effort email support

Pro

Most popular

For projects that are starting to get real usage.

IDR 49,000/month
50,000 hits/month
Subscribe
  • Every public data endpoint
  • 20 req/sec rate limit
  • Fits small production apps
  • Priority email support

Business

For production apps with higher traffic.

IDR 149,000/month
250,000 hits/month
Subscribe
  • Small-to-mid production quota
  • 60 req/sec rate limit
  • Priority support
  • Room for custom limits

Custom

For high volume, SLA, or company contracts.

From / month
IDR 500,000
Limit by agreement
Discuss needs
  • Custom volume and rate limit
  • SLA and company invoice
  • Priority support
  • Technical onboarding
[ 06 of 07 ]·Testimonials
Trusted by Dev Teams

Trusted by Developers
Across Indonesia

Engineering teams at fintech, e-commerce, and healthtech companies rely on API Indonesia for data that is accurate, fast, and always available.

“Our KYC flow needs region data that stays in sync with the latest Permendagri releases. Since switching to API Indonesia, customer address validation has never been a source of production bugs again.”

Raka PratamaCTO, Fintech PayNusa Jakarta

“Our cascading address form at checkout got seriously fast — province down to village plus postal code from a single API. The sub-100ms responses genuinely show.”

Dewi AnggrainiBackend Engineer, Belanjaku

“Our payroll calculations are finally accurate because the joint leave data is always up to date. No more salary deduction mistakes caused by a missed public holiday.”

Bima NugrohoFounder, KaryaHR

“Validating delivery addresses down to the village level cut our misdelivery rate dramatically. Integration took nothing more than a single x-api-key header.”

Sari WulandariSoftware Engineer, KirimAja Logistik

“We used to scrape Dapodik ourselves and it kept breaking. Now data on 93,500+ schools is one endpoint call away — saving us weeks of engineering work.”

Andi SaputraFounder, Edtech EduPintar

“Our KYC flow needs region data that stays in sync with the latest Permendagri releases. Since switching to API Indonesia, customer address validation has never been a source of production bugs again.”

Raka PratamaCTO, Fintech PayNusa Jakarta

“Our cascading address form at checkout got seriously fast — province down to village plus postal code from a single API. The sub-100ms responses genuinely show.”

Dewi AnggrainiBackend Engineer, Belanjaku

“Our payroll calculations are finally accurate because the joint leave data is always up to date. No more salary deduction mistakes caused by a missed public holiday.”

Bima NugrohoFounder, KaryaHR

“Validating delivery addresses down to the village level cut our misdelivery rate dramatically. Integration took nothing more than a single x-api-key header.”

Sari WulandariSoftware Engineer, KirimAja Logistik

“We used to scrape Dapodik ourselves and it kept breaking. Now data on 93,500+ schools is one endpoint call away — saving us weeks of engineering work.”

Andi SaputraFounder, Edtech EduPintar

“The directory of 2,900+ hospitals from SIRS Kemenkes was ready to use in our app right away. A facility search feature that used to be a month-long project shipped in days.”

Rina KusumaEngineering Lead, Healthtech SehatKita

“The Public Holiday API saved our sprint — working-day calculations for SLAs and overtime are now consistent across every payroll module.”

Fajar RamadhanBackend Engineer, GajiKilat

“Per-city prayer times for our app's reminder feature take just one request. The data comes from Kemenag, so accuracy is never a worry.”

Maya LestariMobile Developer, Qiblatku

“99.9% uptime isn't just a promise — we've relied on it for months to validate fleet addresses, and not a single incident has disrupted operations.”

Yoga WibowoCEO, LogistikPro

“Earthquake webhook alerts from BMKG data reach our system within seconds. Our early-warning notifications for users are far more reliable now.”

Putri HandayaniEngineer, TanggapBencana ID

“The directory of 2,900+ hospitals from SIRS Kemenkes was ready to use in our app right away. A facility search feature that used to be a month-long project shipped in days.”

Rina KusumaEngineering Lead, Healthtech SehatKita

“The Public Holiday API saved our sprint — working-day calculations for SLAs and overtime are now consistent across every payroll module.”

Fajar RamadhanBackend Engineer, GajiKilat

“Per-city prayer times for our app's reminder feature take just one request. The data comes from Kemenag, so accuracy is never a worry.”

Maya LestariMobile Developer, Qiblatku

“99.9% uptime isn't just a promise — we've relied on it for months to validate fleet addresses, and not a single incident has disrupted operations.”

Yoga WibowoCEO, LogistikPro

“Earthquake webhook alerts from BMKG data reach our system within seconds. Our early-warning notifications for users are far more reliable now.”

Putri HandayaniEngineer, TanggapBencana ID
[ 07 of 07 ]·Blog
Blog & Tutorials

Practical Tutorials
for Developers

Step-by-step guides for integrating region data, prayer times, and realtime earthquake feeds into your app — fast.

[ 08 of 08 ]·FAQ
Frequently Asked

Answers Before
You Get Started

Quick answers to common questions about getting started, the free tier, API key security, data sources, and Xendit billing.

API Indonesia is a REST API service for Indonesian public data: administrative regions down to village and postal code level, public holidays, prayer times, schools, universities, hospitals, and realtime earthquake data from BMKG — all through a single API key.
Fully self-service: sign up, create an API key in the dashboard, and start calling endpoints with the x-api-key header. No manual verification, no sales calls — you can make your first request within minutes.
Yes. API keys are stored as SHA-256 hashes so they are never persisted in their original form, and all traffic runs exclusively over HTTPS. If a key is ever exposed, you can rotate or revoke it at any time straight from the dashboard.
The free tier includes 1,000 successful hits per month with a rate limit of 10 requests per second, plus access to every API product. Free forever, no credit card and no trial expiry.
Only successful requests (successful responses) count as hits against your monthly quota. Failed requests — such as validation errors or server-side issues — never consume quota, so you only pay for data you actually receive.
Upgrade straight from the dashboard with payment through Xendit. Pro at IDR 49,000/month gives 50,000 hits and 20 requests per second; Business at IDR 149,000/month gives 250,000 hits and 60 requests per second. Yearly billing saves 2 months.
All data comes from official sources: Permendagri for regions, SK Menpan for public holidays, Kemenag for prayer times, Dapodik Kemdikbud and Dikti for education, SIRS Kemenkes for hospitals, and BMKG for earthquakes (required attribution: "Data sourced from BMKG"). Data is refreshed as the official sources publish updates; earthquake data is available in realtime.
Yes. API Indonesia runs on Cloudflare's edge network with 99.9% uptime and sub-100ms response latency. This distributed infrastructure keeps the API fast and reliable for production workloads — from fintech KYC to high-traffic e-commerce checkouts.
Get Started

Start Integrating
Today

Sign up for free, grab an API key, and call your first endpoint right away — no credit card, no tedious approval process.

Dot wave visualization