GET /resource/{dataset-id}.json
Summary: Query dataset records
Operation ID: queryDataset
Auth: unknown
Operation ID: queryDataset
Auth: unknown
Description
Query records from a specific dataset using SODA query parameters. Supports filtering, sorting, and pagination.
Parameters (8)
$group
(string, query, optional)
Column(s) to group results by (used with aggregation functions)
$having
(string, query, optional)
Filter for grouped results
$limit
(integer, query, optional)
Maximum number of records to return (default: 1000, max: 50000)
Constraints: {'maximum': 50000}
$offset
(integer, query, optional)
Number of records to skip for pagination
$order
(string, query, optional)
Column(s) to order results by
$select
(string, query, optional)
Comma-separated list of columns to select
$where
(string, query, optional)
SoQL where clause for filtering
dataset-id
(string, path, required)
The unique identifier of the dataset (4x4 format: xxxx-xxxx)
Constraints: {'pattern': '^[a-z0-9]{4}-[a-z0-9]{4}$'}
Examples (1)
| Title | Type | URL | Action |
|---|---|---|---|
| Query dataset records (kebab-case variant) | probe-gate |
https://data.cdc.gov/resource/sz5x-j2c3.json?$limit=5 |
No probe data for this endpoint yet.