Indonesian Political, Business & Finance News

API Documentation

jawawa.id provides a free JSON API for accessing the Indonesian news archive. Use it to search articles, retrieve full text, and export data for research.

Base URL

https://jawawa.id/api/v1

Endpoints

GET /api/v1/search

Search the article archive. Returns paginated results with metadata.

ParameterTypeDescription
qstringSearch query (supports boolean: AND, OR, NOT, "exact phrase")
yearintFilter by year (e.g. 2005)
monthintFilter by month (1-12, requires year)
sourcestringFilter by source name
fromdateStart date (YYYY-MM-DD)
todateEnd date (YYYY-MM-DD)
limitintResults per page (default 50, max 100)
offsetintPagination offset (default 0)

Example:

curl "https://jawawa.id/api/v1/search?q=infrastructure&year=2015&limit=10"

GET /api/v1/article/{id}

Retrieve a single article by numeric ID or legacy MsgID.

Example:

curl "https://jawawa.id/api/v1/article/12345"

GET /api/v1/export

Export articles in JSON or CSV format. Requires an API key.

ParameterTypeDescription
keystringYour API key (required)
formatstringjson (default) or csv
qstringSearch query
yearintFilter by year
limitintMax articles (default 1000, max 1000)

Example:

curl "https://jawawa.id/api/v1/export?format=json&q=banking&key=YOUR_KEY"

Rate Limits

EndpointPer MinutePer Day
Search & Article60100
Export1020

Rate limit headers (X-RateLimit-Daily-Limit, X-RateLimit-Daily-Remaining) are included in every response.

Usage Restrictions

API Keys for Researchers

Researchers and academics can request an API key for higher daily limits and access to the export endpoint. To apply, email sysadmin@okusi.id with:

Response Format

All endpoints return JSON with the following structure:

{
  "success": true,
  "total": 142,
  "limit": 50,
  "offset": 0,
  "data": [ ... ],
  "sponsor": "Okusi Associates",
  "sponsor_url": "https://okusiassociates.com"
}

Error responses include "success": false with an "error" message and HTTP status "code".