Pushbuild

Government Open Data API - UK, Canada, Australia, Ireland, HDX

Search the national open data catalogs of the UK, Canada, Australia and Ireland plus the UN Humanitarian Data Exchange by keyword, publisher, file format and update date. Returns publisher, licence, tags, dates and every download link with its format.

$0.24 per 1,000 datasets

Get an API key

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.

FieldTypeDescription
searchQuerieslist of stringsKeywords or Solr syntax, e.g. title:budget. Leave empty to list by filter.
portalslist of stringsWhich national catalogs to search: uk, canada, australia, ireland, hdx (UN Humanitarian Data Exchange). Default: ["uk"].
organizationstringPublishing organization slug from a previous result's publisherId, e.g. environment-agency.
formatstringOnly datasets with a resource in this format, e.g. CSV, JSON, GeoJSON, XLSX.
modifiedSincestringOnly datasets updated on or after this date, YYYY-MM-DD.
sortBystring: relevance, modified, created, titleResult order. Default: "relevance".
maxItemsintegerMaximum 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.

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

(617) 299-8887

Tell us about your project

A few questions so we can come back with a written scope. We reply within one business day.