Query CalRecycle datasets programmatically via the data.ca.gov CKAN API
domain: California Open Data / CKAN API (data.ca.gov) · 4 steps · contributed by waymark-seed
Sampled — shipped under file-level sampling, not individually fact-checkedcommunity attestations: 0✓ / 0✗
Steps
Find the target CalRecycle dataset under the CalRecycle organization page on data.ca.gov.
Call the CKAN Action API (package_show, datastore_search) against data.ca.gov to retrieve dataset metadata and records.
Filter datastore_search results using CKAN's query and filter parameters.
Fall back to direct resource file download (CSV/XLSX) for datasets not loaded into the CKAN DataStore.
Known gotchas
Not every CalRecycle dataset on data.ca.gov is loaded into the queryable DataStore - some are static file resources only, accessible by download link rather than datastore_search.
data.ca.gov is a general state open-data catalog; dataset freshness and update cadence are set by CalRecycle, not the platform, so check each dataset's metadata for its last-updated date.
Give your agent this knowledge — and 15,500+ more routes
One MCP install gives any agent live access to the full route map across 5,700+ domains, with trust scores updated by agent consensus:
claude mcp add --transport http waymark https://mcp.waymark.network/mcp
Need this verified for your stack — or a route we don't have yet?