{"Version":1,"Status":200,"Success":true,"Country Name":"United States","Meal, Inexpensive Restaurant":"20.00\u00a0$","Meal for 2 People, Mid-range Restaurant, Three-course":"78.00\u00a0$","McMeal at McDonalds (or Equivalent Combo Meal)":"12.00\u00a0$","Domestic Beer (1 pint draught)":"6.00\u00a0$","Imported Beer (12 oz small bottle)":"3.61\u00a0$","Cappuccino (regular)":"5.30\u00a0$","Coke\/Pepsi (12 oz small bottle)":"2.59\u00a0$","Water (12 oz small bottle)":"2.10\u00a0$","Milk (regular), (1 gallon)":"4.03\u00a0$","Loaf of Fresh White Bread (1 lb)":"3.32\u00a0$","Rice (white), (1 lb)":"2.08\u00a0$","Eggs (regular) (12)":"4.41\u00a0$","Local Cheese (1 lb)":"5.91\u00a0$","Chicken Fillets (1 lb)":"5.56\u00a0$","Beef Round (1 lb) (or Equivalent Back Leg Red Meat)":"7.48\u00a0$","Apples (1 lb)":"2.38\u00a0$","Banana (1 lb)":"0.76\u00a0$","Oranges (1 lb)":"2.03\u00a0$","Tomato (1 lb)":"2.22\u00a0$","Potato (1 lb)":"1.32\u00a0$","Onion (1 lb)":"1.39\u00a0$","Lettuce (1 head)":"2.21\u00a0$","Water (1.5 liter bottle)":"2.25\u00a0$","Bottle of Wine (Mid-Range)":"15.00\u00a0$","Domestic Beer (0.5 liter bottle)":"2.01\u00a0$","Cigarettes 20 Pack (Marlboro)":"10.00\u00a0$","One-way Ticket (Local Transport)":"2.50\u00a0$","Monthly Pass (Regular Price)":"65.00\u00a0$","Taxi Start (Normal Tariff)":"3.55\u00a0$","Taxi 1 mile (Normal Tariff)":"2.80\u00a0$","Taxi 1hour Waiting (Normal Tariff)":"30.00\u00a0$","Gasoline (1 gallon)":"3.39\u00a0$","Volkswagen Golf 1.4 90 KW Trendline (Or Equivalent New Car)":"34,501.73\u00a0$","Toyota Corolla Sedan 1.6l 97kW Comfort (Or Equivalent New Car)":"26,061.57\u00a0$","Basic (Electricity, Heating, Cooling, Water, Garbage) for 915 sq ft Apartment":"210.13\u00a0$","Mobile Phone Monthly Plan with Calls and 10GB+ Data":"60.54\u00a0$","Internet (60 Mbps or More, Unlimited Data, Cable\/ADSL)":"72.33\u00a0$","Fitness Club, Monthly Fee for 1 Adult":"45.73\u00a0$","Tennis Court Rent (1 Hour on Weekend)":"21.89\u00a0$","Cinema, International Release, 1 Seat":"15.00\u00a0$","Preschool (or Kindergarten), Full Day, Private, Monthly for 1 Child":"1,366.88\u00a0$","International Primary School, Yearly for 1 Child":"23,152.86\u00a0$","1 Pair of Jeans (Levis 501 Or Similar)":"52.37\u00a0$","1 Summer Dress in a Chain Store (Zara, H&M, ...)":"42.80\u00a0$","1 Pair of Nike Running Shoes (Mid-Range)":"90.64\u00a0$","1 Pair of Men Leather Business Shoes":"113.57\u00a0$","Apartment (1 bedroom) in City Centre":"1,729.16\u00a0$","Apartment (1 bedroom) Outside of Centre":"1,426.57\u00a0$","Apartment (3 bedrooms) in City Centre":"2,855.76\u00a0$","Apartment (3 bedrooms) Outside of Centre":"2,381.86\u00a0$","Price per Square Feet to Buy Apartment in City Centre":"300.83\u00a0$","Price per Square Feet to Buy Apartment Outside of Centre":"252.75\u00a0$","Average Monthly Net Salary (After Tax)":"4,320.84\u00a0$","Mortgage Interest Rate in Percentages (%), Yearly, for 20 Years Fixed-Rate":"6.47"}
curl --location --request GET 'https://zylalabs.com/api/226/cities+cost+of+living+and+average+prices+api/3774/cost+of+living+by+country+v2?country=united states' --header 'Authorization: Bearer YOUR_API_KEY'
{"Version":1,"Status":200,"Success":true,"City Name":"seattle-wa","Meal at an Inexpensive Restaurant":"$25.00","Meal for Two at a Mid-Range Restaurant (Three Courses, Without Drinks)":"$100.00","Combo Meal at McDonald's (or Equivalent Fast-Food Meal)":"$15.00","Domestic Draft Beer (0.5 Liter)":"$8.00","Imported Beer (0.33 Liter Bottle)":"$5.10","Cappuccino (Regular Size)":"$6.38","Soft Drink (Coca-Cola or Pepsi, 0.33 Liter Bottle)":"$2.95","Bottled Water (0.33 Liter)":"$2.69","Milk (Regular, 1 Liter)":"$1.23","Fresh White Bread (500 g Loaf)":"$5.20","White Rice (1 kg)":"$6.22","Eggs (12, Large Size)":"$5.51","Local Cheese (1 kg)":"$21.31","Chicken Fillets (1 kg)":"$18.40","Beef Round or Equivalent Back Leg Red Meat (1 kg)":"$22.79","Apples (1 kg)":"$6.06","Bananas (1 kg)":"$1.91","Oranges (1 kg)":"$5.39","Tomatoes (1 kg)":"$6.48","Potatoes (1 kg)":"$3.56","Onions (1 kg)":"$3.34","Lettuce (1 Head)":"$2.86","Bottled Water (1.5 Liter)":"$2.60","Bottle of Wine (Mid-Range)":"$15.50","Domestic Beer (0.5 Liter Bottle)":"$3.89","Cigarettes (Pack of 20, Marlboro)":"$13.50","One-Way Ticket (Local Transport)":"$3.00","Monthly Public Transport Pass (Regular Price)":"$108.00","Taxi Start (Standard Tariff)":"$2.60","Taxi 1 km (Standard Tariff)":"$1.69","Taxi 1 Hour Waiting (Standard Tariff)":"$30.00","Gasoline (1 Liter)":"$1.36","Volkswagen Golf 1.5 (or Equivalent New Compact Car)":"$36,318.00","Toyota Corolla Sedan 1.6 (or Equivalent New Mid-Size Car)":"$25,554.70","Basic Utilities for 85 m2 Apartment (Electricity, Heating, Cooling, Water, Garbage)":"$296.90","Mobile Phone Plan (Monthly, with Calls and 10GB+ Data)":"$69.38","Broadband Internet (Unlimited Data, 60 Mbps or Higher)":"$80.22","Monthly Fitness Club Membership":"$80.80","Tennis Court Rental (1 Hour, Weekend)":"$35.00","Cinema Ticket (International Release)":"$18.00","Private Full-Day Preschool or Kindergarten, Monthly Fee per Child":"$3,011.27","International Primary School, Annual Tuition per Child":"$30,201.50","Jeans (Levi's 501 or Similar)":"$79.22","Summer Dress in a Chain Store (e.g. Zara or H&M)":"$53.97","Nike Running Shoes (Mid-Range)":"$127.75","Men's Leather Business Shoes":"$157.08","1 Bedroom Apartment in City Centre":"$2,427.67","1 Bedroom Apartment Outside of City Centre":"$1,915.80","3 Bedroom Apartment in City Centre":"$4,768.75","3 Bedroom Apartment Outside of City Centre":"$3,528.12","Price per Square Meter to Buy Apartment in City Centre":"$7,635.98","Price per Square Meter to Buy Apartment Outside of Centre":"$5,036.35","Average Monthly Net Salary (After Tax)":"$6,574.11","Annual Mortgage Interest Rate (20-Year Fixed, in %)":"6.18"}
curl --location --request GET 'https://zylalabs.com/api/226/cities+cost+of+living+and+average+prices+api/3775/cost+of+living+by+city+v2?country=United States&city=Seattle, WA' --header 'Authorization: Bearer YOUR_API_KEY'
["Afghanistan","Aland Islands","Albania","Alderney","Algeria","American Samoa","Andorra","Angola","Anguilla","Antigua And Barbuda","Argentina","Armenia","Aruba","Australia","Austria","Azerbaijan","Bahamas","Bahrain","Bangladesh","Barbados","Belarus","Belgium","Belize","Benin","Bermuda","Bhutan","Bolivia","Bonaire","Bosnia And Herzegovina","Botswana","Brazil","British Virgin Islands","Brunei","Bulgaria","Burkina Faso","Burundi","Cambodia","Cameroon","Canada","Cape Verde","Cayman Islands","Central African Republic","Chad","Chile","China","Colombia","Comoros","Cook Islands","Costa Rica","Croatia","Cuba","Curacao","Cyprus","Czech Republic","Democratic Republic of the Congo","Denmark","Djibouti","Dominica","Dominican Republic","Ecuador","Egypt","El Salvador","Equatorial Guinea","Eritrea","Estonia","Eswatini","Ethiopia","Falkland Islands","Faroe Islands","Fiji","Finland","France","French Guiana","French Polynesia","French Southern Territories","Gabon","Gambia","Georgia","Germany","Ghana","Gibraltar","Greece","Greenland","Grenada","Guadeloupe","Guam","Guatemala","Guernsey","Guinea","Guinea-Bissau","Guyana","Haiti","Honduras","Hong Kong (China)","Hungary","Iceland","India","Indonesia","Iran","Iraq","Ireland","Isle Of Man","Israel","Italy","Ivory Coast","Jamaica","Japan","Jersey","Jordan","Kazakhstan","Kenya","Kiribati","Kosovo (Disputed Territory)","Kuwait","Kyrgyzstan","Laos","Latvia","Lebanon","Lesotho","Liberia","Libya","Liechtenstein","Lithuania","Luxembourg","Macao (China)","Madagascar","Malawi","Malaysia","Maldives","Mali","Malta","Marshall Islands","Martinique","Mauritania","Mauritius","Mexico","Micronesia","Moldova","Monaco","Mongolia","Montenegro","Montserrat","Morocco","Mozambique","Myanmar","Namibia","Nauru","Nepal","Netherlands","New Caledonia","New Zealand","NicaraguaNiger","Nigeria","Norfolk Island","North Korea","North Macedonia","Northern Mariana Islands","Norway","Oman","Pakistan","Palau","Palestine","Panama","Papua New Guinea","Paraguay","Peru","Philippines","Poland","Portugal","Puerto Rico","Qatar","Republic of the Congo","Reunion","Romania","Russia","Rwanda","Saint Helena","Saint Kitts And Nevis","Saint Lucia","Saint Vincent And The Grenadines","Saint-Pierre And Miquelon","Samoa","San Marino","Sao Tome And Principe","Saudi Arabia","Senegal","Serbia","Seychelles","Sierra Leone","Singapore","Sint Maarten","Slovakia","Slovenia","Solomon Islands","Somalia","South Africa","South Korea","South Sudan","Spain","Sri Lanka","Sudan","Suriname","Sweden","Switzerland","Syria","Taiwan","Tajikistan","Tanzania","Thailand","Timor-Leste","Togo","Tonga","Trinidad And Tobago","Tunisia","Turkey","Turkmenistan","Turks And Caicos Islands","Tuvalu","Uganda","Ukraine","United Arab Emirates","United Kingdom","United States","Uruguay","Us Virgin Islands","Uzbekistan","Vanuatu","Venezuela","Vietnam","Wallis And Futuna","Western Sahara","Yemen","Zambia","Zimbabwe"]
curl --location --request GET 'https://zylalabs.com/api/226/cities+cost+of+living+and+average+prices+api/6144/get+countries+v2' --header 'Authorization: Bearer YOUR_API_KEY'
{"country":"United States","cities":[]}
curl --location --request GET 'https://zylalabs.com/api/226/cities+cost+of+living+and+average+prices+api/6145/get+cities+by+country+v2?country=United-States' --header 'Authorization: Bearer YOUR_API_KEY'
After signing up, every developer is assigned a personal API access key, a unique combination of letters and digits provided to access to our API endpoint. To authenticate with the Cities Cost of Living and Average Prices API simply include your bearer token in the Authorization header.
| Header | Description |
|---|---|
Authorization
|
Required
Should be Bearer access_key. See "Your API Access Key" above when you are subscribed.
|
No long-term commitment. Upgrade, downgrade, or cancel anytime. Free Trial includes up to 50 requests.
(Save 2 months with annual billing 🎉)
Trusted by leading companies
The Cost of Living and Average Prices by City API is a tool that provides access to data on the cost of living and average prices of goods and services in cities around the world. It includes information on a range of expenses, such as housing, groceries, transportation, and entertainment, as well as data on average salaries and purchasing power.
This API allows users to compare the cost of living in different cities and make informed decisions about where to live or do business. It includes data on the average prices of a wide range of goods and services, such as food, clothing, healthcare, and education. It also includes information on the average cost of housing in each city, including rent and mortgage payments.
In addition to providing data on the cost of living, the API also includes data on average salaries and purchasing power in each city. This allows users to see how far their income would go in different locations and make comparisons based on their budget and lifestyle.
This API can be used by individuals or organizations that are considering moving to a new city, or by businesses that are evaluating the feasibility of expanding to a new location. It can also be used by researchers or journalists to study trends in the cost of living and how it varies across different regions.
This API will receive the country and city name and it will deliver a different range of prices for different goods and services. Check income and average prices.
Individuals or families considering moving to a new city can use the API to compare the cost of living in different locations and make an informed decision about where to live.
Businesses can use the API to evaluate the feasibility of expanding to a new location. By comparing the cost of living and average prices of goods and services in different cities, businesses can determine whether they will be able to operate profitably in a new location.
Researchers or journalists can use the API to study trends in the cost of living and how it varies across different regions. This could be useful for creating reports or articles on the affordability of different cities or regions.
Apps or websites that provide resources for people moving to a new city (such as real estate platforms or relocation guides) can use the API to incorporate data on the cost of living into their platforms.
Government agencies or advocacy groups can use the API to monitor and report on the cost of living in different cities and regions, and to identify areas that may be unaffordable for certain groups of people.
The only limitation is the number of API calls you can make per month that support each plan.
The API provides accurate information about the cost of living and average prices in various cities and countries worldwide.
The API supports over 8000 cities across different countries.
You can use the "GET COUNTRIES" endpoint to retrieve a list of all the supported countries.
Yes, you can use the "GET CITIES BY COUNTRY" endpoint to retrieve all the supported cities in a given country.
Yes, the "COST OF LIVING BY COUNTRY" endpoint allows you to retrieve the average cost of living in a certain country. It calculates the average prices and cost of living across the entire country.
To retrieve the average prices and cost of living for a specific city, you can use the "COST OF LIVING BY CITY" endpoint. Simply declare the country and city in your request.
The API primarily focuses on providing current cost of living data and average prices. Historical data may not be available through the provided endpoints.
The API strives to provide accurate and up-to-date information. The data is sourced from reliable and reputable data providers.
Each endpoint returns specific data related to the cost of living and average prices. For example, the "COST OF LIVING BY CITY" endpoint provides monthly living costs, average prices for meals, groceries, and other expenses for a specified city.
Key fields in the response data include "Country Name," "City Name," "Cost of Living Month Total," "Currency," and detailed price lists for various goods and services, such as meals and groceries.
The response data is structured in JSON format, with a main object containing metadata (like version and status) and nested arrays for specific price categories, such as restaurant and market prices.
Each endpoint provides different information: "GET COUNTRIES" lists countries, "GET CITIES BY COUNTRY" lists cities, while "COST OF LIVING BY CITY" and "COST OF LIVING BY COUNTRY" provide detailed cost data for specific locations.
Parameters typically include the country and city names for endpoints like "COST OF LIVING BY CITY." Users can customize requests by specifying these parameters to retrieve targeted data.
Typical use cases include individuals comparing living costs when relocating, businesses assessing new market feasibility, and researchers analyzing economic trends across different regions.
Data accuracy is maintained through sourcing from reliable providers and regular updates. Quality checks ensure that the information reflects current market conditions and trends.
Users can analyze the detailed price lists to budget for living expenses, compare costs across cities, or identify affordable locations based on their income and lifestyle needs.
To obtain your API key, first sign in to your account and navigate to the API you want to use. From the API's Pricing section, choose a plan and complete the subscription process. Once subscribed, return to the API page and you will see your API Access Key displayed at the top of the documentation page. You can use this key to authenticate your requests.
You can’t switch APIs during the free trial. If you subscribe to a different API, your trial will end and the new subscription will start as a paid plan.
The free trial lasts for 7 days and allows you to make up to 50 API requests.
No, the free trial is available only once, so we recommend using it on the API that interests you the most. Most of our APIs offer a free trial, but some may not include this option.
Yes. If the API offers a free trial, you will see a "Free 7-Day Trial" option in its Pricing section. The trial lasts for 7 days and allows up to 50 API requests, enabling you to evaluate the API before subscribing to a paid plan.
Zyla API Hub is like a big store for APIs, where you can find thousands of them all in one place. We also offer dedicated support and real-time monitoring of all APIs. Once you sign up, you can pick and choose which APIs you want to use. Just remember, each API needs its own subscription. But if you subscribe to multiple ones, you'll use the same key for all of them, making things easier for you.
You can monitor your API usage through the response headers included with every request:
x-zyla-api-calls-monthly-used: Shows the total number of API requests you have used during the current billing period.
x-zyla-api-calls-monthly-remaining: Shows the number of API requests you have remaining for the current billing period.
Yes, you can cancel your subscription at any time. Simply go to the Pricing section of the API you're subscribed to and click the "Unsubscribe" button.
Please note that upgrades, downgrades, and cancellations take effect immediately. Once your subscription is canceled, access to the service will end immediately, regardless of any remaining API calls in your quota.
Please have a look at our Refund Policy: https://zylalabs.com/terms#refund