Geo-Parity Food Cost.json API

The Food Cost.json API from Geo-Parity — 1 operation(s) for food cost.json.

GitHub OpenAPI

Operations 1

GET /api/food-cost.json Measured cost of a healthy diet (World Bank), per country or ranked, and the… #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/geo-parity-com:geo-parity-com-food-cost-json-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

geo-parity-com-food-cost-json-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Geo-Parity Food Cost.json API
  version: 1.0.0
  description: 'Free, key-less JSON APIs behind geo-parity.com: purchasing power parity, fair global salaries, Schengen 90/180 compliance, cross-timezone meetings, contractor economics, freelance rates, tax-residency day counts, country comparison, cloud region latency, and a digital-nomad visa directory. All GET responses are cacheable; errors return { ok:false, code, message, example }. No key is required: anonymous callers get 1,500 requests/month per IP plus a 30/minute burst cap. An optional API key (Authorization: Bearer gp_live_..., created at /account) only raises those ceilings — responses are identical either way, and a key is metered per account rather than per key. Every response carries X-RateLimit-Limit / -Remaining / -Reset (the minute window) and X-Quota-Limit / -Remaining / -Reset (the calendar month, resetting on the 1st UTC); exceeding either returns 429 with Retry-After and code RATE_LIMITED (slow down) or QUOTA_EXCEEDED (allowance spent — retrying will not help). Figures are informational estimates, not financial/tax/legal advice. Machine discovery: /llms.txt and /.well-known/mcp.json; the same tools are also registered with the browser''s WebMCP ModelContext on every page, executing through /api/mcp.'
  contact:
    url: https://geo-parity.com
servers:
- url: https://geo-parity.com
security:
- {}
- bearerAuth: []
- apiKeyQuery: []
tags:
- name: Food Cost.json
paths:
  /api/food-cost.json:
    get:
      operationId: compareFoodCost
      summary: Measured cost of a healthy diet (World Bank), per country or ranked, and the…
      description: '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.'
      parameters:
      - name: country
        in: query
        schema:
          type: string
        description: One ISO alpha-2 code
      - name: countries
        in: query
        schema:
          type: string
        description: Comma-separated ISO alpha-2 codes, two or more
      - name: metric
        in: query
        schema:
          type: string
          enum:
          - dailyUsd
          - unaffordablePct
        description: Ranking metric (default dailyUsd)
      - name: sort
        in: query
        schema:
          type: string
          enum:
          - lowest
          - highest
        description: Default lowest
      - name: limit
        in: query
        schema:
          type: number
          minimum: 1
        description: Maximum countries
      responses:
        '200':
          description: One country, comparison rows, or ranked rows with modelErrorSummary; attribution names the World Bank series and the FX table
        '400':
          description: A bad metric or sort (INVALID_PARAM) or fewer than two countries (TOO_FEW)
        '422':
          description: A country outside the spine (UNKNOWN_COUNTRY) or with no World Bank survey (NO_DATA)
      tags:
      - Food Cost.json
components:
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      description: Optional Geo-Parity API key (gp_live_...), created at /account. Raises the monthly quota and per-minute burst; never changes a response. Metered per account, so extra keys do not add allowance.
    apiKeyQuery:
      type: apiKey
      in: query
      name: key
      description: The same key, for clients that cannot set headers.
externalDocs:
  description: 'Developer guide: quota ladder, error codes, API keys and MCP setup'
  url: https://geo-parity.com/developers/