Cities Cost of Living and Average Prices API

Cities Cost of Living and Average Prices API

Supporting more than 8000 cities, this API will provide accurate information about the cost of living and prices in those cities.

API description

About the API:

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.

What your API receives and what your API provides (input/output)?

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. 

What are the most common uses cases of this API?

  1. 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.

  2. 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.

  3. 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.

  4. 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.

  5. 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.

Are there any limitations to your plans?

The only limitation is the number of API calls you can make per month that support each plan. 

API Documentation

Endpoints


Retrieve all the supported countries in this API. 



                                                                            
GET https://www.zylalabs.com/api/226/cities+cost+of+living+and+average+prices+api/652/get+countries
                                                                            
                                                                        

Test Endpoint

API EXAMPLE RESPONSE

       
                                                                                                        
                                                                                                                                                                                                                            [{"country":"afghanistan","iso3":"afg","country_name":"Afghanistan"},{"country":"aland-islands","iso3":"ala","country_name":"Aland-islands"},{"country":"albania","iso3":"alb","country_name":"Albania"},{"country":"algeria","iso3":"dza","country_name":"Algeria"},{"country":"andorra","iso3":"and","country_name":"Andorra"},{"country":"angola","iso3":"ago","country_name":"Angola"},{"country":"antigua-and-barbuda","iso3":"atg","country_name":"Antigua-and-barbuda"},{"country":"argentina","iso3":"arg","country_name":"Argentina"},{"country":"armenia","iso3":"arm","country_name":"Armenia"},{"country":"aruba","iso3":"abw","country_name":"Aruba"},{"country":"australia","iso3":"aus","country_name":"Australia"},{"country":"austria","iso3":"aut","country_name":"Austria"},{"country":"azerbaijan","iso3":"aze","country_name":"Azerbaijan"},{"country":"bahamas","iso3":"bhs","country_name":"Bahamas"},{"country":"bahrain","iso3":"bhr","country_name":"Bahrain"},{"country":"bangladesh","iso3":"bgd","country_name":"Bangladesh"},{"country":"barbados","iso3":"brb","country_name":"Barbados"},{"country":"belarus","iso3":"blr","country_name":"Belarus"},{"country":"belgium","iso3":"bel","country_name":"Belgium"},{"country":"belize","iso3":"blz","country_name":"Belize"},{"country":"bermuda","iso3":"bmu","country_name":"Bermuda"},{"country":"bhutan","iso3":"btn","country_name":"Bhutan"},{"country":"bolivia","iso3":"bol","country_name":"Bolivia"},{"country":"bonaire","iso3":"bes","country_name":"Bonaire"},{"country":"bosnia-and-herzegovina","iso3":"bih","country_name":"Bosnia-and-herzegovina"},{"country":"botswana","iso3":"bwa","country_name":"Botswana"},{"country":"brazil","iso3":"bra","country_name":"Brazil"},{"country":"british-virgin-islands","iso3":"vgb","country_name":"British-virgin-islands"},{"country":"brunei","iso3":"brn","country_name":"Brunei"},{"country":"bulgaria","iso3":"bgr","country_name":"Bulgaria"},{"country":"burkina-faso","iso3":"bfa","country_name":"Burkina-faso"},{"country":"burundi","iso3":"bdi","country_name":"Burundi"},{"country":"cambodia","iso3":"khm","country_name":"Cambodia"},{"country":"cameroon","iso3":"cmr","country_name":"Cameroon"},{"country":"canada","iso3":"can","country_name":"Canada"},{"country":"cape-verde","iso3":"cpv","country_name":"Cape-verde"},{"country":"cayman-islands","iso3":"cym","country_name":"Cayman-islands"},{"country":"chad","iso3":"tcd","country_name":"Chad"},{"country":"chile","iso3":"chl","country_name":"Chile"},{"country":"china","iso3":"chn","country_name":"China"},{"country":"colombia","iso3":"col","country_name":"Colombia"},{"country":"congo","iso3":"cod","country_name":"Congo"},{"country":"costa-rica","iso3":"cri","country_name":"Costa-rica"},{"country":"croatia","iso3":"hrv","country_name":"Croatia"},{"country":"cuba","iso3":"cub","country_name":"Cuba"},{"country":"curacao","iso3":"cuw","country_name":"Curacao"},{"country":"cyprus","iso3":"cyp","country_name":"Cyprus"},{"country":"czech-republic","iso3":"cze","country_name":"Czech-republic"},{"country":"denmark","iso3":"dnk","country_name":"Denmark"},{"country":"djibouti","iso3":"dji","country_name":"Djibouti"},{"country":"dominica","iso3":"dma","country_name":"Dominica"},{"country":"dominican-republic","iso3":"dom","country_name":"Dominican-republic"},{"country":"ecuador","iso3":"ecu","country_name":"Ecuador"},{"country":"egypt","iso3":"egy","country_name":"Egypt"},{"country":"el-salvador","iso3":"slv","country_name":"El-salvador"},{"country":"equatorial-guinea","iso3":"gnq","country_name":"Equatorial-guinea"},{"country":"estonia","iso3":"est","country_name":"Estonia"},{"country":"ethiopia","iso3":"eth","country_name":"Ethiopia"},{"country":"faroe-islands","iso3":"fro","country_name":"Faroe-islands"},{"country":"fiji","iso3":"fji","country_name":"Fiji"},{"country":"finland","iso3":"fin","country_name":"Finland"},{"country":"france","iso3":"fra","country_name":"France"},{"country":"french-polynesia","iso3":"pyf","country_name":"French-polynesia"},{"country":"gabon","iso3":"gab","country_name":"Gabon"},{"country":"gambia","iso3":"gmb","country_name":"Gambia"},{"country":"georgia","iso3":"geo","country_name":"Georgia"},{"country":"germany","iso3":"deu","country_name":"Germany"},{"country":"ghana","iso3":"gha","country_name":"Ghana"},{"country":"gibraltar","iso3":"gib","country_name":"Gibraltar"},{"country":"greece","iso3":"grc","country_name":"Greece"},{"country":"greenland","iso3":"grl","country_name":"Greenland"},{"country":"grenada","iso3":"grd","country_name":"Grenada"},{"country":"guam","iso3":"gum","country_name":"Guam"},{"country":"guatemala","iso3":"gtm","country_name":"Guatemala"},{"country":"guernsey","iso3":"ggy","country_name":"Guernsey"},{"country":"guinea-bissau","iso3":"gnb","country_name":"Guinea-bissau"},{"country":"guyana","iso3":"gin","country_name":"Guyana"},{"country":"honduras","iso3":"hnd","country_name":"Honduras"},{"country":"hong-kong","iso3":"hkg","country_name":"Hong-kong"},{"country":"hungary","iso3":"hun","country_name":"Hungary"},{"country":"iceland","iso3":"isl","country_name":"Iceland"},{"country":"india","iso3":"ind","country_name":"India"},{"country":"indonesia","iso3":"idn","country_name":"Indonesia"},{"country":"iran","iso3":"irn","country_name":"Iran"},{"country":"iraq","iso3":"irq","country_name":"Iraq"},{"country":"ireland","iso3":"irl","country_name":"Ireland"},{"country":"isle-of-man","iso3":"imn","country_name":"Isle-of-man"},{"country":"israel","iso3":"isr","country_name":"Israel"},{"country":"italy","iso3":"ita","country_name":"Italy"},{"country":"ivory-coast","iso3":"civ","country_name":"Ivory-coast"},{"country":"jamaica","iso3":"jam","country_name":"Jamaica"},{"country":"japan","iso3":"jpn","country_name":"Japan"},{"country":"jersey","iso3":"jey","country_name":"Jersey"},{"country":"jordan","iso3":"jor","country_name":"Jordan"},{"country":"kazakhstan","iso3":"kaz","country_name":"Kazakhstan"},{"country":"kenya","iso3":"ken","country_name":"Kenya"},{"country":"kosovo-disputed-territory","iso3":"xkx","country_name":"Kosovo-disputed-territory"},{"country":"kuwait","iso3":"kwt","country_name":"Kuwait"},{"country":"kyrgyzstan","iso3":"kgz","country_name":"Kyrgyzstan"},{"country":"laos","iso3":"lao","country_name":"Laos"},{"country":"latvia","iso3":"lva","country_name":"Latvia"},{"country":"lebanon","iso3":"lbn","country_name":"Lebanon"},{"country":"lesotho","iso3":"lso","country_name":"Lesotho"},{"country":"liberia","iso3":"lbr","country_name":"Liberia"},{"country":"libya","iso3":"lby","country_name":"Libya"},{"country":"lithuania","iso3":"ltu","country_name":"Lithuania"},{"country":"luxembourg","iso3":"lux","country_name":"Luxembourg"},{"country":"macao","iso3":"mac","country_name":"Macao"},{"country":"madagascar","iso3":"mdg","country_name":"Madagascar"},{"country":"malawi","iso3":"mwi","country_name":"Malawi"},{"country":"malaysia","iso3":"mys","country_name":"Malaysia"},{"country":"maldives","iso3":"mdv","country_name":"Maldives"},{"country":"mali","iso3":"mli","country_name":"Mali"},{"country":"malta","iso3":"mlt","country_name":"Malta"},{"country":"mauritania","iso3":"mrt","country_name":"Mauritania"},{"country":"mauritius","iso3":"mus","country_name":"Mauritius"},{"country":"mexico","iso3":"mex","country_name":"Mexico"},{"country":"moldova","iso3":"mda","country_name":"Moldova"},{"country":"monaco","iso3":"mco","country_name":"Monaco"},{"country":"mongolia","iso3":"mng","country_name":"Mongolia"},{"country":"montenegro","iso3":"mne","country_name":"Montenegro"},{"country":"morocco","iso3":"mar","country_name":"Morocco"},{"country":"mozambique","iso3":"moz","country_name":"Mozambique"},{"country":"myanmar","iso3":"mmr","country_name":"Myanmar"},{"country":"namibia","iso3":"nam","country_name":"Namibia"},{"country":"nepal","iso3":"npl","country_name":"Nepal"},{"country":"netherlands","iso3":"nld","country_name":"Netherlands"},{"country":"new-caledonia","iso3":"ncl","country_name":"New-caledonia"},{"country":"new-zealand","iso3":"nzl","country_name":"New-zealand"},{"country":"nicaragua","iso3":"nic","country_name":"Nicaragua"},{"country":"nigeria","iso3":"nga","country_name":"Nigeria"},{"country":"northern-mariana-islands","iso3":"mnp","country_name":"Northern-mariana-islands"},{"country":"norway","iso3":"nor","country_name":"Norway"},{"country":"oman","iso3":"omn","country_name":"Oman"},{"country":"pakistan","iso3":"pak","country_name":"Pakistan"},{"country":"panama","iso3":"pan","country_name":"Panama"},{"country":"papua-new-guinea","iso3":"png","country_name":"Papua-new-guinea"},{"country":"paraguay","iso3":"pry","country_name":"Paraguay"},{"country":"peru","iso3":"per","country_name":"Peru"},{"country":"philippines","iso3":"phl","country_name":"Philippines"},{"country":"poland","iso3":"pol","country_name":"Poland"},{"country":"portugal","iso3":"prt","country_name":"Portugal"},{"country":"puerto-rico","iso3":"pri","country_name":"Puerto-rico"},{"country":"qatar","iso3":"qat","country_name":"Qatar"},{"country":"reunion","iso3":"reu","country_name":"Reunion"},{"country":"romania","iso3":"rou","country_name":"Romania"},{"country":"russia","iso3":"rus","country_name":"Russia"},{"country":"rwanda","iso3":"rwa","country_name":"Rwanda"},{"country":"saint-lucia","iso3":"lca","country_name":"Saint-lucia"},{"country":"saint-vincent-and-the-grenadines","iso3":"vct","country_name":"Saint-vincent-and-the-grenadines"},{"country":"samoa","iso3":"wsm","country_name":"Samoa"},{"country":"saudi-arabia","iso3":"sau","country_name":"Saudi-arabia"},{"country":"senegal","iso3":"sen","country_name":"Senegal"},{"country":"serbia","iso3":"srb","country_name":"Serbia"},{"country":"seychelles","iso3":"syc","country_name":"Seychelles"},{"country":"singapore","iso3":"sgp","country_name":"Singapore"},{"country":"sint-maarten","iso3":"sxm","country_name":"Sint-maarten"},{"country":"slovakia","iso3":"svk","country_name":"Slovakia"},{"country":"slovenia","iso3":"svn","country_name":"Slovenia"},{"country":"solomon-isl...
                                                                                                                                                                                                                    
                                                                                                    

Get Countries - CODE SNIPPETS


curl --location --request GET 'https://zylalabs.com/api/226/cities+cost+of+living+and+average+prices+api/652/get+countries' --header 'Authorization: Bearer YOUR_API_KEY' 

    

This endpoint will retrieve all the supported cities in a given country. 



                                                                            
GET https://www.zylalabs.com/api/226/cities+cost+of+living+and+average+prices+api/653/get+cities+by+country
                                                                            
                                                                        

Get Cities by Country - Endpoint Features
Object Description
country [Required] Country name to retrieve the cities from.
Test Endpoint

API EXAMPLE RESPONSE

       
                                                                                                        
                                                                                                                                                                                                                            [{"id":2213,"country":"united-states","name":"Aberdeen, SD, United States","city":"aberdeen-sd","url":"\/country\/united-states\/city\/aberdeen-sd\/cost-of-living","iso3":"usa"},{"id":2214,"country":"united-states","name":"Aberdeen, WA, United States","city":"aberdeen-wa","url":"\/country\/united-states\/city\/aberdeen-wa\/cost-of-living","iso3":"usa"},{"id":2215,"country":"united-states","name":"Abilene, TX, United States","city":"abilene-tx","url":"\/country\/united-states\/city\/abilene-tx\/cost-of-living","iso3":"usa"},{"id":2216,"country":"united-states","name":"Abingdon, MD, United States","city":"abingdon-md","url":"\/country\/united-states\/city\/abingdon-md\/cost-of-living","iso3":"usa"},{"id":2217,"country":"united-states","name":"Adelanto, CA, United States","city":"adelanto-ca","url":"\/country\/united-states\/city\/adelanto-ca\/cost-of-living","iso3":"usa"},{"id":2218,"country":"united-states","name":"Akron, OH, United States","city":"akron-oh","url":"\/country\/united-states\/city\/akron-oh\/cost-of-living","iso3":"usa"},{"id":2219,"country":"united-states","name":"Alamogordo, NM, United States","city":"alamogordo-nm","url":"\/country\/united-states\/city\/alamogordo-nm\/cost-of-living","iso3":"usa"},{"id":2220,"country":"united-states","name":"Albany, GA, United States","city":"albany-ga","url":"\/country\/united-states\/city\/albany-ga\/cost-of-living","iso3":"usa"},{"id":2221,"country":"united-states","name":"Albany, NY, United States","city":"albany-ny","url":"\/country\/united-states\/city\/albany-ny\/cost-of-living","iso3":"usa"},{"id":2222,"country":"united-states","name":"Albany, OR, United States","city":"albany-or","url":"\/country\/united-states\/city\/albany-or\/cost-of-living","iso3":"usa"},{"id":2223,"country":"united-states","name":"Albert Lea, MN, United States","city":"albert-lea-mn","url":"\/country\/united-states\/city\/albert-lea-mn\/cost-of-living","iso3":"usa"},{"id":2224,"country":"united-states","name":"Albuquerque, NM, United States","city":"albuquerque-nm","url":"\/country\/united-states\/city\/albuquerque-nm\/cost-of-living","iso3":"usa"},{"id":2225,"country":"united-states","name":"Alexandria, LA, United States","city":"alexandria-la","url":"\/country\/united-states\/city\/alexandria-la\/cost-of-living","iso3":"usa"},{"id":2226,"country":"united-states","name":"Alexandria, MN, United States","city":"alexandria-mn","url":"\/country\/united-states\/city\/alexandria-mn\/cost-of-living","iso3":"usa"},{"id":2227,"country":"united-states","name":"Alexandria, VA, United States","city":"alexandria-va","url":"\/country\/united-states\/city\/alexandria-va\/cost-of-living","iso3":"usa"},{"id":2228,"country":"united-states","name":"Allen, TX, United States","city":"allen-tx","url":"\/country\/united-states\/city\/allen-tx\/cost-of-living","iso3":"usa"},{"id":2229,"country":"united-states","name":"Allentown, PA, United States","city":"allentown-pa","url":"\/country\/united-states\/city\/allentown-pa\/cost-of-living","iso3":"usa"},{"id":2230,"country":"united-states","name":"Alpena, MI, United States","city":"alpena-mi","url":"\/country\/united-states\/city\/alpena-mi\/cost-of-living","iso3":"usa"},{"id":2231,"country":"united-states","name":"Alpharetta, GA, United States","city":"alpharetta-ga","url":"\/country\/united-states\/city\/alpharetta-ga\/cost-of-living","iso3":"usa"},{"id":2232,"country":"united-states","name":"Alton, IL, United States","city":"alton-il","url":"\/country\/united-states\/city\/alton-il\/cost-of-living","iso3":"usa"},{"id":2233,"country":"united-states","name":"Amarillo, TX, United States","city":"amarillo-tx","url":"\/country\/united-states\/city\/amarillo-tx\/cost-of-living","iso3":"usa"},{"id":2234,"country":"united-states","name":"Ames, IA, United States","city":"ames-ia","url":"\/country\/united-states\/city\/ames-ia\/cost-of-living","iso3":"usa"},{"id":2235,"country":"united-states","name":"Anaheim, CA, United States","city":"anaheim-ca","url":"\/country\/united-states\/city\/anaheim-ca\/cost-of-living","iso3":"usa"},{"id":2236,"country":"united-states","name":"Anchorage, AK, United States","city":"anchorage-ak","url":"\/country\/united-states\/city\/anchorage-ak\/cost-of-living","iso3":"usa"},{"id":2237,"country":"united-states","name":"Anderson, SC, United States","city":"anderson-sc","url":"\/country\/united-states\/city\/anderson-sc\/cost-of-living","iso3":"usa"},{"id":2238,"country":"united-states","name":"Andover, MA, United States","city":"andover-ma","url":"\/country\/united-states\/city\/andover-ma\/cost-of-living","iso3":"usa"},{"id":2239,"country":"united-states","name":"Ann Arbor, MI, United States","city":"ann-arbor-mi","url":"\/country\/united-states\/city\/ann-arbor-mi\/cost-of-living","iso3":"usa"},{"id":2240,"country":"united-states","name":"Annapolis, MD, United States","city":"annapolis-md","url":"\/country\/united-states\/city\/annapolis-md\/cost-of-living","iso3":"usa"},{"id":2241,"country":"united-states","name":"Apple Valley, CA, United States","city":"apple-valley-ca","url":"\/country\/united-states\/city\/apple-valley-ca\/cost-of-living","iso3":"usa"},{"id":2242,"country":"united-states","name":"Appleton, WI, United States","city":"appleton-wi","url":"\/country\/united-states\/city\/appleton-wi\/cost-of-living","iso3":"usa"},{"id":2243,"country":"united-states","name":"Arlington, TX, United States","city":"arlington-tx","url":"\/country\/united-states\/city\/arlington-tx\/cost-of-living","iso3":"usa"},{"id":2244,"country":"united-states","name":"Arlington, VA, United States","city":"arlington-va","url":"\/country\/united-states\/city\/arlington-va\/cost-of-living","iso3":"usa"},{"id":2245,"country":"united-states","name":"Asheville, NC, United States","city":"asheville-nc","url":"\/country\/united-states\/city\/asheville-nc\/cost-of-living","iso3":"usa"},{"id":2246,"country":"united-states","name":"Ashland, MA, United States","city":"ashland-ma","url":"\/country\/united-states\/city\/ashland-ma\/cost-of-living","iso3":"usa"},{"id":2247,"country":"united-states","name":"Ashland, OH, United States","city":"ashland-oh","url":"\/country\/united-states\/city\/ashland-oh\/cost-of-living","iso3":"usa"},{"id":2248,"country":"united-states","name":"Aspen, CO, United States","city":"aspen-co","url":"\/country\/united-states\/city\/aspen-co\/cost-of-living","iso3":"usa"},{"id":2249,"country":"united-states","name":"Astoria, NY, United States","city":"astoria-ny","url":"\/country\/united-states\/city\/astoria-ny\/cost-of-living","iso3":"usa"},{"id":2250,"country":"united-states","name":"Astoria, OR, United States","city":"astoria-or","url":"\/country\/united-states\/city\/astoria-or\/cost-of-living","iso3":"usa"},{"id":2251,"country":"united-states","name":"Athens, GA, United States","city":"athens-ga","url":"\/country\/united-states\/city\/athens-ga\/cost-of-living","iso3":"usa"},{"id":2252,"country":"united-states","name":"Athens, OH, United States","city":"athens-oh","url":"\/country\/united-states\/city\/athens-oh\/cost-of-living","iso3":"usa"},{"id":2253,"country":"united-states","name":"Atlanta, GA, United States","city":"atlanta-ga","url":"\/country\/united-states\/city\/atlanta-ga\/cost-of-living","iso3":"usa"},{"id":2254,"country":"united-states","name":"Atlantic City, NJ, United States","city":"atlantic-city-nj","url":"\/country\/united-states\/city\/atlantic-city-nj\/cost-of-living","iso3":"usa"},{"id":2255,"country":"united-states","name":"Auburn, AL, United States","city":"auburn-al","url":"\/country\/united-states\/city\/auburn-al\/cost-of-living","iso3":"usa"},{"id":2256,"country":"united-states","name":"Augusta, GA, United States","city":"augusta-ga","url":"\/country\/united-states\/city\/augusta-ga\/cost-of-living","iso3":"usa"},{"id":2257,"country":"united-states","name":"Augusta, ME, United States","city":"augusta-me","url":"\/country\/united-states\/city\/augusta-me\/cost-of-living","iso3":"usa"},{"id":2258,"country":"united-states","name":"Aurora, IL, United States","city":"aurora-il","url":"\/country\/united-states\/city\/aurora-il\/cost-of-living","iso3":"usa"},{"id":2259,"country":"united-states","name":"Austin, TX, United States","city":"austin-tx","url":"\/country\/united-states\/city\/austin-tx\/cost-of-living","iso3":"usa"},{"id":2260,"country":"united-states","name":"Avon, CO, United States","city":"avon-co","url":"\/country\/united-states\/city\/avon-co\/cost-of-living","iso3":"usa"},{"id":2261,"country":"united-states","name":"Avondale, AZ, United States","city":"avondale-az","url":"\/country\/united-states\/city\/avondale-az\/cost-of-living","iso3":"usa"},{"id":2262,"country":"united-states","name":"Bakersfield, CA, United States","city":"bakersfield-ca","url":"\/country\/united-states\/city\/bakersfield-ca\/cost-of-living","iso3":"usa"},{"id":2263,"country":"united-states","name":"Baltimore, MD, United States","city":"baltimore-md","url":"\/country\/united-states\/city\/baltimore-md\/cost-of-living","iso3":"usa"},{"id":2264,"country":"united-states","name":"Baton Rouge, LA, United States","city":"baton-rouge-la","url":"\/country\/united-states\/city\/baton-rouge-la\/cost-of-living","iso3":"usa"},{"id":2265,"country":"united-states","name":"Battle Creek, MI, United States","city":"battle-creek-mi","url":"\/country\/united-states\/city\/battle-creek-mi\/cost-of-living","iso3":"usa"},{"id":2266,"country":"united-states","name":"Bayonne, NJ, United States","city":"bayonne-nj","url":"\/country\/united-states\/city\/bayonne-nj\/cost-of-living","iso3":"usa"},{"id":2267,"country":"united-states","name":"Beaumont, TX, United States","city":"beaumont-tx","url":"\/country\/united-states\/city\/beaumont-tx\/cost-of-living","iso3":"usa"},{"id":2268,"country":"united-states","name":"Beaverton, OR, United States","city":"beaverton-or","url":"\/country\/united-states\/city\/beaverton-or\/cost-of-living","iso3":"usa"},{"id":2269,"country":"united-states","name":"Beckley, WV, United States","city":"beckley-wv","url":"\/cou...
                                                                                                                                                                                                                    
                                                                                                    

Get Cities by Country - CODE SNIPPETS


curl --location --request GET 'https://zylalabs.com/api/226/cities+cost+of+living+and+average+prices+api/653/get+cities+by+country?country=united-states' --header 'Authorization: Bearer YOUR_API_KEY' 

    

This endpoint will retrieve the average cost of living in a certain country. This endpoint will calculate the average prices and cost of living across the given country. 



                                                                            
GET https://www.zylalabs.com/api/226/cities+cost+of+living+and+average+prices+api/654/cost+of+living+by+country
                                                                            
                                                                        

Cost of Living By Country - Endpoint Features
Object Description
country [Required] Country name to retrieve its cost of living.
Test Endpoint

API EXAMPLE RESPONSE

       
                                                                                                        
                                                                                                                                                                                                                            {"Version":1,"Country Name":"United States","City Name":"","Cost of Living Month Total":"1240.97","Currency":"USD","Note":"Total cost of living in United States for two person with average consumption for one month will be 1240.97 USD, no rent price included","Status":200,"Success":true,"Restaurants prices":[{"Cost":"Meal in Inexpensive Restaurant","Value":"13.13"},{"Cost":"Meal for 2 People, Mid-range Restaurant, Three-course","Value":"50.50"},{"Cost":"McMeal at McDonalds or Alternative Combo Meal","Value":"7.07"},{"Cost":"Domestic Beer, 0.5 liter Draught","Value":"4.04"},{"Cost":"Imported Beer, 0.33 liter Bottle","Value":"5.05"},{"Cost":"Cappuccino","Value":"3.96"},{"Cost":"Coca-Cola, 0.33 liter Bottle","Value":"1.77"}],"Markets prices":[{"Cost":"Water, 0.33 liter Bottle","Value":"1.41"},{"Cost":"Milk, Regular,1 liter","Value":"0.86"},{"Cost":"Loaf of Fresh White Bread, 0.5 kg","Value":"2.59"},{"Cost":"White Rice, 1 kg","Value":"3.95"},{"Cost":"Eggs, 12 pack","Value":"2.51"},{"Cost":"Local Cheese, 1 kg","Value":"10.86"},{"Cost":"Chicken Breasts, Boneless and Skinless, 1 kg","Value":"8.65"},{"Cost":"Beef Round or Equivalent Back Leg Red Meat, 1 kg","Value":"11.63"},{"Cost":"Apples, 1 kg","Value":"4.33"},{"Cost":"Banana, 1 kg","Value":"1.52"},{"Cost":"Oranges, 1 kg","Value":"3.97"},{"Cost":"Tomato, 1 kg","Value":"3.99"},{"Cost":"Potato, 1 kg","Value":"2.51"},{"Cost":"Onion, 1 kg","Value":"2.53"},{"Cost":"Lettuce, 1 head","Value":"1.55"},{"Cost":"Water, 1.5 liter Bottle","Value":"1.80"},{"Cost":"Bottle of Wine, Mid-Range Price","Value":"12.12"},{"Cost":"Domestic Beer, 0.5 liter Bottle","Value":"2.11"},{"Cost":"Imported Beer, 0.33 liter Bottle","Value":"2.80"},{"Cost":"Pack of Cigarettes","Value":"6.88"}],"Transportation prices":[{"Cost":"One-way Ticket, Local Transport","Value":"2.27"},{"Cost":"Monthly Pass, Regular Price","Value":"65.65"},{"Cost":"Taxi Start, Normal Tariff","Value":"3.03"},{"Cost":"Taxi, price for 1 km, Normal Tariff","Value":"1.70"},{"Cost":"Taxi, price for 1 hour Waiting, Normal Tariff","Value":"27.27"},{"Cost":"Gasoline, 1 liter","Value":"0.64"},{"Cost":"Volkswagen Golf 1.4 90 KW Trendline (Or Equivalent New Car)","Value":"22,071.03"},{"Cost":"Honda Civic 1.6 Or Alternative New Car","Value":"20,386.45"}],"Utilities Per Month prices":[{"Cost":"Basic utilities for 85m2 Apartment including Electricity, Heating or Cooling, Water and Garbage","Value":"149.17"},{"Cost":"Prepaid Mobile Tariff Local, price per 1 min, No Discounts or Plans","Value":"0.10"},{"Cost":"Internet, 60 Mbps or More, Unlimited Data, Cable\/ADSL","Value":"57.23"}],"Sports And Leisure prices":[{"Cost":"Fitness Club, Monthly Fee for 1 Adult","Value":"36.56"},{"Cost":"Tennis Court Rent, 1 Hour on Weekend","Value":"15.46"}],"Salaries And Financing prices":[{"Cost":"Cinema ticket, 1 Seat","Value":"11.11"},{"Cost":"Average Monthly Net Salary, After Tax","Value":"3,302.21"},{"Cost":"Mortgage Interest Rate in Percentages for 20 Years Fixed-Rate, Yearly, Fixed-Rate","Value":"3.54 %"}],"Childcare prices":[{"Cost":"Private Preschool or Kindergarten, Monthly for 1 Child","Value":"851.97"},{"Cost":"International Primary School, Yearly for 1 Child","Value":"18,180.00"}],"Clothing And Shoes prices":[{"Cost":"Pair of Jeans in a Chain Store Like George, H&M, Zara, etc.","Value":"41.93"},{"Cost":"Summer Dress in a Chain Store Like George, H&M, Zara, etc.","Value":"34.73"},{"Cost":"Pair of Running Shoes, Mid-Range Price","Value":"74.17"},{"Cost":"Pair of Leather Business Shoes","Value":"92.53"}],"Rent Per Month prices":[{"Cost":"One bedroom apartment in city centre","Value":"1,201.04"},{"Cost":"One bedroom apartment outside of city centre","Value":"941.69"},{"Cost":"Three bedroom apartment in city centre","Value":"1,927.80"},{"Cost":"Three bedroom apartment outside of city centre","Value":"1,498.82"}],"Buy Apartment prices":[{"Cost":"Price per m2 to Buy Apartment in City Center","Value":"2,277.60"},{"Cost":"Price per m2 to Buy Apartment Outside of City Center","Value":"1,621.03"}]}
                                                                                                                                                                                                                    
                                                                                                    

Cost of Living By Country - CODE SNIPPETS


curl --location --request GET 'https://zylalabs.com/api/226/cities+cost+of+living+and+average+prices+api/654/cost+of+living+by+country?country=united-states' --header 'Authorization: Bearer YOUR_API_KEY' 

    

This endpoint will retrieve the average prices and cost of living for the desired city. Declare country and city. 



                                                                            
GET https://www.zylalabs.com/api/226/cities+cost+of+living+and+average+prices+api/655/cost+of+living+by+city
                                                                            
                                                                        

Cost Of Living By City - Endpoint Features
Object Description
country [Required] Country name
city [Required] City name
Test Endpoint

API EXAMPLE RESPONSE

       
                                                                                                        
                                                                                                                                                                                                                            {"Version":1,"Country Name":"United States","City Name":"Austin Tx","Cost of Living Month Total":"1171.41","Currency":"USD","Note":"Total cost of living in Austin for two person with average consumption for one month will be 1171.41 USD, no rent price included","Status":200,"Success":true,"Restaurants prices":[{"Cost":"Meal in Inexpensive Restaurant","Value":"15.00"},{"Cost":"Meal for 2 People, Mid-range Restaurant, Three-course","Value":"50.00"},{"Cost":"McMeal at McDonalds or Alternative Combo Meal","Value":"7.50"},{"Cost":"Domestic Beer, 0.5 liter Draught","Value":"4.00"},{"Cost":"Imported Beer, 0.33 liter Bottle","Value":"6.00"},{"Cost":"Cappuccino","Value":"3.95"},{"Cost":"Coca-Cola, 0.33 liter Bottle","Value":"1.97"}],"Markets prices":[{"Cost":"Water, 0.33 liter Bottle","Value":"1.46"},{"Cost":"Milk, Regular,1 liter","Value":"0.81"},{"Cost":"Loaf of Fresh White Bread, 0.5 kg","Value":"2.19"},{"Cost":"White Rice, 1 kg","Value":"3.03"},{"Cost":"Eggs, 12 pack","Value":"2.52"},{"Cost":"Local Cheese, 1 kg","Value":"10.33"},{"Cost":"Chicken Breasts, Boneless and Skinless, 1 kg","Value":"7.66"},{"Cost":"Beef Round or Equivalent Back Leg Red Meat, 1 kg","Value":"11.79"},{"Cost":"Apples, 1 kg","Value":"3.40"},{"Cost":"Banana, 1 kg","Value":"1.27"},{"Cost":"Oranges, 1 kg","Value":"3.47"},{"Cost":"Tomato, 1 kg","Value":"3.52"},{"Cost":"Potato, 1 kg","Value":"2.31"},{"Cost":"Onion, 1 kg","Value":"2.15"},{"Cost":"Lettuce, 1 head","Value":"1.77"},{"Cost":"Water, 1.5 liter Bottle","Value":"1.53"},{"Cost":"Bottle of Wine, Mid-Range Price","Value":"12.00"},{"Cost":"Domestic Beer, 0.5 liter Bottle","Value":"1.96"},{"Cost":"Imported Beer, 0.33 liter Bottle","Value":"2.05"},{"Cost":"Pack of Cigarettes","Value":"7.00"}],"Transportation prices":[{"Cost":"One-way Ticket, Local Transport","Value":"1.25"},{"Cost":"Monthly Pass, Regular Price","Value":"41.25"},{"Cost":"Taxi Start, Normal Tariff","Value":"2.50"},{"Cost":"Taxi, price for 1 km, Normal Tariff","Value":"1.55"},{"Cost":"Taxi, price for 1 hour Waiting, Normal Tariff","Value":"29.00"},{"Cost":"Gasoline, 1 liter","Value":"0.53"},{"Cost":"Volkswagen Golf 1.4 90 KW Trendline (Or Equivalent New Car)","Value":"21,422.50"}],"Utilities Per Month prices":[{"Cost":"Basic utilities for 85m2 Apartment including Electricity, Heating or Cooling, Water and Garbage","Value":"140.86"},{"Cost":"Prepaid Mobile Tariff Local, price per 1 min, No Discounts or Plans","Value":"0.09"},{"Cost":"Internet, 60 Mbps or More, Unlimited Data, Cable\/ADSL","Value":"62.61"}],"Sports And Leisure prices":[{"Cost":"Fitness Club, Monthly Fee for 1 Adult","Value":"37.93"},{"Cost":"Tennis Court Rent, 1 Hour on Weekend","Value":"7.86"}],"Salaries And Financing prices":[{"Cost":"Cinema ticket, 1 Seat","Value":"12.00"},{"Cost":"Average Monthly Net Salary, After Tax","Value":"4,477.92"},{"Cost":"Mortgage Interest Rate in Percentages for 20 Years Fixed-Rate, Yearly, Fixed-Rate","Value":"3.78 %"}],"Childcare prices":[{"Cost":"Private Preschool or Kindergarten, Monthly for 1 Child","Value":"991.06"},{"Cost":"International Primary School, Yearly for 1 Child","Value":"17,000.00"}],"Clothing And Shoes prices":[{"Cost":"Pair of Jeans in a Chain Store Like George, H&M, Zara, etc.","Value":"38.60"},{"Cost":"Summer Dress in a Chain Store Like George, H&M, Zara, etc.","Value":"35.48"},{"Cost":"Pair of Running Shoes, Mid-Range Price","Value":"76.09"},{"Cost":"Pair of Leather Business Shoes","Value":"89.92"}],"Rent Per Month prices":[{"Cost":"One bedroom apartment in city centre","Value":"1,703.34"},{"Cost":"One bedroom apartment outside of city centre","Value":"1,091.27"},{"Cost":"Three bedroom apartment in city centre","Value":"3,119.23"},{"Cost":"Three bedroom apartment outside of city centre","Value":"1,848.89"}],"Buy Apartment prices":[{"Cost":"Price per m2 to Buy Apartment in City Center","Value":"4,366.88"},{"Cost":"Price per m2 to Buy Apartment Outside of City Center","Value":"2,026.72"}]}
                                                                                                                                                                                                                    
                                                                                                    

Cost Of Living By City - CODE SNIPPETS


curl --location --request GET 'https://zylalabs.com/api/226/cities+cost+of+living+and+average+prices+api/655/cost+of+living+by+city?country=united-states&city=austin-tx' --header 'Authorization: Bearer YOUR_API_KEY' 

    

API Access Key & Authentication

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 REST API, simply include your bearer token in the Authorization header.

Headers

Header Description
Authorization [Required] Should be Bearer access_key. See "Your API Access Key" above when you are subscribed.


Simple Transparent Pricing

No long term commitments. One click upgrade/downgrade or cancellation. No questions asked.

🚀 Enterprise
Starts at $10,000/Year

  • Custom Volume
  • Dedicated account manager
  • Service-level agreement (SLA)

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.

Zyla API Hub is, in other words, an API MarketPlace. An all-in-one solution for your developing needs. You will be accessing our extended list of APIs with only your user. Also, you won't need to worry about storing API keys, only one API key for all our products is needed.

Prices are listed in USD. We accept all major debit and credit cards. Our payment system uses the latest security technology and is powered by Stripe, one of the world’s most reliable payment companies. If you have any trouble with paying by card, just contact us at [email protected]

Sometimes depending on the bank's fraud protection settings, a bank will decline the validation charge we make when we attempt to be sure a card is valid. We recommend first contacting your bank to see if they are blocking our charges. If more help is needed, please contact [email protected] and our team will investigate further

Prices are based on a recurring monthly subscription depending on the plan selected — plus overage fees applied when a developer exceeds a plan’s quota limits. In this example, you'll see the base plan amount as well as a quota limit of API requests. Be sure to notice the overage fee because you will be charged for each additional request.

Zyla API Hub works on a recurring monthly subscription system. Your billing cycle will start the day you purchase one of the paid plans, and it will renew the same day of the next month. So be aware to cancel your subscription beforehand if you want to avoid future charges.

Just go to the pricing page of that API and select the plan that you want to upgrade to. You will only be charged the full amount of that plan, but you will be enjoying the features that the plan offers right away.

Yes, absolutely. If you want to cancel your plan, simply go to your account and cancel on the Billing page. Upgrades, downgrades, and cancellations are immediate.

You can contact us through our chat channel to receive immediate assistance. We are always online from 9 am to 6 pm (GMT+1). If you reach us after that time, we will be in contact when we are back. Also you can contact us via email to [email protected]

 Service Level
100%
 Response Time
256ms

Useful links:


Category:


Tags: