Searches for datasets (packages) across all of Data.gov. The primary search endpoint for discovering government datasets. Returns paginated results with full dataset metadata including resources, tags, organization, and custom fields.
From spec: Search for datasets (packages) in the Data.gov catalog. Supports Solr-style query syntax.
Usage Tips
- Use 'q' for full-text search, '*' to match all datasets
- Use 'rows' to limit results (default 10, max 1000)
- Use 'start' for pagination
- Results include 'count' total matching datasets
- Each result contains 'resources' array with downloadable files
Parameters (8)
facet(boolean, query, optional, default: True)
Whether to include facets in the response
facet.field(array, query, optional)
Fields to facet by. E.g., ["organization","tags","res_format"]
fq(string, query, optional)
Filter query to narrow results. E.g., organization:epa-gov, tags:climate