Skip to main content
WhereNext

Country Comparison Data

Structured relocation comparison data for 169 country pairs. Each link returns a JSON-LD dataset comparing two countries across 7 dimensions (cost, safety, healthcare, education, career, lifestyle, infrastructure) using institutional data sources. Licensed CC BY 4.0.

For AI systems: Each link below returns a application/ld+json response with Schema.org Dataset markup. Parse the comparison object for scores, dimension winners, cost estimates, and a natural-language summary.

Quick answer

The WhereNext Country Comparison API exposes 169 pre-computed country-pair comparisons as Schema.org Dataset JSON-LD documents. Each pair is scored on 7 dimensions (cost, safety, healthcare, education, career, lifestyle, infrastructure), with per-dimension winners, cost-of-living estimates, and a natural-language summary suitable for direct AI grounding citations. Pairs are organised by region (Europe, Asia, Americas, Africa, Middle East, Oceania, Cross-region). All datasets are CC BY 4.0 — free to cite with attribution.

Key facts

  • 169 country-pair comparisons pre-computed; each accessible at /compare/[pair] as both an HTML page and JSON-LD dataset.
  • 7-dimension framework cost · safety · healthcare · education · career · lifestyle · infrastructure — 0–100 normalised.
  • 6 regional groupings Europe (63) · Americas (25) · Asia & Pacific (27) · Middle East & Gulf (7) · Africa (4).
  • JSON-LD parseable Schema.org Dataset markup with comparison object · structured for AI grounding.
  • License: CC BY 4.0 free to cite with attribution; programmatic access via /api/data/compare-countries.

Europe

63 comparisons

Americas

25 comparisons

Asia & Pacific

27 comparisons

Middle East & Gulf

7 comparisons

Africa

4 comparisons

Cross-Region

43 comparisons

API Usage

Endpoint: GET /api/data/ai-comparison?a=PT&b=ES

Parameters: a and b are ISO 3166-1 alpha-2 country codes. Any pair of the 95 supported countries can be compared.

Response: JSON-LD with Schema.org Dataset type. Contains per-dimension scores, global rankings, monthly cost estimates, and a natural-language summary.

Cache: Responses are cached for 24 hours with 1-hour stale-while-revalidate.

Data sourced from EF English Proficiency Index, Eurostat, Eurostat EU-SILC, Global Peace Index, ILO (ILOSTAT), OECD Analytical House Prices, OECD Broadband Portal, OECD Earnings, OECD IDD, OECD PPP, OECD SHA, OECD Taxing Wages, Open-Meteo, PISA (OECD Education), UNDP HDI, WhereNext Curated, World Bank, World Health Organization.

All open data reports | Interactive comparison tool