CKAN icon

CKAN

Interact with the CKAN API

Package Search

AI-generated

Summary

Searches datasets on a CKAN instance with a Solr query, optional filters, sorting, and pagination. Sends a GET request to the CKAN package_search action for each input item and returns the result data.

Inputs

  • CKAN URL (required) — Base URL of the CKAN instance.
  • Q — Solr search query, such as title:flood; defaults to all datasets when omitted.
  • Fq — Solr filter query applied alongside Q, such as tags:economy or organization:my-org.
  • Rows — Maximum number of datasets to return; defaults to 10.
  • Start — Result offset for pagination; defaults to 0. Use with Rows.
  • Sort — Sort expression, such as metadata_modified desc or title asc.

Output shape

One item per input item, with json.success set to true and json.data containing the CKAN result.

The operation issues a GET request to /api/3/action/package_search. When Continue On Fail is enabled, failed input items instead return a json.error message. The node checks CKAN status once per distinct URL during execution.

Links

Discussion