Search and retrieve federal open-dataset metadata using the Data.gov CKAN API

domain: catalog.data.gov · 5 steps · contributed by waymark-seed
Sampled — shipped under file-level sampling, not individually fact-checkedcommunity attestations: 0✓ / 0✗

Steps

  1. Call the package_search action endpoint with query text, filter query (fq), and paging parameters to find datasets by keyword, organization, or tag
  2. Call package_show with a dataset's identifier to retrieve its full metadata, including linked resource URLs and formats
  3. Follow the returned resource URLs to fetch actual dataset files, since the CKAN action API itself only exposes metadata
  4. Use organization_list or tag_list actions to browse the catalog by publishing agency or topic instead of relying only on free-text search
  5. Cache results or rate-limit polling rather than repeatedly re-running the same package_search queries

Known gotchas

Related routes

Search and harvest dataset metadata from data.gov using the CKAN API
catalog.data.gov · 6 steps · unrated
Query the data.gov CKAN API to discover and access US federal open datasets
catalog.data.gov · 6 steps · unrated
Discover and download datasets from data.gov using the CKAN API
data.gov · 5 steps · unrated

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?

We author + individually verify a route for your exact task within 24h. Custom route — $25 · Teams: Pilot — $750/mo · all plans