OpenAPI specification
Full parameter and response reference for the package_search endpoint.
curl "https://data.humdata.org/api/3/action/package_search?q=*:*&rows=5"HDX API token. Optional — public dataset search needs no authentication; a token is only required to include private or draft datasets.
Solr search query. Supports Solr syntax. Defaults to "*:*" (all datasets).
*:*Solr filter query. Restricts results without affecting relevance scoring.
nullAdditional filter queries as a list. Each entry is ANDed with fq.
nullSort order as a Solr sort string. Defaults to "score desc, metadata_modified desc".
score desc, metadata_modified descMaximum number of datasets to return. Defaults to 10, maximum 1000.
10Offset into the result set. Used for pagination.
nullEnable faceted results. Defaults to "true".
trueMinimum count for a facet value to be included in the response.
nullMaximum number of values returned per facet field. Defaults to 50.
50Fields to facet on.
nullInclude draft datasets in results. Requires authentication as the owning user or org admin. Defaults to false.
falseInclude deleted datasets in results. Defaults to false.
falseInclude private datasets in results. Requires authentication as a member of the owning organisation. Defaults to false.
falseReturn results using the default package schema rather than any custom schema configured on the instance. Defaults to false.
falseSuccessful response.
URL to the API documentation for this action.
Whether the request succeeded.
Forbidden — API token is missing or invalid. Authentication is required for all DataStore requests, including public resources.
Not Found — the requested action or endpoint does not exist.
Conflict — Validation Error. The request parameters or SQL were invalid (e.g. missing required parameter, non-SELECT SQL, malformed query, or wrong parameter type).
Too Many Requests — rate limit exceeded.
Internal Server Error — unexpected server-side failure.
HDX API token. Optional — public dataset search needs no authentication; a token is only required to include private or draft datasets.
Solr search query. Supports Solr syntax. Defaults to "*:*" (all datasets).
*:*Solr filter query. Restricts results without affecting relevance scoring.
nullAdditional filter queries as a list. Each entry is ANDed with fq.
nullSort order as a Solr sort string. Defaults to "score desc, metadata_modified desc".
score desc, metadata_modified descMaximum number of datasets to return. Defaults to 10, maximum 1000.
10Offset into the result set. Used for pagination.
nullEnable faceted results. Defaults to "true".
trueMinimum count for a facet value to be included in the response.
nullMaximum number of values returned per facet field. Defaults to 50.
50Fields to facet on.
nullInclude draft datasets in results. Requires authentication as the owning user or org admin. Defaults to false.
falseInclude deleted datasets in results. Defaults to false.
falseInclude private datasets in results. Requires authentication as a member of the owning organisation. Defaults to false.
falseReturn results using the default package schema rather than any custom schema configured on the instance. Defaults to false.
falseSuccessful response.
URL to the API documentation for this action.
Whether the request succeeded.
Forbidden — API token is missing or invalid. Authentication is required for all DataStore requests, including public resources.
Not Found — the requested action or endpoint does not exist.
Conflict — Validation Error. The request parameters or SQL were invalid (e.g. missing required parameter, non-SELECT SQL, malformed query, or wrong parameter type).
Too Many Requests — rate limit exceeded.
Internal Server Error — unexpected server-side failure.
Last updated
Was this helpful?
