/SKILL.md
Query 50 Indonesian government APIs and data sources — BPJPH halal certification, BPOM food safety, OJK financial legality, BPS statistics, BMKG weather/earthquakes, Bank Indonesia exchange rates, IDX stocks, CKAN open data portals, pasal.id (third-party law MCP). Use when building apps with Indonesian government data, scraping .go.id websites, checking halal certification, verifying company legality, looking up financial entity status, or connecting to Indonesian MCP servers. Includes ready-to-run Python patterns, CSRF handling, CKAN API usage, and IP blocking workarounds.
npx skillsauth add soumyaranjanjena007/indonesia-gov-apis querying-indonesian-gov-dataInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
🇮🇩 STARTER_CHARACTER = 🇮🇩
Route the user's intent to the right child reference, then follow its patterns.
| User intent | Load reference | Quick pattern |
|------------|---------------|---------------|
| Halal certification, halal product check | references/bpjph-halal.md | POST cmsbl.halal.go.id/api/search/data_penyelia JSON, no auth |
| Food/drug/cosmetic registration, BPOM | references/bpom-products.md | Session + CSRF → POST cekbpom.pom.go.id/produk-dt |
| Is this fintech/investment legal, OJK | references/ojk-legality.md | GET sikapiuangmu.ojk.go.id/FrontEnd/AlertPortal/Search |
| Weather in Indonesia, earthquake, tsunami | references/bmkg-weather.md | GET data.bmkg.go.id/DataMKG/TEWS/autogempa.json |
| GDP, inflation, population, trade stats | references/bps-statistics.md | GET webapi.bps.go.id/v1/api/... (free API key) |
| USD/IDR exchange rate, BI Rate | references/bank-indonesia.md | Scrape bi.go.id/id/statistik/informasi-kurs/ |
| Indonesian law, regulation, specific pasal | references/pasal-id-law.md | MCP (third-party): claude mcp add --transport http pasal-id ... |
| Government datasets on any topic | references/ckan-portals.md | GET {portal}/api/3/action/package_search |
| Disaster risk for a location | references/inarisk-disaster.md | GET inarisk.bnpb.go.id/api/risk/score?lat=&lon= |
| Verify company is registered | references/company-verification.md | OpenCorporates → OCCRP → AHU cross-ref |
| Indonesian stock prices, IHSG | references/idx-stocks.md | yfinance with .JK suffix |
IP Blocked (403 / Timeout): Most .go.id sites block datacenter IPs. Add 2-5s delays or route through Cloudflare Workers proxy.
CSRF Expired: Re-fetch the HTML page, extract fresh csrf-token from <meta> tag. Applies to BPOM.
Rate Limits: BPS ~100/day, OpenCorporates 500/day, OCCRP 60/min, BPOM 2s gap minimum.
Required Headers:
headers = {
"User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36",
"Accept-Language": "id-ID,id;q=0.9,en;q=0.8",
}
Data Formats: Indonesian gov sites use Excel (.xlsx) and PDF heavily. Parse with openpyxl and pdfplumber. JSON APIs are the exception.
For sources not in the Router (procurement, courts, wealth declarations, geospatial, regional portals, ministry-specific data), see the full docs:
apis/tier1-open-apis/ — 12 sources with REST/JSON APIsapis/tier2-scrapeable/ — 10 sources requiring scrapingapis/tier3-regional/ — 6 regional CKAN portalsapis/tier4-ministry/ through apis/tier7-civil-society/ — 22 more sourcesmcp-servers/ — MCP server setup and opportunitiestools
Use when work should span one or more detached tasks but still behave like one job with a single owner context. TaskFlow is the durable flow substrate under authoring layers like Lobster, ACPX, plugins, or plain code. Keep conditional logic in the caller; use TaskFlow for flow identity, child-task linkage, waiting state, revision-checked mutations, and user-facing emergence.
tools
# Lobster Lobster executes multi-step workflows with approval checkpoints. Use it when: - User wants a repeatable automation (triage, monitor, sync) - Actions need human approval before executing (send, post, delete) - Multiple tool calls should run as one deterministic operation ## When to use Lobster | User intent | Use Lobster? | | ------------------------------------------------------ | --------------------------
tools
# Lobster Lobster executes multi-step workflows with approval checkpoints. Use it when: - User wants a repeatable automation (triage, monitor, sync) - Actions need human approval before executing (send, post, delete) - Multiple tool calls should run as one deterministic operation ## When to use Lobster | User intent | Use Lobster? | | ------------------------------------------------------ | --------------------------
tools
A CLI tool for making authenticated requests to the X (Twitter) API. Use this skill when you need to post tweets, reply, quote, search, read posts, manage followers, send DMs, upload media, or interact with any X API v2 endpoint.