singapore_query_dataset
Query tabular data.gov.sg datasets using exact filters, column text search, field selection, sorting, and pagination; preserves upstream values and units without SQL.
Instructions
Query any tabular data.gov.sg dataset. Exact filters, column text search, projection, sorting and pagination. Preserve upstream values/units; no SQL. Non-tabular or unsupported datasets can be downloaded instead.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| q | No | Search text by column, e.g. {"school_name":"RAFFLES"} | |
| sort | No | e.g. month desc, resale_price desc; inspect fields first | |
| limit | No | ||
| fields | No | ||
| offset | No | ||
| filters | No | Exact equality by field name, e.g. {"town":"ANG MO KIO"} | |
| dataset_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | Yes | ||
| data | No | ||
| error | No | ||
| status | No | ||
| sources | Yes | ||
| metadata | No | ||
| provider | No | ||
| warnings | No | ||
| served_at | Yes | ||
| error_code | No | ||
| source_url | No | ||
| dataset_url | No | ||
| catalog_metadata | No | ||
| catalog_snapshot_at | No | ||
| retry_after_seconds | No |