Data.gov CKAN Action API

The CKAN Action API exposes the full Data.gov catalog programmatically. It provides read access to packages (datasets), resources (file/URL distributions), organizations (publishers — federal agencies and sub-agencies), groups (topical categories), tags, and users. The API is a single endpoint family at /api/3/action/{action_name} accepting GET (for simple read calls) and POST (JSON body) for any action. Key actions include package_search, package_show, package_list, organization_list, organization_show, group_list, group_show, tag_list, resource_show, and current_package_list_with_resources. Responses are wrapped in {success, result, help} envelopes. Read access is anonymous; write actions require an API key (Data.gov restricts write access to authorized agency publishers).

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/ckan-action-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no email required.

A second provider on the same verified email joins the account you already have.

API entry from apis.yml

apis.yml Raw ↑
aid: data-gov:ckan-action-api
name: Data.gov CKAN Action API
tags:
- Catalog
- CKAN
- Datasets
- Open Data
humanURL: https://docs.ckan.org/en/2.11/api/
baseURL: https://catalog.data.gov/api/3/action
properties:
- url: https://docs.ckan.org/en/2.11/api/
  type: Documentation
- url: https://catalog.data.gov/api/3/action/help_show
  type: APIReference
- url: https://resources.data.gov/resources/dcat-us/
  type: Standards
description: The CKAN Action API exposes the full Data.gov catalog programmatically. It provides read
  access to packages (datasets), resources (file/URL distributions), organizations (publishers — federal
  agencies and sub-agencies), groups (topical categories), tags, and users. The API is a single endpoint
  family at /api/3/action/{action_name} accepting GET (for simple read calls) and POST (JSON body) for
  any action. Key actions include package_search, package_show, package_list, organization_list, organization_show,
  group_list, group_show, tag_list, resource_show, and current_package_list_with_resources. Responses
  are wrapped in {success, result, help} envelopes. Read access is anonymous; write actions require an
  API key (Data.gov restricts write access to authorized agency publishers).