socrata_discover_datasets
Search for Socrata datasets by keyword, optionally scoped to a domain. Returns IDs, names, and metadata for use in subsequent queries.
Instructions
Find Socrata dataset 4x4 ids by keyword via the Socrata catalog (keyless, api.us.socrata.com). Input q (e.g. 'procurement', 'vendor payments'), optional domain (scope to one allowlisted portal; omit to search the whole allowlist), limit (≤100, def 20). Returns [{ id, name, description, domain, updatedAt, link }] + totalAvailable = the catalog resultSetSize. Feed a result's id to socrata_query as datasetId. NOTE: the federated catalog does not index every allowlisted host (e.g. USAC E-rate) — those stay queryable via socrata_query with a known 4x4.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| q | Yes | Keyword(s) to find datasets, e.g. 'procurement', 'vendor payments', 'checkbook'. | |
| limit | No | Max datasets to return, 1..100, default 20. | |
| domain | No | Optional: scope discovery to ONE allowlisted portal. Omit to search the whole allowlist. NOTE: the federated catalog does not index every host (e.g. USAC E-rate returns 0) — those remain queryable via socrata_query with a known 4x4. |