CKAN Open Data Scraper
Pricing
from $2.00 / 1,000 records
CKAN Open Data Scraper
Search datasets and pull tabular records from any public CKAN open-data portal. No key.
Pricing
from $2.00 / 1,000 records
Rating
0.0
(0)
Developer
Dev D
Maintained by CommunityActor stats
0
Bookmarked
2
Total users
1
Monthly active users
a day ago
Last modified
Categories
Share
CKAN Open Data Scraper ๐
Search datasets and pull tabular records from any public CKAN open-data portal โ data.gov.uk, open.canada.ca and hundreds more. No API key, no proxy.
CKAN is the software behind most government and research open-data portals worldwide. This actor is a universal connector: point it at any CKAN portal and either search its datasets (metadata, organizations, resources, tags) or pull the actual rows from a datastore-backed resource.
Perfect for open-data pipelines, government/research data aggregation, civic tech, data journalism, and keeping a warehouse in sync with public datasets.
Uses CKAN's public Action API โ no key, no login. One actor works across every CKAN portal.
Two modes
- ๐ Search datasets โ
package_search: dataset title, notes, organization, license, tags, and its resources (withdatastore_activeflags). - ๐ Resource records โ
datastore_search: the actual tabular rows from a datastore-backed resource.
Features
- โ No API key, no proxy โ public CKAN Action API.
- โ Universal โ works on any CKAN portal (just change the portal URL).
- โ
Dataset discovery โ search + Solr filter queries (
res_format:CSV,organization:...). - โ Raw data โ pull the rows behind a resource, with full-text search.
- โ Auto-pagination โ handles both endpoints' paging.
Input
| Field | Description |
|---|---|
| Portal URL | Base URL, e.g. https://data.gov.uk or https://open.canada.ca/data. |
| Mode | datasets (search) or records (datastore rows). |
| Query | Free-text search. |
| Filter query | Solr fq filter (datasets mode), e.g. res_format:CSV. |
| Resource ID | Datastore-active resource ID (records mode). |
| Max results | Cap on datasets/records returned. |
Example โ search CSV crime datasets on data.gov.uk
{"portalUrl": "https://data.gov.uk","mode": "datasets","query": "crime","filterQuery": "res_format:CSV","maxResults": 500}
Example โ pull rows from a specific resource
{"portalUrl": "https://open.canada.ca/data","mode": "records","resourceId": "a811cac0-2a2a-4440-8a81-2994fc753171","maxResults": 10000}
Output
Datasets mode:
{"id": "โฆ","name": "crime-data","title": "Crime","notes": "โฆ","organization": "Calderdale Metropolitan Borough Council","license_title": "UK Open Government Licence (OGL)","num_resources": 3,"tags": ["crime", "safety"],"url": "https://data.gov.uk/dataset/crime-data","resources": [{ "id": "โฆ", "name": "2024 CSV", "format": "CSV", "url": "โฆ", "datastore_active": true }]}
Records mode returns each row as-is (the resource's own columns) plus a _resource_id field.
Workflow tip
Use datasets mode to find resources where datastore_active: true, then feed those resource IDs into records mode to pull the actual data.
Run it on a schedule
Keep a mirror of chosen datasets/resources fresh โ pipe to a database, Google Sheets or a webhook.
Notes & limitations
- Public CKAN portals only.
- Records mode requires a datastore-active resource (many resources are just file links, which have no queryable rows).
- Some portals mount CKAN under a subpath (e.g.
/data) โ include it in the portal URL. - Data sources: the respective open-data portals; respect their licenses.
Keywords
CKAN, open data, data.gov, data.gov.uk, open.canada.ca, government data, datastore, package_search, datasets, civic tech, open data portal, public data, data catalog, research data, data journalism, Solr, open government, data aggregation, tabular data, API.