What it returns
One search across the national government data catalogs of the UK (data.gov.uk), Canada (open.canada.ca), Australia (data.gov.au) and Ireland (data.gov.ie), plus the UN Humanitarian Data Exchange: hundreds of thousands of datasets, all published through the CKAN catalog API.
Catalog, dataset ID and slug, title, plain-text description, publisher, licence and licence URL, whether it is open, tags, groups, update frequency, created and modified dates, resource count, the set of file formats, and each resource's name, format, download URL, modified date and size, plus the dataset page.
Common uses
Finding official datasets by topic across countries, watching a ministry or council for new and updated data, building data catalogs and search tools, sourcing CSV and GeoJSON files for analysis, and checking a dataset's licence before reuse.
Request
POST https://api.pushbuild.com/government-open-data-catalogs/run with a JSON body. Send your key in the X-API-Key header.
| Field | Type | Description |
|---|---|---|
searchQueries | list of strings | Keywords or Solr syntax, e.g. title:budget. Leave empty to list by filter. |
portals | list of strings | Which national catalogs to search: uk, canada, australia, ireland, hdx (UN Humanitarian Data Exchange). Default: ["uk"]. |
organization | string | Publishing organization slug from a previous result's publisherId, e.g. environment-agency. |
format | string | Only datasets with a resource in this format, e.g. CSV, JSON, GeoJSON, XLSX. |
modifiedSince | string | Only datasets updated on or after this date, YYYY-MM-DD. |
sortBy | string: relevance, modified, created, title | Result order. Default: "relevance". |
maxItems | integer | Maximum items to return (1-500). Default: 100. |
Example
curl -X POST https://api.pushbuild.com/government-open-data-catalogs/run \
-H "X-API-Key: YOUR_KEY" \
-H "Content-Type: application/json" \
-d '{"searchQueries": ["air quality"], "maxItems": 20}'
Response
{"count": 20, "truncated": false, "seconds": 1.4, "items": [ { ... } ]}
Each call returns up to 500 items. Records that fail validation or are not found are flagged in the items and not charged.
Pricing
Pay only for results returned: $0.24 per 1,000 datasets. No charge for errors or empty searches.
Related APIs
Academic Papers Search API
Search scholarly papers across Crossref (150M+ works), arXiv and PubMed in one run.
Art Institute of Chicago API
Artworks from the Art Institute of Chicago collection: title, artist, date, medium, dimensions, place of origin, department, type, classification, style, public-domain and on-view flags, gallery, credit line, subject terms and a IIIF image URL.
Article & Web Page to Markdown API
Turn any URLs into clean, Markdown, text or JSON.
arXiv Papers API
Search arXiv preprints by keyword, title, author, abstract or category, or look up arXiv IDs, with a submission date window and sorting.
Bitcoin Fees API
Bitcoin network data from mempool.space: recommended fee rates (sat/vB), projected next blocks, mempool size, recent blocks with fees, reward and mining pool, difficulty adjustment estimate, hashrate and difficulty history, and mining pool share..
Bitstamp API
Bitstamp exchange public market data: 24h ticker for every pair (last, bid, ask, open, high, low, VWAP, volume in base and quote, change) and OHLC candles from 1 minute to 3 days, up to 1,000 per pair..
Tell us what you need built.
Questions about this API, higher volumes, or a data source you need that we don't cover yet.
hello@pushbuild.com