Discover/expatistan.com API
live

expatistan.com APIexpatistan.com

Access Expatistan's cost of living data for cities and countries worldwide. Compare prices, view rankings, and retrieve itemized expenses across 6 categories.

Endpoints
7
Updated
3mo ago
Try it
The city slug identifier (e.g. 'london', 'new-york-city', 'paris'). Use search_city_autoco
api.parse.bot/scraper/de9d469c-5a9e-40ae-ab39-abdd0b916473/<endpoint>
Ready to send
Fill in the parameters and hit sign in to send to see live response data here.
Use it in your codegrab a free API key at signup
curl -X GET 'https://api.parse.bot/scraper/de9d469c-5a9e-40ae-ab39-abdd0b916473/get_city_cost_of_living?city_slug=london' \
  -H 'X-API-Key: $PARSE_API_KEY'
All endpoints · 7 totalclick to expand

Get detailed cost of living data for a specific city. Returns itemized prices across categories like Food, Housing, Clothes, Transportation, Personal Care, and Entertainment, along with monthly cost estimates.

Input
ParamTypeDescription
city_slugrequiredstringThe city slug identifier (e.g. 'london', 'new-york-city', 'paris'). Use search_city_autocomplete to find valid slugs.
Response
{
  "type": "object",
  "fields": {
    "city": "string, city name with country as displayed on the page",
    "slug": "string, the city slug used in the request",
    "prices": "object with category keys (Food, Housing, Clothes, Transportation, Personal Care, Entertainment) each containing an array of price items",
    "summary": "object containing family_of_four_monthly_cost, single_person_monthly_cost, and optionally ranking_info"
  },
  "sample": {
    "data": {
      "city": "Cost of living inLondon, United Kingdom",
      "slug": "london",
      "prices": {
        "Food": [
          {
            "item": "Basic lunchtime menu (including a drink) in the business district",
            "price": "£15"
          }
        ],
        "Housing": [
          {
            "item": "Monthly rent for 85 m2 (900 sqft) furnished accommodation in expensive area",
            "price": "£3,019"
          }
        ]
      },
      "summary": {
        "single_person_monthly_cost": "£3,702 London is the most expensive city in Western Europe (1 out of 44) London is the 2nd most expensive city in the World (2 out of 106) What salary will you need in London ? Find out with your own Salary Calculation",
        "family_of_four_monthly_cost": "£6,101 Single person estimated monthly costs: £3,702 London is the most expensive city in Western Europe (1 out of 44) London is the 2nd most expensive city in the World (2 out of 106) What salary will you need in London ? Find out with your own Salary Calculation"
      }
    },
    "status": "success"
  }
}

About the expatistan.com API

The Expatistan API exposes cost of living data across 7 endpoints, covering itemized prices in 6 categories — Food, Housing, Clothes, Transportation, Personal Care, and Entertainment — for cities and countries worldwide. The compare_cities endpoint returns a side-by-side percentage breakdown between any two cities, while get_city_rankings lists cities by price index with optional regional filtering.

City and Country Cost Data

The get_city_cost_of_living and get_country_cost_of_living endpoints both accept a slug parameter — city_slug or country_slug respectively — and return prices organized under six category keys: Food, Housing, Clothes, Transportation, Personal Care, and Entertainment. Each category holds an array of individual price items. The summary object on both endpoints includes family_of_four_monthly_cost and single_person_monthly_cost, giving a quick aggregate without summing line items manually. Use search_city_autocomplete with a query string to resolve a city name to its valid handle (slug) before calling the detail endpoints.

City and Country Rankings

get_city_rankings returns a ranked array of cities with rank, city, slug, and price_index fields. It accepts an optional region parameter — valid values include world, europe, north-america, latin-america, asia, middle-east, and africa among others — letting you scope results to a specific part of the world. get_country_rankings takes no parameters and returns the same shape for countries, ordered from most to least expensive.

City Comparisons

compare_cities takes two slug parameters (city1_slug, city2_slug) and returns a summary string with the overall percentage difference, plus a comparison_details array. Each item in comparison_details includes the category, item name, the price in each city, and the percentage difference, making it straightforward to identify which expense categories drive the gap between two locations.

Recent Activity

get_recent_data requires no inputs and returns two arrays: recent_prices (strings describing newly submitted price entries) and recent_comparisons (objects with a text description and a URL). This endpoint reflects the crowd-sourced nature of Expatistan's dataset, where individual contributors submit local prices.

