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.
openapi: 3.2.0
info:
title: Geo-Parity Climate.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: Climate.json
paths:
/api/climate.json:
get:
operationId: compareClimate
summary: Climate normals and comfortable days, by city or ranked
description: Monthly normals from ERA5 reanalysis (2015-2024) via Open-Meteo. `city` or `country` returns one place's twelve months; otherwise cities are ranked by comfortable days for a `month` or across the year. The comfort band (max 18-27 C, under 1 mm rain) is a stated preference and is temperate-biased; mean maximum and rainfall are returned alongside so callers can rank on those instead.
parameters:
- name: city
in: query
schema:
type: string
description: City slug, e.g. lisbon
- name: country
in: query
schema:
type: string
description: ISO alpha-2; answers via the representative city
- name: month
in: query
schema:
type: number
minimum: 1
maximum: 12
description: Rank a single month; omit for the whole year
- name: minComfortDays
in: query
schema:
type: number
minimum: 0
description: Minimum comfortable days in the ranked window
- name: limit
in: query
schema:
type: number
minimum: 1
description: Maximum cities returned
responses:
'200':
description: City normals or a ranking, with an attribution block
'400':
description: month outside 1-12 (code INVALID_MONTH)
'422':
description: No climate data for that city or country
tags:
- Climate.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/