Data.gov API

Free

by Data.gov

Provided by Data.gov

Not yet rated
Platform
API
Pricing
Free
Account required
Optional
Ads
None
Last verified
14 hours ago
Developer
Data.gov
Official URL

Overview

Data.gov is the United States government's central catalog of open data, run by the General Services Administration. This listing is about the developer side: the catalog API that lets programs search the catalog instead of using the website.

The API is a JSON service with a small set of read-only endpoints. The main one searches datasets by keyword and can filter by publishing organisation and location and sort the results. Others list keywords with counts, list organisations, look up locations and fetch individual harvest records, either as the original payload an agency published or in the transformed DCAT form. It is important to know what comes back: metadata about datasets, such as titles, descriptions, publishers and links to the files. The data files themselves stay on the agencies' own servers.

The current documentation is on resources.data.gov. It says this API replaces the earlier CKAN-based one, which is kept available read-only for existing integrations. Requests go through the api.data.gov gateway with an API key; a shared demo key works for trying things out, with much lower hourly and daily limits than a personal key. The catalog itself is filled by harvesting metadata inventories that federal agencies, and some state, local and tribal bodies, publish on a schedule.

Features

  • Dataset search by keyword with organisation, location and sort options
  • Keyword list with dataset counts
  • Organisation list and location lookup endpoints
  • Harvest record lookup in raw or transformed DCAT form
  • JSON responses
  • Shared demo key for quick tests
  • Personal API key with a higher hourly limit
  • Covers federal plus some state, local and tribal datasets

Privacy

See the official privacy policy. The API is read-only and serves public metadata; a personal API key from api.data.gov is requested for regular use.

Pros & Cons

Pros

  • Free to use, run by a U.S. government agency
  • Can be tried straight away with the demo key
  • One search across the metadata of many agencies
  • Standard DCAT-style metadata that is consistent between publishers

Cons

  • Returns metadata and links only; the actual data lives on agency sites in many different formats
  • The demo key has very low limits, so real use needs a personal key
  • The older CKAN API is being replaced, so existing code may need updating
  • Quality of the metadata depends on what each agency publishes

Community Reviews (0)

No written reviews yet — be the first to rate this tool.

Similar Tools