lapor.go.id APIwww.lapor.go.id ↗
Access resolved complaint data and government institution details from LAPOR!, Indonesia's official public complaint portal. Search agencies, ratings, and success stories.
curl -X GET 'https://api.parse.bot/scraper/ff7ac48b-8a9d-4366-afd0-718b7301c6dc/list_complaints?page=2' \ -H 'X-API-Key: $PARSE_API_KEY'
List resolved complaints (Kisah Sukses / Success Stories) from LAPOR!. Returns paginated list of complaints that have been successfully resolved, including title, description excerpt, author, comments count, and support count.
| Param | Type | Description |
|---|---|---|
| page | integer | Page number for pagination |
{
"type": "object",
"fields": {
"page": "integer",
"count": "integer",
"complaints": "array of complaint objects",
"has_next_page": "boolean",
"has_previous_page": "boolean"
},
"sample": {
"page": 1,
"count": 10,
"complaints": [
{
"url": "https://www.lapor.go.id/laporan/detil/proyek-jalan-tol-pejagan-pemalang-seksi-3",
"slug": "proyek-jalan-tol-pejagan-pemalang-seksi-3",
"title": "Proyek Jalan Tol Pejagan-Pemalang Seksi 3",
"author": "62815772xxxx",
"status": "SELESAI",
"description": "Selamat siang, mau tanya tentang kelanjutan proyek jalan tol...",
"support_count": 109,
"comments_count": 26,
"author_profile_id": "513"
}
],
"has_next_page": true,
"has_previous_page": false
}
}About the lapor.go.id API
The LAPOR! API provides access to Indonesia's official public complaints portal through 3 endpoints, covering resolved complaint listings, government institution search, and institution detail pages. The list_complaints endpoint returns paginated success stories with fields like title, description excerpt, author, comment count, and support count. The search_institutions and get_institution_detail endpoints expose agency names, types, ratings, follower counts, and associated resolved cases.
Complaint Data
The list_complaints endpoint returns paginated resolved complaints (Kisah Sukses) from LAPOR!. Each complaint object includes a title, description excerpt, author identifier, comments count, and support count. Pagination is controlled via the page parameter, and the response includes has_next_page and has_previous_page flags along with a total count field to help you traverse the full dataset.
Institution Search
The search_institutions endpoint lets you query the directory of government institutions connected to LAPOR!. Pass a query string to filter results by institution name, or omit it to page through all institutions. Each result includes the institution name, type (ministry, agency, local government, etc.), parent institution, and SMS prefix used for complaint submission. The response also returns total_pages so you can enumerate the full directory.
Institution Detail
The get_institution_detail endpoint accepts a slug (e.g., kementerian-kesehatan) obtained from search_institutions and returns deeper information: email, phone, address, rating score, follower count, sub-units, and an array of success stories associated with that institution. Not all fields are present for every institution — email, phone, address, and sub-units are returned only when available.
- Track which government institutions have the highest ratings and follower counts on LAPOR!
- Monitor citizen complaint resolution trends by paginating through success stories over time
- Build a directory of Indonesian government agencies using institution name, type, and parent fields
- Map public complaints to specific ministries or local agencies by linking complaints to institution slugs
- Extract contact details (email, phone, address) for government institutions that have provided them
- Analyze support counts and comment counts to identify high-engagement resolved complaints
- Research how sub-units of large ministries relate to their parent institutions
| Tier | Price | Credits/month | Rate limit |
|---|---|---|---|
| Free | $0/mo | 100 | 5 req/min |
| Hobby | $30/mo | 1,000 | 20 req/min |
| Developer | $100/mo | 5,000 | 250 req/min |
One credit = one API call regardless of which marketplace API you call. Exceeding the rate limit returns a 429 response. Authenticate with the X-API-Key header.
Does LAPOR! have an official developer API?+
What does get_institution_detail return that search_institutions does not?+
search_institutions endpoint returns name, type, parent institution, and SMS prefix — enough to build a list. The get_institution_detail endpoint adds rating, followers count, contact fields (email, phone, address when available), sub-units, and an array of success stories linked to that institution. You need the slug from the search results to call the detail endpoint.Does list_complaints return all complaints on LAPOR!, or only resolved ones?+
Can I filter complaints by institution or by date?+
list_complaints endpoint currently accepts only a page parameter; there is no filter by institution slug, date range, or category. You can fork this API on Parse and revise it to add filtered complaint queries by institution or time period.Is there a limit to how many institutions are returned per page from search_institutions?+
total_pages field in the response tells you how many pages exist for a given query so you can paginate through the full result set. Very broad queries (empty query string) will have more pages than narrowly scoped keyword searches.