Notes
- Keyless. Every answer is a JSON envelope {success, result}; read result.
- Two-step flow: package_show lists a dataset’s resources (SCMD is one resource per month, named like SCMD_PROVISIONAL_202608); query a resource’s rows with datastore_search or datastore_search_sql using its id or name.
- SCMD datasets: secondary-care-medicines-data-indicative-price (provisional, with indicative cost) and others found with datasets.search.
- datastore_search returns 100 rows by default and at most 32,000; page with offset.
Endpoints
Search datasets
Get a dataset and its resources
Search a resource’s rows
Query a resource with SQL
- This portal refuses a table name that is not backtick-quoted, and refuses the call without resource_id.
- Results stop at 32,000 rows; records_truncated is true when they did.