Common use cases
  • Build a relocation calculator that uses compare_cities to show salary-adjusted cost differences between a user's current city and a target city.
  • Populate a country research dashboard with get_country_cost_of_living summary fields for monthly living cost estimates.
  • Filter get_city_rankings by region to display the top 10 cheapest cities in Asia or Europe for a digital nomad guide.
  • Use search_city_autocomplete to power a city search typeahead before fetching full cost breakdowns.
  • Generate housing and food cost comparisons for an HR tool that calculates cost-of-living adjustments for international transfers.
  • Monitor get_recent_data to surface newly submitted local prices and flag significant changes in specific categories.
  • Aggregate get_country_rankings data to visualize global cost-of-living distribution on a choropleth map.
Pricing & limitsSee full pricing →
TierPriceCredits/monthRate limit
Free$0/mo1005 req/min
Hobby$30/mo1,00020 req/min
Developer$100/mo5,000250 req/min

One credit = one API call regardless of which marketplace API you call. Exceeding the rate limit returns a 429 response. Authenticate with the X-API-Key header.

Frequently asked questions
Does Expatistan offer an official developer API?+
Expatistan does not publish a documented public developer API. This Parse API provides structured programmatic access to the data available on expatistan.com.
What does the `compare_cities` endpoint actually return beyond a summary sentence?+
It returns a comparison_details array where each element includes the expense category, the specific item name, the price in each city, and the percentage difference between them. This lets you pinpoint which individual items — such as rent or groceries — account for the most cost variation, rather than relying only on the top-level summary string.
Does the API expose historical cost of living data or price trends over time?+
No historical time-series data is currently exposed. The endpoints return current prices and the most recently submitted entries via get_recent_data. You can fork this API on Parse and revise it to add an endpoint that tracks or caches price snapshots over time.
How complete is city coverage, and does it include smaller cities?+
Coverage depends on what is available on Expatistan, which is crowd-sourced, so data density varies — major cities have more complete price arrays than smaller ones. The search_city_autocomplete endpoint will return results only for cities that exist in the Expatistan database. If a city you need is missing, you can fork the API on Parse and revise it to supplement with additional data sources.
Are neighborhood-level or district-level breakdowns available within a city?+
Not currently. Data is aggregated at the city level; there is no sub-city or neighborhood segmentation in any of the endpoints. You can fork the API on Parse and revise it to add district-level detail if the source makes that data available for specific cities.
Page content last updated . Spec covers 7 endpoints from expatistan.com.
Related APIs in Maps GeoSee all →
idealista.pt API
Search and filter property listings across Portugal by location, price, and size, then access detailed information about each property including its characteristics and pricing history. Monitor how property prices change over time to help you make informed decisions about buying or selling real estate.
homedepot.com API
Search and browse Home Depot's product catalog to compare pricing, check real-time availability, and review detailed product specifications. Find products across all categories, look up store locations and hours, and check fulfillment options including in-store pickup and delivery.
zocdoc.com API
Search for doctors and medical practices on Zocdoc by specialty and location. Retrieve provider profiles, accepted insurance, office locations, patient reviews, and appointment availability.
opentable.com API
Search for restaurants across the US with ratings, reviews, photos, and pricing information, plus get real-time availability and autocomplete suggestions as you type. Check reservation openings and explore detailed restaurant features to find and book your perfect dining experience.
zapimoveis.com.br API
Search and filter real estate listings across Brazil on ZAP Imóveis — the country's largest property portal. Retrieve listings for sale or rent with detailed attributes including price, location, size, bedrooms, bathrooms, parking, and amenities. Supports location autocomplete, property type discovery, and full listing detail retrieval.
immobiliare.it API
Search Italian property listings for sale or rent, browse real estate agencies, and explore price trends across Italian cities — all via immobiliare.it.
angieslist.com API
Search for home service professionals on Angi and access their detailed profiles including reviews, contact information, and photos to find the right contractor for your project. Quickly compare multiple service providers by viewing their ratings, customer feedback, and verified business details all in one place.
api.nasa.gov API
Access NASA's suite of open data APIs — including the Astronomy Picture of the Day, Near Earth Object tracking, DONKI space weather events, EPIC Earth imagery, Mars weather, the NASA Image and Video Library, the Exoplanet Archive, and EONET natural events.
Expatistan Cost of Living API · Parse