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, several separated by commas, semicolons, or pipes, or \"all\".",
+ "pattern": "[^\\s;,|]",
+ "type": "string"
+ },
+ {
+ "description": "Codes; an element holding several separated codes is split too.",
+ "items": {
+ "type": "string"
+ },
+ "minItems": 1,
+ "type": "array"
+ }
+]
changedInput schema / properties / countries / description
Previous value: -"Country codes: a single code, an array, or one string separated by commas, semicolons, or pipes. Economies go by ISO3 (IND, USA) or ISO2 (IN, US) code, including those PIP publishes only as model estimates (AFG); \"all\" returns every economy. PIP's aggregates are served too: WLD; the World Bank regions AFE, AFW, EAS, ECS, LCN, MEA, NAC, SAS, SSF; the income groups HIC, LIC, LMIC (or LMC), UMIC (or UMC); the fragility groups FCVY (fragile) and FCVN (not fragile); and the lending groups IDX (IDA only), IDB or BLND (IDA blend), IBD or IBRD (IBRD only), and REST. Income groups follow the fiscal-year classification PIP's data release was built with — FY2026 (July 2025) for release 20260922 — applied to every year, so membership can differ from the current one worldbank_get_country reports. IDA (IDA total) is rejected because PIP computes no IDA total: ask for IDX and IDB together. FCS is rejected: use PIP's FCVY for its fragile group, whose membership is not asserted to match WDI's FCS. Other aggregate codes (SSA, EAP, MIC, LMY) are rejected, and welfare_type and reporting_level cannot be combined with an aggregate."New value: +"Economies by ISO3 (IND) or ISO2 (IN) code, model-estimate-only ones (AFG) included, or \"all\" for every economy. PIP's aggregates: WLD; regions AFE, AFW, EAS, ECS, LCN, MEA, NAC, SAS, SSF; income groups HIC, LIC, LMIC (or LMC), UMIC (or UMC); fragility groups FCVY (fragile) and FCVN (not fragile); lending groups IDX (IDA only), IDB or BLND (IDA blend), IBD or IBRD (IBRD only), REST. Income groups use the classification of PIP's data release for every year, so membership can differ from worldbank_get_country's. IDA is rejected (PIP computes no IDA total: ask for IDX and IDB), as are FCS (use FCVY, not asserted to match it), SSA, EAP, MIC, and LMY. welfare_type and reporting_level cannot combine with an aggregate."
changedInput schema / properties / fill_gaps / description
Previous value: -"When true (the default), PIP's own estimate fills in whatever the surveys do not cover instead of leaving it out: a year with no survey, so a single-year query still answers and a full-history query returns a row per year rather than only the survey years, and a reporting level or welfare type a surveyed year lacks, such as a national estimate beside an urban-only survey. Those estimated rows carry no inequality data. Set false to return survey-derived rows only, accepting an empty result for years no survey covers and for economies PIP publishes only as model estimates. It also decides what \"MRV\" resolves to, and has no effect on aggregate rows."New value: +"True: PIP's estimates fill the years, reporting levels, and welfare types no survey covers, so an unsurveyed year still returns a row; those rows carry no inequality data. False: survey rows only, empty for unsurveyed years and for model-estimate-only economies. No effect on aggregates."
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 1000 are served at that maximum, with a notice."
changedInput schema / properties / poverty_line / description
Previous value: -"Poverty line in PPP dollars per person per day, at the applied PPP vintage — any threshold, not only the published ones. Omitted uses the international poverty line for that vintage, so the applied value is echoed back on every row as povertyLine rather than assumed here. The poverty line does not affect the inequality fields, which describe the whole distribution."New value: +"Poverty line in PPP dollars per person per day at the applied vintage, any threshold; omitted, the international poverty line for that vintage. PIP rounds it to two decimals (6.953 is computed at 6.95): each row's povertyLine is the line applied, appliedFilters.povertyLine the value sent. The inequality fields do not depend on it."
changedInput schema / properties / ppp_version / anyOf
Previous value: -[
- {
- "const": "",
- "type": "string"
- },
- {
- "description": "A PPP vintage year.",
- "pattern": "^\\d{4}$",
- "type": "string"
- }
-]New value: +[
+ {
+ "const": "",
+ "type": "string"
+ },
+ {
+ "description": "A four-digit PPP vintage year.",
+ "pattern": "^\\d{4}$",
+ "type": "string"
+ }
+]
changedInput schema / properties / ppp_version / description
Previous value: -"PPP vintage to express every dollar figure in — the poverty line, mean, and median — as a four-digit year (\"2021\", \"2017\"). It must be one of the vintages PIP's current data release is published at; any other value fails with the available vintages named. Omitted uses the newest vintage of that release. The vintage and release applied are echoed as appliedFilters.pppVersion and appliedFilters.releaseVersion."New value: +"PPP vintage for every dollar figure (\"2021\", \"2017\"), one PIP's current data release is published at; omitted, the newest."
changedInput schema / properties / reporting_level / anyOf
Previous value: -[
- {
- "const": "",
- "type": "string"
- },
- {
- "description": "Restrict to the national, urban, or rural estimate.",
- "enum": [
- "national",
- "urban",
- "rural"
- ],
- "type": "string"
- }
-]New value: +[
+ {
+ "const": "",
+ "type": "string"
+ },
+ {
+ "description": "National, urban, or rural estimates.",
+ "enum": [
+ "national",
+ "urban",
+ "rural"
+ ],
+ "type": "string"
+ }
+]
changedInput schema / properties / reporting_level / description
Previous value: -"Restrict results to one reporting level. Most economies publish a national figure only. China alone publishes national, urban, and rural figures for the same year. Several others publish urban or rural figures in some years and national figures in others, and with fill_gaps true a year surveyed only in urban or rural areas also returns PIP's national estimate where PIP publishes one. Argentina publishes urban figures only, so \"national\" leaves it out. Every row states its own reportingLevel."New value: +"One reporting level. Most economies publish national figures only; China publishes all three for the same year; some publish urban or rural figures in some years, where fill_gaps true adds PIP's national estimate if it has one. Argentina is urban only, so \"national\" leaves it out."
changedInput schema / properties / welfare_type / anyOf
Previous value: -[
- {
- "const": "",
- "type": "string"
- },
- {
- "description": "Restrict to surveys measuring income, or to those measuring consumption.",
- "enum": [
- "income",
- "consumption"
- ],
- "type": "string"
- }
-]New value: +[
+ {
+ "const": "",
+ "type": "string"
+ },
+ {
+ "description": "Income or consumption surveys.",
+ "enum": [
+ "income",
+ "consumption"
+ ],
+ "type": "string"
+ }
+]
changedInput schema / properties / welfare_type / description
Previous value: -"Restrict results to one welfare measure. Surveys measure either income or consumption and the two are not directly comparable, so a cross-country comparison is safer pinned to one. Omitted returns whichever measure each economy publishes, with a row for each measure in a year surveyed both ways; PIP's gap-filled estimates use one measure per year."New value: +"One welfare measure. Income and consumption are not directly comparable, so pin one for a cross-country comparison. Omitted, each economy's published measure, with a row per measure in a year surveyed both ways; gap-filled estimates use one measure per year."
changedInput schema / properties / year / description
Previous value: -"Reporting year to return. A four-digit year (2022), \"all\" for the full history, or \"MRV\" for the most recent year. Omitted behaves as \"all\". MRV follows fill_gaps: with fill_gaps true each economy resolves to PIP's latest estimate year, and with fill_gaps false to its latest survey year; an aggregate resolves to its newest reporting year. PIP coverage starts in 1963 and ends at the last year of the data release in use; a year outside that span fails with the span named."New value: +"A four-digit reporting year, \"all\" (the default) for the full history, or \"MRV\" for the latest: per economy, PIP's latest estimate year with fill_gaps true or its latest survey year with fill_gaps false; an aggregate's newest year. Coverage runs from 1963 to the last year of PIP's data release."
changedOutput schema / properties / appliedFilters / description
Previous value: -"The effective parameters sent to PIP — confirms country code normalization and which filters were in force for these estimates."New value: +"The query as sent to PIP; a filter not applied is omitted."
changedOutput schema / properties / appliedFilters / properties / countries / description
Previous value: -"Codes as queried, comma-joined across economies and aggregates: uppercased and deduplicated, two-character codes resolved to their three-character form (NG → NGA), and WDI group spellings read as PIP's (LMC → LMIC, IDB → BLND, IBD → IBRD). PIP's IDA-only group stays IDX, since IDA means IDA total. Every code here can be sent back as countries and asks for the same economy or group."New value: +"Codes as queried, comma-joined: uppercased, deduplicated, ISO2 resolved to three characters (NG → NGA), and WDI group spellings read as PIP's (LMC → LMIC, IDB → BLND, IBD → IBRD). Each can be sent back as countries."
changedOutput schema / properties / appliedFilters / properties / fillGaps / description
Previous value: -"Whether gap-filling was permitted for this query, including the server default of true."New value: +"Whether gap-filling was on."
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 / povertyLine / description
Previous value: -"Poverty line requested, omitted when the upstream default was used — in which case the applied value is on every row as povertyLine."New value: +"Poverty line as sent."
changedOutput schema / properties / appliedFilters / properties / pppVersion / description
Previous value: -"PPP vintage every dollar figure in these estimates is expressed in, whether requested or resolved as the newest vintage of the release."New value: +"PPP vintage of every dollar figure."
changedOutput schema / properties / appliedFilters / properties / releaseVersion / description
Previous value: -"PIP data release the estimates come from, as its YYYYMMDD stamp — the newest release PIP lists. Survey and gap-filled rows share it."New value: +"PIP data release (YYYYMMDD), the newest PIP lists."
changedOutput schema / properties / appliedFilters / properties / reportingLevel / description
Previous value: -"Reporting-level filter applied, omitted when none."New value: +"Reporting level applied."
changedOutput schema / properties / appliedFilters / properties / requestedPerPage / description
Previous value: -"Page size asked for, requested or server default, 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 / welfareType / description
Previous value: -"Welfare-type filter applied, omitted when none."New value: +"Welfare type applied."
changedOutput schema / properties / appliedFilters / properties / year / description
Previous value: -"Year filter applied, omitted when none was requested."New value: +"Year applied."
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 / error / properties / data / properties / reason / description
Previous value: -"Machine-readable failure mode. Declared by this tool: `country_not_found`: No economy or aggregate PIP publishes goes by one or more of the codes, including a two-character code the World Bank country listing does not carry. `ambiguous_aggregate`: IDA or its ISO2 code XG names WDI's IDA total, which PIP does not compute. `unserved_aggregate`: An aggregate code this tool does not serve: WDI's FCS, a PovcalNet grouping from PIP's regions table (SSA, EAP), or a WDI income aggregate PIP computes none for (MIC, LMY). `aggregate_filter_conflict`: welfare_type or reporting_level was set alongside an aggregate code. `invalid_parameter`: PIP rejected the value supplied for a query parameter other than country. `ppp_version_unavailable`: ppp_version names a PPP vintage PIP's current data release is not published at. `upstream_unavailable`: PIP answered with a server error, or the World Bank Indicators API country listing that resolves an ISO2 code could not be loaded. Other values are possible when a failure originates below the handler."New value: +"Machine-readable failure mode. Declared by this tool: `country_not_found`: A code names no economy or aggregate PIP publishes. `ambiguous_aggregate`: IDA or XG asks for WDI's IDA total, which PIP does not compute. `unserved_aggregate`: An aggregate code this tool does not serve, such as FCS, SSA, or MIC. `aggregate_filter_conflict`: welfare_type or reporting_level is set with an aggregate code. `invalid_parameter`: PIP rejected a parameter value. `ppp_version_unavailable`: ppp_version is not a vintage PIP's current release is published at. `upstream_unavailable`: PIP returned a server error, or the country listing that resolves ISO2 codes did not load. `upstream_timeout`: The call's 50-second budget ran out before PIP or the ISO2 country listing answered, or a PIP request ran past its 90-second bound. Other values are possible when a failure originates below the handler."
changedOutput schema / properties / error / properties / data / properties / reason / examples
Previous value: -[
- "country_not_found",
- "ambiguous_aggregate",
- "unserved_aggregate",
- "aggregate_filter_conflict",
- "invalid_parameter",
- "ppp_version_unavailable",
- "upstream_unavailable"
-]New value: +[
+ "country_not_found",
+ "ambiguous_aggregate",
+ "unserved_aggregate",
+ "aggregate_filter_conflict",
+ "invalid_parameter",
+ "ppp_version_unavailable",
+ "upstream_unavailable",
+ "upstream_timeout"
+]
changedOutput schema / properties / estimates / description
Previous value: -"Poverty and inequality estimates for this page — economies and aggregates in one list, ordered by code, year, reporting level, then welfare type."New value: +"Estimates on this page, ordered by code, year, reporting level, then welfare type."
changedOutput schema / properties / estimates / items / description
Previous value: -"One economy × year × reporting-level × welfare-type estimate, or one aggregate × year."New value: +"An economy × year × reporting level × welfare type estimate, or an aggregate × year."
changedOutput schema / properties / estimates / items / properties / comparableSpell / description
Previous value: -"The span of years the comparable series behind this row covers, as PIP labels it (\"2022\", \"2011 - 2022\"). Null on gap-filled rows."New value: +"Years the comparable series covers, as PIP labels it (\"2011 - 2022\")."
changedOutput schema / properties / estimates / items / properties / countryCode / description
Previous value: -"ISO3 code of the economy, or the aggregate code (SSF, LIC, WLD) on an aggregate row — IDX for PIP's IDA-only group. Accepted back as countries."New value: +"Economy ISO3 code, or the aggregate code (IDX for IDA only); accepted back as countries."
changedOutput schema / properties / estimates / items / properties / countryName / description
Previous value: -"Economy or aggregate name — \"IDA only\" for IDX, as WDI names it."New value: +"Economy or aggregate name."
changedOutput schema / properties / estimates / items / properties / decileShares / description
Previous value: -"Share of total income or consumption held by each decile, poorest first, summing to 1. Null on gap-filled rows."New value: +"Each decile's share of income or consumption, poorest first, summing to 1."
changedOutput schema / properties / estimates / items / properties / distributionType / description
Previous value: -"PIP distribution classification, such as micro, group, or imputed. Null when PIP publishes none."New value: +"Distribution classification: micro, group, or imputed; null when none is published."
changedOutput schema / properties / estimates / items / properties / estimateType / description
Previous value: -"PIP estimate classification: actual, nowcast, or projection. Null when PIP publishes none; independent of estimationType."New value: +"Estimate classification: actual, nowcast, or projection; null when none is published. Independent of estimationType."
changedOutput schema / properties / estimates / items / properties / estimationType / description
Previous value: -"How the row was produced. On an economy: \"survey\" carries the full inequality block; \"interpolation\", \"extrapolation\", and \"CMD estimation\" are gap-filled and carry none, the last being what PIP publishes for economies it has no survey for at all. On an aggregate: \"actual\", \"nowcast\", or \"projection\"."New value: +"How the row was produced. Economy rows: \"survey\", or gap-filled \"interpolation\", \"extrapolation\", or \"CMD estimation\" (no survey at all), whose gini, mld, polarization, decileShares, surveyYear, surveyComparability, and comparableSpell are null. Aggregate rows: \"actual\", \"nowcast\", or \"projection\"."
changedOutput schema / properties / estimates / items / properties / gini / description
Previous value: -"Gini coefficient of the welfare distribution, 0 (perfect equality) to 1. Null on gap-filled rows — see estimationType."New value: +"Gini coefficient, 0 (equality) to 1."
changedOutput schema / properties / estimates / items / properties / headcount / description
Previous value: -"Share of the population below the poverty line, as a fraction (0.0814 = 8.14%)."New value: +"Share of the population below the line, as a fraction (0.0814 = 8.14%)."
changedOutput schema / properties / estimates / items / properties / isAggregate / description
Previous value: -"True on a PIP aggregate — World, a region, an income group, a lending group, or a fragility group — whose median, distributional block, survey fields, welfareType, and reportingLevel are null."New value: +"True on a PIP aggregate row, whose regionCode, regionName, reportingLevel, welfareType, median, gini, mld, polarization, decileShares, surveyYear, surveyComparability, comparableSpell, and isInterpolated are null and surveyAcronym is empty."
changedOutput schema / properties / estimates / items / properties / isInterpolated / description
Previous value: -"True on the interpolated and extrapolated rows. Read estimationType instead of relying on this alone — a \"CMD estimation\" row is also gap-filled but reports false here. Null on aggregate rows."New value: +"True on interpolated and extrapolated rows but false on a gap-filled \"CMD estimation\" row, so read estimationType."
changedOutput schema / properties / estimates / items / properties / median / description
Previous value: -"Median daily welfare per person in PPP dollars. Null on aggregate rows, which PIP publishes without one."New value: +"Median daily welfare per person in PPP dollars."
changedOutput schema / properties / estimates / items / properties / mld / description
Previous value: -"Mean log deviation, an inequality measure. Null on gap-filled rows."New value: +"Mean log deviation."
changedOutput schema / properties / estimates / items / properties / polarization / description
Previous value: -"Wolfson polarization index. Null on gap-filled rows."New value: +"Wolfson polarization index."
changedOutput schema / properties / estimates / items / properties / popInPoverty / description
Previous value: -"Number of people below the poverty line, as PIP publishes it on aggregate rows. Null on economy rows, where population × headcount gives it."New value: +"People below the line, published on aggregate rows; null on economy rows, where population × headcount gives it."
changedOutput schema / properties / estimates / items / properties / population / description
Previous value: -"Population the estimate covers — multiply by headcount for the number of people below the line."New value: +"Population the estimate covers."
changedOutput schema / properties / estimates / items / properties / povertyGap / description
Previous value: -"Mean shortfall below the poverty line across the whole population, as a fraction of the line — depth of poverty, not just its incidence."New value: +"Mean shortfall below the line across the population, as a fraction of the line."
changedOutput schema / properties / estimates / items / properties / povertyLine / description
Previous value: -"Poverty line the poverty measures were computed at, in PPP dollars per person per day, as applied upstream."New value: +"Poverty line applied, in PPP dollars per person per day."
changedOutput schema / properties / estimates / items / properties / povertySeverity / description
Previous value: -"Squared poverty gap, weighting the poorest most heavily — inequality among those below the line."New value: +"Squared poverty gap, weighting the poorest most."
changedOutput schema / properties / estimates / items / properties / regionCode / description
Previous value: -"PIP region code of the economy (e.g. SAS, NAC, SSF); null on an aggregate row."New value: +"PIP region code, such as SAS."
changedOutput schema / properties / estimates / items / properties / regionName / description
Previous value: -"PIP region name of the economy; null on an aggregate row."New value: +"PIP region name."
changedOutput schema / properties / estimates / items / properties / reportingLevel / description
Previous value: -"Coverage of this estimate: national, urban, or rural. Null on an aggregate row."New value: +"Coverage: national, urban, or rural."
changedOutput schema / properties / estimates / items / properties / reportingYear / description
Previous value: -"Calendar year the estimate reports on."New value: +"Year the estimate reports on."
changedOutput schema / properties / estimates / items / properties / surveyAcronym / description
Previous value: -"Short name of the underlying survey (empty on gap-filled rows and where PIP publishes none)."New value: +"Survey short name; empty on gap-filled rows and where none is published."
changedOutput schema / properties / estimates / items / properties / surveyComparability / description
Previous value: -"PIP's series comparability code within the economy: 0 is its oldest comparable series and the code steps up each time comparability breaks, so two survey rows of one economy compare over time only when they share it. Null on gap-filled rows."New value: +"Comparability code within the economy, 0 for its oldest series and stepping up at each break; two survey rows compare over time only when they share it."
changedOutput schema / properties / estimates / items / properties / surveyYear / description
Previous value: -"Year of the survey behind the estimate, fractional when the survey spans a fiscal year (2022.58). Null on gap-filled rows, which trace to no single survey."New value: +"Survey year, fractional when the survey spans a fiscal year (2022.58)."
changedOutput schema / properties / estimates / items / properties / watts / description
Previous value: -"Watts index, a distribution-sensitive measure."New value: +"Watts poverty index."
changedOutput schema / properties / estimates / items / properties / welfareType / description
Previous value: -"Whether the underlying survey measures income or consumption. The two are not directly comparable across economies. Null on an aggregate row, which spans both."New value: +"Welfare measure: income or consumption."
changedOutput schema / properties / notice / description
Previous value: -"Context for an empty result set, for a page past the end of the results, for a page size reduced to the page cap, for a result carrying gap-filled or aggregate rows with no inequality data, for survey rows returned without the gap-filled estimates PIP failed to serve, and for economies fill_gaps false left out."New value: +"Explains an empty result, a page past the end, a reduced page size, gap-filled or aggregate rows, gap-filled estimates PIP failed to return, or economies fill_gaps false left out."
changedOutput schema / properties / totalCount / description
Previous value: -"Total estimates before pagination."New value: +"Matching estimates before pagination."
changedOutput schema / properties / totalPages / description
Previous value: -"Total number of pages."New value: +"Total pages at perPage."