BPS Simple API — Indonesian Statistics by Topic avatar

BPS Simple API — Indonesian Statistics by Topic

Pricing

from $1.20 / 1,000 api requests

Go to Apify Store
BPS Simple API — Indonesian Statistics by Topic

BPS Simple API — Indonesian Statistics by Topic

Simplified FastAPI wrapper for the BPS (Badan Pusat Statistik) official Web API. Topic + Area + Year to Data. Search topics, browse areas, and fetch indicators, trade, census, and publication data as clean JSON.

Pricing

from $1.20 / 1,000 api requests

Rating

0.0

(0)

Developer

RD.Galih Rakasiwi

RD.Galih Rakasiwi

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

20 days ago

Last modified

Security

Full permissions

Share

BPS Simple API

Simplified FastAPI wrapper for the BPS (Badan Pusat Statistik) official Web API — Indonesia's Central Bureau of Statistics. Query Indonesian statistical data with a simple Topic + Area + Year → Data model.

Quick start

# Copy env and fill your BPS API key
cp .env.example .env
# Install and run
pip install -r requirements.txt
uvicorn app.main:app --host 0.0.0.0 --port 8000

Then open http://localhost:8000/docs for interactive documentation.

Endpoints

EndpointDescription
/API index + quick links
/healthHealth check
/search?q=...Keyword search across topics/areas
/data?topic=...&area=...&year=...Fetch statistical data
/area/{name}Area (province) detail
/indicator/{name}?area=...&year=...Indicator data
/tradeForeign trade data
/censusCensus data
/publicationPublications

Requirements

Environment variables

VariableDescriptionDefault
BPS_API_KEYYour BPS Web API key(empty)
BPS_BASE_URLBPS API base URLhttps://webapi.bps.go.id/v1
APP_PORTServer port8000

Deploying to Apify

$apify push

On Apify, provide your BPS API key via the actor input (bpsApiKey).

bps api, badan pusat statistik api, indonesia statistics api, bps simple api, statistik indonesia, indonesian census data