Measured cost of a healthy diet (World Bank), per country or ranked, and the grocery model’s error

World Bank Food Prices for Nutrition: the cheapest locally available healthy diet, per person per day, in local currency and USD, with the share who cannot afford it and the food-group split. Also how far this site’s modelled grocery prices are from it (modelError, and modelErrorSummary on a ranking). A least-cost diet, not typical spending; display only. Dollar figures are withheld where a local figure does not convert consistently. For information only; every response says so first.

get/api/food-cost.json

Request

  • Base URL: https://geo-parity.com
  • URL: https://geo-parity.com/api/food-cost.json
  • Auth: one of:
    • none
    • HTTP bearer
    • API key in query parameter key

Query parameters

countrystring

One ISO alpha-2 code

countriesstring

Comma-separated ISO alpha-2 codes, two or more

metric'dailyUsd' | 'unaffordablePct'

Ranking metric (default dailyUsd)

sort'lowest' | 'highest'

Default lowest

limitnumber

Maximum countries

Response

One country, comparison rows, or ranked rows with modelErrorSummary; attribution names the World Bank series and the FX table

Changes

No recorded changes to this operation across all 1 revision of this API.