{
  "id": "dddff4c5-439c-42f5-98b4-609da1892478",
  "slug": "datagovsg-datastore-search",
  "name": "data.gov.sg Datastore Search API",
  "provider": "GovTech / data.gov.sg",
  "category_slug": "government-data",
  "description": "Generic query API over thousands of Singapore government datasets: pass any dataset's resource id to get filtered, paginated JSON records. One API shape unlocks the whole data.gov.sg catalogue.",
  "base_url": "https://data.gov.sg/api/action/datastore_search",
  "docs_url": "https://guide.data.gov.sg/developer-guide/api-overview",
  "openapi_url": null,
  "auth_type": "none",
  "auth_guide": [
    "No key needed for standard queries.",
    "Find a dataset id (d_xxx...) from its data.gov.sg dataset page URL.",
    "GET datastore_search with resource_id, plus optional limit, offset, q and filters params.",
    "Optional: request an API key from data.gov.sg for higher rate limits (x-api-key header)."
  ],
  "pricing": "free",
  "rate_limit": null,
  "example_request": "curl 'https://data.gov.sg/api/action/datastore_search?resource_id=d_8b84c4ee58e3cfc0ece0d773c8ca6abc&limit=1'",
  "example_response_snippet": "{\"success\":true,\"result\":{\"resource_id\":\"d_8b84c4ee58e3cfc0ece0d773c8ca6abc\",\"fields\":[{\"type\":\"text\",\"id\":\"month\"}],\"records\":[{\"_id\":1,\"month\":\"2017-01\"}]}}",
  "agent_notes": "filters param takes URL-encoded JSON, e.g. filters={\"town\":\"ANG MO KIO\"}. For file-type datasets (GeoJSON, CSV downloads) use the poll-download API on api-open.data.gov.sg instead.",
  "status": "live",
  "tags": [
    "open-data",
    "datasets",
    "datastore",
    "govtech",
    "no-auth"
  ],
  "sg_official": true,
  "created_at": "2026-07-05T08:44:12.099Z",
  "updated_at": "2026-07-05T09:15:26.681Z",
  "page_url": "https://singaporeapi.com/apis/datagovsg-datastore-search"
}