CKAN Action API

The Action API from CKAN — 2 operation(s) for action.

Operations 2

GET /api/3/action/{actionid} GET /api/3/action/am_following_user #
GET /api/action/{actionid} GET /api/action/package_search #

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:ckan-action-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

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

OpenAPI Specification

ckan-action-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: CKAN Action API
  version: '2026-10-13'
  description: 'GENERATED FROM DOCUMENTATION by API Evangelist on 2026-10-13: 7 operation(s) read from 6 public documentation page(s) (each operation names its page in x-source). This is not the provider''s published contract; CKAN has published no machine-readable contract that the pipeline could find. Engine: local.'
  x-evidence-tiers:
    code-example: 12
    documentation: -5
    pages-with-code: 6
    pages-read: 6
  x-generated-from: documentation
  x-provenance: generated
  x-authored-by: API Evangelist
  x-generated: '2026-10-13'
  x-generator: generate-contract-from-docs.py
  x-engine: local
  x-sources:
  - https://docs.ckan.org/en/2.12/api/index.html
  - https://docs.ckan.org/en/2.12/api/legacy-api.html
  - https://docs.ckan.org/en/2.12/maintaining/filestore.html
  - https://docs.ckan.org/en/2.12/maintaining/datastore.html
  - https://docs.ckan.org/en/2.12/extensions/remote-config-update.html
  - https://docs.ckan.org/en/2.12/contributing/test.html
servers:
- url: http://demo.ckan.org
security:
- apiKey: []
tags:
- name: Action
paths:
  /api/3/action/{actionid}:
    get:
      operationId: get_api_3_action_actionid
      tags:
      - Action
      summary: GET /api/3/action/am_following_user
      x-source: https://docs.ckan.org/en/2.12/api/index.html
      parameters:
      - name: actionid
        in: path
        required: true
        schema:
          type: string
      - name: id
        in: query
        required: false
        schema:
          type: string
      responses:
        '200':
          description: Success (status as documented)
      x-evidence:
        kind: code-example
        language: curl
        snippet: "curl -H \"Authorization: XXX\" https://demo.ckan.org/api/3/action/am_following_user?id=markw\n (Replacing XXX with your API token.) \n Or, to get the list of activities from your user dashboard on demo.ckan.org,\nrun this Python code: \n from ckanapi import RemoteCKAN "
        collapsed_from: 5 example path(s) differing only at actionId
  /api/action/{actionid}:
    get:
      operationId: get_api_action_actionid
      tags:
      - Action
      summary: GET /api/action/package_search
      x-source: https://docs.ckan.org/en/2.12/api/index.html
      parameters:
      - name: actionid
        in: path
        required: true
        schema:
          type: string
      responses:
        '200':
          description: Success (shape read from the example response on the page)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GetApiActionActionidResponse'
      x-evidence:
        kind: code-example
        language: curl
        snippet: "curl: curl 'http://demo.ckan.org/api/action/package_search?facet.field=\\[\"tags\"\\]&facet.limit=10&rows=0' \n ckanapi: ckanapi -r http://demo.ckan.org action package_search facet.field='[\"tags\"]' facet.limit=10 rows=0 \n All datasets that have tag ‘economy’: \n browser: http://demo.ckan.org/api/3/action/package_search?fq=tags:economy "
        collapsed_from: 3 example path(s) differing only at actionId
components:
  schemas:
    GetApiActionActionidResponse:
      type: object
      properties:
        type:
          type: string
  securitySchemes:
    apiKey:
      type: apiKey
      in: header
      name: Authorization