The Urban Cost Index 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.
Get to know the cost of living from a specific country. (Updated frequently)
Cost Of Living by Country v2 - Endpoint Features
| Object | Description |
|---|---|
country |
[Required] Country name. |
{"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/7755/urban+cost+index+api/12665/cost+of+living+by+country+v2?country=united states' --header 'Authorization: Bearer YOUR_API_KEY'
Get insights about the cost of living from a specific city. (Updated frequently)
Cost of Living by City v2 - Endpoint Features
| Object | Description |
|---|---|
country |
[Required] Country name. |
city |
[Required] City code. |
{"Version":1,"Status":200,"Success":true,"City Name":"Berlin","Meal, Inexpensive Restaurant":"15.0\u00a0\u20ac","Meal for 2 People, Mid-range Restaurant, Three-course":"65.0\u00a0\u20ac","McMeal at McDonalds (or Equivalent Combo Meal)":"11.0\u00a0\u20ac","Domestic Beer (1 pint draught)":"4.0\u00a0\u20ac","Imported Beer (12 oz small bottle)":"1.62\u00a0\u20ac","Cappuccino (regular)":"3.71\u00a0\u20ac","Coke\/Pepsi (12 oz small bottle)":"2.69\u00a0\u20ac","Water (12 oz small bottle)":"2.65\u00a0\u20ac","Milk (regular), (1 gallon)":"4.27\u00a0\u20ac","Loaf of Fresh White Bread (1 lb)":"1.66\u00a0\u20ac","Rice (white), (1 lb)":"1.44\u00a0\u20ac","Eggs (regular) (12)":"3.05\u00a0\u20ac","Local Cheese (1 lb)":"5.58\u00a0\u20ac","Chicken Fillets (1 lb)":"5.08\u00a0\u20ac","Beef Round (1 lb) (or Equivalent Back Leg Red Meat)":"7.17\u00a0\u20ac","Apples (1 lb)":"1.25\u00a0\u20ac","Banana (1 lb)":"0.77\u00a0\u20ac","Oranges (1 lb)":"0.93\u00a0\u20ac","Tomato (1 lb)":"1.72\u00a0\u20ac","Potato (1 lb)":"0.77\u00a0\u20ac","Onion (1 lb)":"0.74\u00a0\u20ac","Lettuce (1 head)":"1.63\u00a0\u20ac","Water (1.5 liter bottle)":"0.78\u00a0\u20ac","Bottle of Wine (Mid-Range)":"6.0\u00a0\u20ac","Domestic Beer (0.5 liter bottle)":"1.02\u00a0\u20ac","Cigarettes 20 Pack (Marlboro)":"8.5\u00a0\u20ac","One-way Ticket (Local Transport)":"3.5\u00a0\u20ac","Monthly Pass (Regular Price)":"49.0\u00a0\u20ac","Taxi Start (Normal Tariff)":"5.0\u00a0\u20ac","Taxi 1 mile (Normal Tariff)":"4.51\u00a0\u20ac","Taxi 1hour Waiting (Normal Tariff)":"36.75\u00a0\u20ac","Gasoline (1 gallon)":"6.71\u00a0\u20ac","Volkswagen Golf 1.4 90 KW Trendline (Or Equivalent New Car)":"29,670.0\u00a0\u20ac","Toyota Corolla Sedan 1.6l 97kW Comfort (Or Equivalent New Car)":"30,608.44\u00a0\u20ac","Basic (Electricity, Heating, Cooling, Water, Garbage) for 915 sq ft Apartment":"321.56\u00a0\u20ac","Mobile Phone Monthly Plan with Calls and 10GB+ Data":"18.21\u00a0\u20ac","Internet (60 Mbps or More, Unlimited Data, Cable\/ADSL)":"41.97\u00a0\u20ac","Fitness Club, Monthly Fee for 1 Adult":"34.98\u00a0\u20ac","Tennis Court Rent (1 Hour on Weekend)":"23.11\u00a0\u20ac","Cinema, International Release, 1 Seat":"12.75\u00a0\u20ac","Preschool (or Kindergarten), Full Day, Private, Monthly for 1 Child":"286.43\u00a0\u20ac","International Primary School, Yearly for 1 Child":"8,993.75\u00a0\u20ac","1 Pair of Jeans (Levis 501 Or Similar)":"79.36\u00a0\u20ac","1 Summer Dress in a Chain Store (Zara, H&M, ...)":"38.17\u00a0\u20ac","1 Pair of Nike Running Shoes (Mid-Range)":"89.4\u00a0\u20ac","1 Pair of Men Leather Business Shoes":"130.2\u00a0\u20ac","Apartment (1 bedroom) in City Centre":"1,202.63\u00a0\u20ac","Apartment (1 bedroom) Outside of Centre":"862.56\u00a0\u20ac","Apartment (3 bedrooms) in City Centre":"2,254.51\u00a0\u20ac","Apartment (3 bedrooms) Outside of Centre":"1,689.74\u00a0\u20ac","Price per Square Feet to Buy Apartment in City Centre":"732.14\u00a0\u20ac","Price per Square Feet to Buy Apartment Outside of Centre":"538.5\u00a0\u20ac","Average Monthly Net Salary (After Tax)":"2,952.47\u00a0\u20ac","Mortgage Interest Rate in Percentages (%), Yearly, for 20 Years Fixed-Rate":"3.96"}
curl --location --request GET 'https://zylalabs.com/api/7755/urban+cost+index+api/12672/cost+of+living+by+city+v2?country=United States&city=Seattle, WA' --header 'Authorization: Bearer YOUR_API_KEY'
To use this endpoint just send the request and you will get all the available countries.
Get Countries V2 - Endpoint Features
| Object | Description |
|---|
["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/7755/urban+cost+index+api/12676/get+countries+v2' --header 'Authorization: Bearer YOUR_API_KEY'
To use this endpoint just send the request and you will get all the available cities.
Get Cities by Country V2 - Endpoint Features
| Object | Description |
|---|---|
country |
[Required] |
{"country":"Argentina","cities":["Abra Pampa","Avellaneda","Bahia Blanca","Bariloche","Buenos Aires","Cafayate","Catamarca","Chivilcoy","Comodoro Rivadavia","Concordia","Cordoba","Corrientes","Formosa","Haedo","La Plata","La Rioja","Lanus","Lomas de Zamora","Mar del Plata","Mendoza","Mor\u00f3n","Necochea","Neuquen","Parana","Paso de los Libres","Presidencia Roque S\u00e1enz Pe\u00f1a","Quilmes","Resistencia","Rosario","R\u00edo Tercero","Salta","San Isidro","San Juan","San Luis","San Martin de los Andes","San Miguel de Tucuman","San Rafael","San Salvador de Jujuy","Santa Fe","Santa Rosa","Santiago del Estero","Tandil","Tartagal","Tigre","Ushuaia","Villa Mar\u00eda"]}
curl --location --request GET 'https://zylalabs.com/api/7755/urban+cost+index+api/12681/get+cities+by+country+v2?country=United States' --header 'Authorization: Bearer YOUR_API_KEY'
| 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.
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, you first need to sign in to your account and subscribe to the API you want to use. Once subscribed, go to your Profile, open the Subscription section, and select the specific API. Your API key will be available there and can be used 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.
If you don’t cancel before the 7th day, your free trial will end automatically and your subscription will switch to a paid plan under the same plan you originally subscribed to, meaning you will be charged and gain access to the API calls included in that plan.
The free trial ends when you reach 50 API requests or after 7 days, whichever comes first.
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, we offer a 7-day free trial that allows you to make up to 50 API calls at no cost, so you can test our APIs without any commitment.
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.
Service Level:
100%
Response Time:
1,447ms
Service Level:
100%
Response Time:
53ms
Service Level:
100%
Response Time:
12,882ms
Service Level:
100%
Response Time:
54ms
Service Level:
100%
Response Time:
53ms
Service Level:
100%
Response Time:
3,541ms
Service Level:
100%
Response Time:
3,471ms
Service Level:
100%
Response Time:
4,111ms
Service Level:
100%
Response Time:
1,000ms
Service Level:
100%
Response Time:
238ms
Service Level:
100%
Response Time:
105ms
Service Level:
100%
Response Time:
1,122ms
Service Level:
100%
Response Time:
1,398ms
Service Level:
100%
Response Time:
199ms
Service Level:
100%
Response Time:
110ms
Service Level:
100%
Response Time:
118ms
Service Level:
100%
Response Time:
493ms
Service Level:
100%
Response Time:
124ms
Service Level:
100%
Response Time:
1,944ms
Service Level:
100%
Response Time:
356ms