Oecd Search Datasets
oecd_search_datasetsSearch OECD dataflows by keyword or theme, matching against dataflow names and descriptions. Returns flow_ref identifiers, names, and agency IDs for use with oecd_get_dataset_info.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Maximum number of results to return (1–100, default 20). | |
| query | Yes | Keyword or phrase to search for in dataflow names and descriptions — e.g. "GDP", "employment", "education". Every whitespace-separated token must appear somewhere in the name or description. | |
| offset | No | Zero-based index of the first match to return, applied before limit. Page through results past the limit by advancing it; an offset at or past total_matches returns an empty list. | |
| agency_id | No | Optional agency identifier to restrict the search scope — e.g. "OECD.SDD.NAD". Obtain valid agency IDs from oecd_list_agencies. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| error | No | Present when the call failed. Absent on success. | |
| offset | No | Zero-based index of the first returned result within the full match list. | |
| source | No | Data source attribution — always "OECD". | |
| dataflows | No | Matching dataflows for the requested page, up to the requested limit. | |
| totalCount | No | Total dataflows matching the query, disclosed when matches remain beyond the returned page. | |
| result_count | No | Number of results returned (may be less than total_matches). | |
| total_matches | No | Total dataflows matching the query before applying offset and limit. |