changedInput schema / properties / countries / anyOf
Previous value: -[
- {
- "description": "A single country code, a list separated by commas, semicolons, or pipes, or \"all\".",
- "pattern": "[^\\s;,|]",
- "type": "string"
- },
- {
- "description": "An array of country codes; an element holding several codes separated by commas, semicolons, or pipes is split too.",
- "items": {
- "description": "A country code.",
- "type": "string"
- },
- "minItems": 1,
- "type": "array"
- }
-]New value: +[
+ {
+ "description": "One code, or several in one string.",
+ "pattern": "[^\\s;,|]",
+ "type": "string"
+ },
+ {
+ "description": "Codes as an array.",
+ "items": {
+ "description": "A country code.",
+ "type": "string"
+ },
+ "minItems": 1,
+ "type": "array"
+ }
+]
changedInput schema / properties / countries / description
Previous value: -"Country codes. Accepts: ISO2 (US, CN), ISO3 (USA, CHN), regional aggregate codes (EAS, LCN, MEA, SAS, SSF, ECS, NAC), income group codes (HIC, UMC, LMC, LIC), world code (WLD), or \"all\" on its own for every entry (use pagination). Pass a single code, an array, or one string separated by commas, semicolons, or pipes (US,JP · US;JP · US|JP). At least one code is required — an empty value, or one made only of separators, is rejected rather than treated as \"all\"."New value: +"ISO2 (US) or ISO3 (USA) codes, regional (EAS, SSF), income (HIC, LMC), or world (WLD) aggregates, or \"all\" alone for every entry. One code, an array, or codes separated by commas, semicolons, or pipes (US,JP · US;JP · US|JP), in a string or an array element. An empty or separator-only value is rejected, never read as \"all\"."
changedInput schema / properties / date_range / description
Previous value: -"Time window to filter observations to. Accepts a whole year (`2020`), a quarter (`2020Q1`), or a month (`2020M03`), or a range of two periods of the same type separated by a colon, earliest first (`2010:2023`, `2020Q1:2021Q4`, `2020M01:2020M06`); a range running latest first is rejected. On a series publishing more than one period form, the window's form picks which: `2024` returns the annual value, `2024Q1:2024Q4` the quarters, `2024M01:2024M12` the months, and a quarter or month window is null-filled where the series has none (a notice then names the other forms). On a series with one form, a window at another form keeps the periods it overlaps (`2019:2021` on a quarterly series returns its twelve quarters). A window covering no part of the series returns zero observations rather than the full series. Mutually exclusive with mrv, mrnev, and frequency."New value: +"A period, or two of the same form joined by a colon, earliest first: years (`2020`, `2010:2023`), quarters (`2020Q1:2021Q4`), or months (`2020M01:2020M06`). On a series publishing several forms the window's form picks the periods, null-filled where the series lacks it (with a notice); on a single-form series a window at another form keeps the periods it overlaps (`2019:2021` on a quarterly series gives twelve quarters). A window outside the series returns no observations."
changedInput schema / properties / dimension_value / description
Previous value: -"For indicators answered from their own dataset (the response carries sourceScoped), the value of that dataset's extra dimension to query, by id or by label, matched case-insensitively: a WDI Database Archives release (\"202503\" or \"2025 Mar\"), an ICP or Food Prices for Nutrition classification (\"PPPGlob\", \"FPN 5.0\"), a GDLD sector (\"WHT\"), or an International Debt Statistics counterpart area (\"730\" or \"China\"). Ids are matched first, across every dataset that carries the indicator; a label must match in full, ignoring case and spacing, and a label several values share is rejected with their ids. Omit it for the default, which sourceScoped.dimension reports: the only value when the dataset has one, \"WLD\" (World) for counterpart areas, the newest WDI Database Archives release holding data for the requested countries and periods (the newest release when none does), or otherwise every value with each row labelled. A value the dataset lists neither as an id nor as a label is rejected with every valid id beside its label, and a value for an indicator the standard data endpoint serves is rejected too."New value: +"For a source-scoped indicator (the response carries sourceScoped), the value of its dataset's extra dimension, by id or full label, case-insensitively, ids matched first: a WDI Database Archives release (\"202503\" or \"2025 Mar\"), an ICP or Food Prices for Nutrition classification (\"PPPGlob\", \"FPN 5.0\"), a GDLD sector (\"WHT\"), or an International Debt Statistics counterpart area (\"730\" or \"China\"). Omit for the default, which sourceScoped.dimension reports."
changedInput schema / properties / frequency / description
Previous value: -"The period form to return, for series such as Global Economic Monitor's that publish quarterly or monthly values beside annual ones: annual (the default), quarterly, or monthly. With mrv or mrnev it picks the form they select from — frequency \"monthly\" with mrv 3 returns the three latest months, where mrv 3 alone returns the three latest years. With neither, it returns the whole series at that form. A series that does not publish the form returns an empty result with a notice saying so, except that with neither mrv nor mrnev a source that null-fills the form (Global Economic Monitor) returns null rows, and a page of them carries a notice. Mutually exclusive with date_range, whose own form (2024, 2024Q1, 2024M01) picks the periods of a window."New value: +"Period form, for series that also publish quarterly or monthly values (Global Economic Monitor): annual (default; a series with no annual periods keeps its own), quarterly, or monthly. It applies to mrv and mrnev (\"monthly\" with mrv 3 gives the three latest months), or alone to the whole series. A form the series lacks returns no rows, or null rows on a whole-series read from a source that null-fills it; a notice says so."
changedInput schema / properties / indicator_id / description
Previous value: -"One indicator code to query (e.g. NY.GDP.PCAP.CD, SP.POP.TOTL) — not \"all\" or a list of codes. Use worldbank_search_indicators to find valid IDs."New value: +"One indicator ID (e.g. NY.GDP.PCAP.CD), not \"all\" or a list."
changedInput schema / properties / mrnev / description
Previous value: -"Return each requested country's own N most recent periods (1–100) holding a value — its latest non-null observations, however far back they sit. A country with fewer values in the series returns the ones it has, and a country with none returns no rows. The periods are annual unless frequency names another form (a series with no annual periods keeps its own). Mutually exclusive with date_range and mrv."New value: +"Each requested country's own N latest non-null values (1–100), however far back; a country with fewer returns those it has, and one with none returns no rows."
changedInput schema / properties / mrv / description
Previous value: -"Return the N most recent periods (1–100) holding a value for any requested country, clamped to the length of the series. Every requested country comes back at those periods, null where it has no value there rather than with its own older values; mrnev returns each country's own latest values instead. The periods are annual unless frequency names another form (a series with no annual periods keeps its own). Rows are mrv × countries, so page through them with per_page. Mutually exclusive with date_range and mrnev."New value: +"The N latest periods (1–100, at most the series length) where any requested country has a value; every country comes back at those periods, null where it has none. Rows are mrv × countries."
changedInput schema / properties / page / description
Previous value: -"Pagination page number (1-based)."New value: +"Page number, 1-based."
changedInput schema / properties / per_page / description
Previous value: -"Results per page (default: server default). Positive integers above 1000 are served at that maximum with the requested and served sizes echoed and a notice. totalPages uses the served size."New value: +"Results per page (default: server default); sizes above 4000 are served at that maximum, with a notice."
changedInput schema / properties / source_id / description
Previous value: -"Select this source dataset explicitly, including subnational sources. Use worldbank_list_countries with the same source_id for its canonical entity IDs. Omission preserves the standard dataset and automatic fallback."New value: +"Source dataset to read, subnational ones included (IDs from worldbank_list_sources); worldbank_list_countries with the same source_id lists its entity IDs. Omit for the standard endpoint with automatic fallback."
changedOutput schema / properties / appliedFilters / description
Previous value: -"The effective parameters sent to the World Bank API — confirms country code normalization and which filters were in force for these observations."New value: +"Parameters in force for these observations; a filter not applied is omitted."
changedOutput schema / properties / appliedFilters / properties / countries / description
Previous value: -"Country codes as requested, normalized — array elements and strings separated by commas, semicolons, or pipes are split and rejoined with semicolons, the separator the API takes."New value: +"Country codes as requested, split and rejoined with semicolons."
changedOutput schema / properties / appliedFilters / properties / dateRange / description
Previous value: -"Date window applied, omitted when none was requested."New value: +"date_range applied."
changedOutput schema / properties / appliedFilters / properties / dimensionValue / description
Previous value: -"dimension_value as requested, omitted when none was given."New value: +"dimension_value requested."
changedOutput schema / properties / appliedFilters / properties / frequency / description
Previous value: -"Period form applied (annual, quarterly, monthly), omitted when none was requested."New value: +"frequency applied."
changedOutput schema / properties / appliedFilters / properties / mrnev / description
Previous value: -"Most-recent-non-empty-values count applied, omitted when none was requested."New value: +"mrnev applied."
changedOutput schema / properties / appliedFilters / properties / mrv / description
Previous value: -"Most-recent-values count applied, omitted when none was requested."New value: +"mrv applied."
changedOutput schema / properties / appliedFilters / properties / page / description
Previous value: -"Page number requested."New value: +"Page requested."
changedOutput schema / properties / appliedFilters / properties / perPage / description
Previous value: -"Results per page actually served — the requested size or server default, reduced to the page cap when larger. totalPages is counted at this size."New value: +"Page size served, after any reduction to the page maximum."
changedOutput schema / properties / appliedFilters / properties / requestedPerPage / description
Previous value: -"Page size asked for, present only when it exceeded the page cap and perPage was reduced."New value: +"Page size asked for, or the server default; present only when perPage was reduced."
changedOutput schema / properties / appliedFilters / properties / sourceId / description
Previous value: -"Explicit source_id requested, omitted for automatic routing."New value: +"source_id requested."
changedOutput schema / properties / currentPage / description
Previous value: -"Page number requested — past totalPages when the request ran off the end."New value: +"Page number; past totalPages when the request ran off the end."
changedOutput schema / properties / data / description
Previous value: -"Indicator observations for this page. Null values are common for sparse series."New value: +"Observations on this page."
changedOutput schema / properties / data / items / description
Previous value: -"A single country×period observation."New value: +"One country-period observation."
changedOutput schema / properties / data / items / properties / countryCode / description
Previous value: -"ISO2 code of the country or aggregate (US, XD for High income), or the canonical opaque entity ID for a source-only entity."New value: +"ISO2 code (US; XD for High income), or a source-only entity's opaque ID."
changedOutput schema / properties / data / items / properties / countryIso3 / description
Previous value: -"Three-character code of the country or aggregate (USA, HIC) — the form the countries input takes. Empty only for an entity the World Bank country listing does not carry."New value: +"Three-character code (USA, HIC), the form countries takes; empty for an entity the World Bank country listing lacks."
changedOutput schema / properties / data / items / properties / date / description
Previous value: -"Period of observation: a year (2020), quarter (2020Q1), or month (2020M03)."New value: +"Period: year (2020), quarter (2020Q1), or month (2020M03)."
changedOutput schema / properties / data / items / properties / dimension / description
Previous value: -"The value of the dataset's extra dimension (sourceScoped.dimension.concept) this row belongs to. Present on source-scoped rows from a dataset that has one."New value: +"This row's value of the dataset's extra dimension, on source-scoped rows of a dataset that has one."
changedOutput schema / properties / data / items / properties / isAggregate / description
Previous value: -"True when this row is a regional or income-group aggregate rather than an individual country."New value: +"True for a regional or income-group aggregate."
changedOutput schema / properties / data / items / properties / obsStatus / description
Previous value: -"Observation status code (empty string when no special status; non-empty values signal data quality notes)."New value: +"Observation status code flagging a data-quality note; empty when none."
changedOutput schema / properties / data / items / properties / value / description
Previous value: -"Indicator value. Null when data is not available for this country×year cell."New value: +"Indicator value; null where the series has no data for this country and period, common in sparse series."
changedOutput schema / properties / error / properties / data / properties / reason / description
Previous value: -"Machine-readable failure mode. Declared by this tool: `source_not_found`: source_id does not name a source. `source_not_queryable`: The selected source has no supported country/series/time layout. `invalid_params`: More than one of date_range, mrv, and mrnev is provided, or frequency is provided with date_range. `mixed_all_selector`: countries combines \"all\" with one or more country codes. `reversed_date_range`: date_range names a range whose first period comes after its second. `multiple_indicators`: The indicator ID is \"all\", which selects every indicator rather than one. `indicator_not_found`: The indicator ID does not exist. `indicator_not_queryable`: The standard data endpoint does not serve the indicator, and no catalog source can serve it through the source-scoped data API instead — the catalog no longer lists the ID, the catalog lookup failed, or the source is not organized by country, series, and time plus at most one further dimension. `unknown_dimension_value`: dimension_value is neither an id nor a label the indicator's dataset lists for its extra dimension. `ambiguous_dimension_value`: dimension_value matches no id, and the first dataset whose labels carry it gives that label to more than one value. `dimension_not_applicable`: dimension_value is given for an indicator the standard data endpoint serves, or whose dataset has no dimension beyond country, series, and time. `source_scope_too_large`: A source-scoped query would read more rows (countries × periods × unpinned dimension values) than one request allows. `country_not_found`: One or more country codes are invalid. The message and countryCodes name the codes the World Bank country listing lacks, or every requested code when it lacks none. `indicator_and_country_not_found`: The indicator ID and the country codes are both invalid. The codes are named as on country_not_found. `upstream_inconsistent`: The World Bank API answered a data read, and its one re-read, with rows that do not fit the request — its response cache served another query's result — so nothing was served. Other values are possible when a failure originates below the handler."New value: +"Machine-readable failure mode. Declared by this tool: `source_not_found`: source_id does not name a source. `source_not_queryable`: The source lacks a country/series/time layout. `invalid_params`: More than one of date_range, mrv, and mrnev, or frequency with date_range. `mixed_all_selector`: countries mixes \"all\" with codes. `reversed_date_range`: date_range runs latest first. `multiple_indicators`: indicator_id is \"all\". `indicator_not_found`: Unknown indicator_id. `indicator_not_queryable`: Neither the standard data endpoint nor a source-scoped dataset can serve the indicator. `unknown_dimension_value`: dimension_value matches no id or label of the dataset's extra dimension. `ambiguous_dimension_value`: dimension_value is a label several values share. `dimension_not_applicable`: dimension_value is given for an indicator with no extra dimension. `source_scope_too_large`: A source-scoped query exceeds the per-request row limit. `country_not_found`: One or more country codes are invalid. `indicator_and_country_not_found`: Both indicator_id and country codes are invalid. `upstream_inconsistent`: The API's response cache answered a data read and its re-read with another query's rows. `upstream_timeout`: The World Bank Indicators API did not answer every read within the call's 50-second budget. Other values are possible when a failure originates below the handler."
changedOutput schema / properties / error / properties / data / properties / reason / examples
Previous value: -[
- "source_not_found",
- "source_not_queryable",
- "invalid_params",
- "mixed_all_selector",
- "reversed_date_range",
- "multiple_indicators",
- "indicator_not_found",
- "indicator_not_queryable",
- "unknown_dimension_value",
- "ambiguous_dimension_value",
- "dimension_not_applicable",
- "source_scope_too_large",
- "country_not_found",
- "indicator_and_country_not_found",
- "upstream_inconsistent"
-]New value: +[
+ "source_not_found",
+ "source_not_queryable",
+ "invalid_params",
+ "mixed_all_selector",
+ "reversed_date_range",
+ "multiple_indicators",
+ "indicator_not_found",
+ "indicator_not_queryable",
+ "unknown_dimension_value",
+ "ambiguous_dimension_value",
+ "dimension_not_applicable",
+ "source_scope_too_large",
+ "country_not_found",
+ "indicator_and_country_not_found",
+ "upstream_inconsistent",
+ "upstream_timeout"
+]
changedOutput schema / properties / indicator / description
Previous value: -"Indicator metadata echoed from the response."New value: +"The indicator queried."
changedOutput schema / properties / indicator / properties / id / description
Previous value: -"Indicator ID echoed for chaining context."New value: +"Indicator ID."
changedOutput schema / properties / lastUpdated / description
Previous value: -"Last update date of the World Bank source that served these values (YYYY-MM-DD) — the data vintage to cite with them. Omitted when upstream reports none, as for an empty result."New value: +"Last update (YYYY-MM-DD) of the source that served these values, the vintage to cite; omitted when upstream reports none."
changedOutput schema / properties / notice / description
Previous value: -"Recovery hint for an empty result set — how to broaden the query when nothing matched, whether the series publishes the requested frequency, or the page range that exists when the requested page is past the end — a quarter or month date_range whose observations are all null, with the same span at the other period forms, a frequency page whose observations are all null, a page size reduced to the page cap, and, for source-scoped data, the requested country codes the serving dataset publishes nothing for."New value: +"Explains an empty result, a frequency the series lacks, a page past the end, an all-null date_range or frequency page, a reduced page size, or countries a source-scoped dataset lacks."
changedOutput schema / properties / nullCount / description
Previous value: -"Count of null values on this page — indicates data sparsity for the requested filter."New value: +"Null values on this page."
changedOutput schema / properties / sourceId / description
Previous value: -"Serving source ID, present only when established by the selected source or upstream response."New value: +"ID of the source that served the values, when known."
changedOutput schema / properties / sourceScoped / description
Previous value: -"Present when the source-scoped data API served the explicitly selected source or an automatic fallback dataset."New value: +"Present when the source-scoped data API served the values, for a source_id or the fallback."
changedOutput schema / properties / sourceScoped / properties / dimension / anyOf
Previous value: -[
- {
- "additionalProperties": false,
- "properties": {
- "concept": {
- "description": "The extra dimension: Version, Classification, Sector, or Counterpart-Area.",
- "type": "string"
- },
- "id": {
- "description": "Applied value id; null for every_value.",
- "type": [
- "string",
- "null"
- ]
- },
- "label": {
- "description": "Applied value label; null for every_value.",
- "type": [
- "string",
- "null"
- ]
- },
- "selection": {
- "description": "How the value was chosen: requested (dimension_value), only_value (the only one the dataset lists), world_total (WLD, all counterpart areas), newest_with_data (newest release holding a value for the requested countries and periods), newest (newest release; none holds a value in that scope), or every_value (no single value; each row carries its own).",
- "enum": [
- "requested",
- "only_value",
- "world_total",
- "newest_with_data",
- "newest",
- "every_value"
- ],
- "type": "string"
- }
- },
- "required": [
- "concept",
- "selection",
- "id",
- "label"
- ],
- "type": "object"
- },
- {
- "type": "null"
- }
-]New value: +[
+ {
+ "additionalProperties": false,
+ "properties": {
+ "concept": {
+ "description": "The extra dimension: Version, Classification, Sector, or Counterpart-Area.",
+ "type": "string"
+ },
+ "id": {
+ "description": "Applied value id; null for every_value.",
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "label": {
+ "description": "Applied value label; null for every_value.",
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "selection": {
+ "description": "How the value was chosen: requested (dimension_value), only_value (the dataset's only value), world_total (WLD, all counterpart areas), newest_with_data (newest release with a value for the requested countries and periods), newest (newest release; none has one), or every_value (each row carries its own).",
+ "enum": [
+ "requested",
+ "only_value",
+ "world_total",
+ "newest_with_data",
+ "newest",
+ "every_value"
+ ],
+ "type": "string"
+ }
+ },
+ "required": [
+ "concept",
+ "selection",
+ "id",
+ "label"
+ ],
+ "type": "object"
+ },
+ {
+ "type": "null"
+ }
+]
changedOutput schema / properties / sourceScoped / properties / dimension / description
Previous value: -"The dimension value applied; null when the dataset has no extra dimension."New value: +"Dimension value applied; null when the dataset has no extra dimension."
changedOutput schema / properties / sourceScoped / properties / note / description
Previous value: -"States that the values came from the source-scoped data API rather than the standard World Bank data endpoint, and may be archived or superseded figures."New value: +"Provenance note for these values."
changedOutput schema / properties / sourceScoped / properties / sourceId / description
Previous value: -"ID of the World Bank data source that served the values."New value: +"Serving source ID."
changedOutput schema / properties / sourceScoped / properties / sourceName / description
Previous value: -"Name of that data source, e.g. \"WDI Database Archives\"."New value: +"Serving source name, e.g. \"WDI Database Archives\"."
changedOutput schema / properties / totalCount / description
Previous value: -"Total observations before pagination."New value: +"Observations before pagination."
changedOutput schema / properties / totalPages / description
Previous value: -"Total number of pages."New value: +"Total pages at perPage."