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.

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
                                                                            
                                                                        

Get Countries - Endpoint Features

Object Description
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.

 

 (More coverage, less frequently updated) 



                                                                            
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. 

 (More coverage, less frequently updated)



                                                                            
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":"China","City Name":"","Cost of Living Month Total":"751.99","Currency":"USD","Note":"Total cost of living in China for two person with average consumption for one month will be 751.99 USD, no rent price included","Status":200,"Success":true,"Restaurants prices":[{"Cost":"Meal in Inexpensive Restaurant","Value":"3.14"},{"Cost":"Meal for 2 People, Mid-range Restaurant, Three-course","Value":"20.41"},{"Cost":"McMeal at McDonalds or Alternative Combo Meal","Value":"4.72"},{"Cost":"Domestic Beer, 0.5 liter Draught","Value":"0.94"},{"Cost":"Imported Beer, 0.33 liter Bottle","Value":"2.51"},{"Cost":"Cappuccino","Value":"4.15"},{"Cost":"Coca-Cola, 0.33 liter Bottle","Value":"0.49"}],"Markets prices":[{"Cost":"Water, 0.33 liter Bottle","Value":"0.31"},{"Cost":"Milk, Regular,1 liter","Value":"1.94"},{"Cost":"Loaf of Fresh White Bread, 0.5 kg","Value":"1.46"},{"Cost":"White Rice, 1 kg","Value":"1.02"},{"Cost":"Eggs, 12 pack","Value":"1.74"},{"Cost":"Local Cheese, 1 kg","Value":"15.55"},{"Cost":"Chicken Breasts, Boneless and Skinless, 1 kg","Value":"3.89"},{"Cost":"Beef Round or Equivalent Back Leg Red Meat, 1 kg","Value":"10.86"},{"Cost":"Apples, 1 kg","Value":"1.78"},{"Cost":"Banana, 1 kg","Value":"1.06"},{"Cost":"Oranges, 1 kg","Value":"1.76"},{"Cost":"Tomato, 1 kg","Value":"1.22"},{"Cost":"Potato, 1 kg","Value":"0.99"},{"Cost":"Onion, 1 kg","Value":"1.12"},{"Cost":"Lettuce, 1 head","Value":"0.74"},{"Cost":"Water, 1.5 liter Bottle","Value":"0.59"},{"Cost":"Bottle of Wine, Mid-Range Price","Value":"10.99"},{"Cost":"Domestic Beer, 0.5 liter Bottle","Value":"0.82"},{"Cost":"Imported Beer, 0.33 liter Bottle","Value":"2.08"},{"Cost":"Pack of Cigarettes","Value":"3.14"}],"Transportation prices":[{"Cost":"One-way Ticket, Local Transport","Value":"0.31"},{"Cost":"Monthly Pass, Regular Price","Value":"18.84"},{"Cost":"Taxi Start, Normal Tariff","Value":"1.57"},{"Cost":"Taxi, price for 1 km, Normal Tariff","Value":"0.36"},{"Cost":"Taxi, price for 1 hour Waiting, Normal Tariff","Value":"5.33"},{"Cost":"Gasoline, 1 liter","Value":"1.01"},{"Cost":"Volkswagen Golf 1.4 90 KW Trendline (Or Equivalent New Car)","Value":"23,554.69"},{"Cost":"Honda Civic 1.6 Or Alternative New Car","Value":"20,806.32"}],"Utilities Per Month prices":[{"Cost":"Basic utilities for 85m2 Apartment including Electricity, Heating or Cooling, Water and Garbage","Value":"53.40"},{"Cost":"Prepaid Mobile Tariff Local, price per 1 min, No Discounts or Plans","Value":"0.04"},{"Cost":"Internet, 60 Mbps or More, Unlimited Data, Cable\/ADSL","Value":"15.09"}],"Sports And Leisure prices":[{"Cost":"Fitness Club, Monthly Fee for 1 Adult","Value":"39.60"},{"Cost":"Tennis Court Rent, 1 Hour on Weekend","Value":"10.66"}],"Salaries And Financing prices":[{"Cost":"Cinema ticket, 1 Seat","Value":"7.86"},{"Cost":"Average Monthly Net Salary, After Tax","Value":"956.70"},{"Cost":"Mortgage Interest Rate in Percentages for 20 Years Fixed-Rate, Yearly, Fixed-Rate","Value":"0.11 %"}],"Childcare prices":[{"Cost":"Private Preschool or Kindergarten, Monthly for 1 Child","Value":"776.43"},{"Cost":"International Primary School, Yearly for 1 Child","Value":"27,573.53"}],"Clothing And Shoes prices":[{"Cost":"Pair of Jeans in a Chain Store Like George, H&M, Zara, etc.","Value":"62.35"},{"Cost":"Summer Dress in a Chain Store Like George, H&M, Zara, etc.","Value":"37.05"},{"Cost":"Pair of Running Shoes, Mid-Range Price","Value":"91.96"},{"Cost":"Pair of Leather Business Shoes","Value":"84.60"}],"Rent Per Month prices":[{"Cost":"One bedroom apartment in city centre","Value":"552.79"},{"Cost":"One bedroom apartment outside of city centre","Value":"313.45"},{"Cost":"Three bedroom apartment in city centre","Value":"1,199.44"},{"Cost":"Three bedroom apartment outside of city centre","Value":"598.42"}],"Buy Apartment prices":[{"Cost":"Price per m2 to Buy Apartment in City Center","Value":"7,405.19"},{"Cost":"Price per m2 to Buy Apartment Outside of City Center","Value":"3,226.22"}]}
                                                                                                                                                                                                                    
                                                                                                    

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. 

 (More coverage, less frequently updated)



                                                                            
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":"China","City Name":"Shenzhen","Cost of Living Month Total":"754.88","Currency":"USD","Note":"Total cost of living in Shenzhen for two person with average consumption for one month will be 754.88 USD, no rent price included","Status":200,"Success":true,"Restaurants prices":[{"Cost":"Meal in Inexpensive Restaurant","Value":"5.17"},{"Cost":"Meal for 2 People, Mid-range Restaurant, Three-course","Value":"30.87"},{"Cost":"McMeal at McDonalds or Alternative Combo Meal","Value":"5.40"},{"Cost":"Cappuccino","Value":"4.69"}],"Markets prices":[{"Cost":"Eggs, 12 pack","Value":"2.56"},{"Cost":"Lettuce, 1 head","Value":"0.77"},{"Cost":"Water, 1.5 liter Bottle","Value":"0.82"},{"Cost":"Bottle of Wine, Mid-Range Price","Value":"23.15"},{"Cost":"Domestic Beer, 0.5 liter Bottle","Value":"1.12"},{"Cost":"Pack of Cigarettes","Value":"3.86"}],"Transportation prices":[{"Cost":"One-way Ticket, Local Transport","Value":"0.62"},{"Cost":"Monthly Pass, Regular Price","Value":"30.87"},{"Cost":"Taxi Start, Normal Tariff","Value":"1.54"},{"Cost":"Taxi, price for 1 hour Waiting, Normal Tariff","Value":"7.41"},{"Cost":"Volkswagen Golf 1.4 90 KW Trendline (Or Equivalent New Car)","Value":"23,151.72"}],"Utilities Per Month prices":[{"Cost":"Prepaid Mobile Tariff Local, price per 1 min, No Discounts or Plans","Value":"0.02"},{"Cost":"Internet, 60 Mbps or More, Unlimited Data, Cable\/ADSL","Value":"20.26"}],"Sports And Leisure prices":[{"Cost":"Fitness Club, Monthly Fee for 1 Adult","Value":"41.88"},{"Cost":"Tennis Court Rent, 1 Hour on Weekend","Value":"17.13"}],"Salaries And Financing prices":[{"Cost":"Cinema ticket, 1 Seat","Value":"7.72"},{"Cost":"Average Monthly Net Salary, After Tax","Value":"1,311.46"},{"Cost":"Mortgage Interest Rate in Percentages for 20 Years Fixed-Rate, Yearly, Fixed-Rate","Value":"5.21 %"}],"Childcare prices":[{"Cost":"Private Preschool or Kindergarten, Monthly for 1 Child","Value":"663.68"},{"Cost":"International Primary School, Yearly for 1 Child","Value":"24,813.89"}],"Clothing And Shoes prices":[{"Cost":"Pair of Jeans in a Chain Store Like George, H&M, Zara, etc.","Value":"65.85"},{"Cost":"Summer Dress in a Chain Store Like George, H&M, Zara, etc.","Value":"37.85"},{"Cost":"Pair of Running Shoes, Mid-Range Price","Value":"95.82"},{"Cost":"Pair of Leather Business Shoes","Value":"104.17"}],"Rent Per Month prices":[{"Cost":"One bedroom apartment in city centre","Value":"882.23"},{"Cost":"One bedroom apartment outside of city centre","Value":"516.35"},{"Cost":"Three bedroom apartment in city centre","Value":"1,749.71"},{"Cost":"Three bedroom apartment outside of city centre","Value":"1,136.78"}]}
                                                                                                                                                                                                                    
                                                                                                    

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' 

    

Get to know the cost of living from a specific country. (Updated frequently)



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

Cost Of Living by Country v2 - Endpoint Features

Object Description
country [Required] Country name.
Test Endpoint

API EXAMPLE RESPONSE

       
                                                                                                        
                                                                                                                                                                                                                            {"Version":1,"Status":200,"Success":true,"Country Name":"Yemen","Meal, Inexpensive Restaurant":"2,000.00\u00a0\ufdfc","Meal for 2 People, Mid-range Restaurant, Three-course":"6,000.00\u00a0\ufdfc","McMeal at McDonalds (or Equivalent Combo Meal)":"2,500.00\u00a0\ufdfc","Domestic Non-Alcoholic Beer (1 pint draught)":"751.05\u00a0\ufdfc","Imported Non-Alcoholic Beer (12 oz small bottle)":"1,000.00\u00a0\ufdfc","Cappuccino (regular)":"1,033.33\u00a0\ufdfc","Coke\/Pepsi (12 oz small bottle)":"408.57\u00a0\ufdfc","Water (12 oz small bottle)":"170.80\u00a0\ufdfc","Milk (regular), (1 gallon)":"2,262.71\u00a0\ufdfc","Loaf of Fresh White Bread (1 lb)":"302.44\u00a0\ufdfc","Rice (white), (1 lb)":"450.43\u00a0\ufdfc","Eggs (regular) (12)":"1,125.83\u00a0\ufdfc","Local Cheese (1 lb)":"891.19\u00a0\ufdfc","Chicken Fillets (1 lb)":"1,178.49\u00a0\ufdfc","Beef Round (1 lb) (or Equivalent Back Leg Red Meat)":"2,778.26\u00a0\ufdfc","Apples (1 lb)":"642.12\u00a0\ufdfc","Banana (1 lb)":"203.34\u00a0\ufdfc","Oranges (1 lb)":"524.39\u00a0\ufdfc","Tomato (1 lb)":"294.40\u00a0\ufdfc","Potato (1 lb)":"261.89\u00a0\ufdfc","Onion (1 lb)":"224.68\u00a0\ufdfc","Lettuce (1 head)":"154.03\u00a0\ufdfc","Water (1.5 liter bottle)":"260.13\u00a0\ufdfc","Bottle of Non-Alcoholic Wine (Mid-Range)":"500.00\u00a0\ufdfc","Domestic Non-Alcoholic Beer (0.5 liter bottle)":"376.27\u00a0\ufdfc","Cigarettes 20 Pack (Marlboro)":"1,100.00\u00a0\ufdfc","One-way Ticket (Local Transport)":"150.07\u00a0\ufdfc","Monthly Pass (Regular Price)":"16,000.00\u00a0\ufdfc","Taxi Start (Normal Tariff)":"750.00\u00a0\ufdfc","Taxi 1 mile (Normal Tariff)":"1,609.34\u00a0\ufdfc","Taxi 1hour Waiting (Normal Tariff)":"2,000.00\u00a0\ufdfc","Gasoline (1 gallon)":"2,594.90\u00a0\ufdfc","Volkswagen Golf 1.4 90 KW Trendline (Or Equivalent New Car)":"4,000,000.00\u00a0\ufdfc","Toyota Corolla Sedan 1.6l 97kW Comfort (Or Equivalent New Car)":"10,815,387.18\u00a0\ufdfc","Basic (Electricity, Heating, Cooling, Water, Garbage) for 915 sq ft Apartment":"20,607.92\u00a0\ufdfc","Mobile Phone Monthly Plan with Calls and 10GB+ Data":"3,104.00\u00a0\ufdfc","Internet (60 Mbps or More, Unlimited Data, Cable\/ADSL)":"13,227.98\u00a0\ufdfc","Fitness Club, Monthly Fee for 1 Adult":"14,810.11\u00a0\ufdfc","Tennis Court Rent (1 Hour on Weekend)":"3,959.91\u00a0\ufdfc","Cinema, International Release, 1 Seat":"1,400.00\u00a0\ufdfc","Preschool (or Kindergarten), Full Day, Private, Monthly for 1 Child":"15,159.29\u00a0\ufdfc","International Primary School, Yearly for 1 Child":"495,955.82\u00a0\ufdfc","1 Pair of Jeans (Levis 501 Or Similar)":"15,588.19\u00a0\ufdfc","1 Summer Dress in a Chain Store (Zara, H&M, ...)":"20,500.00\u00a0\ufdfc","1 Pair of Nike Running Shoes (Mid-Range)":"18,441.96\u00a0\ufdfc","1 Pair of Men Leather Business Shoes":"25,076.06\u00a0\ufdfc","Apartment (1 bedroom) in City Centre":"54,597.92\u00a0\ufdfc","Apartment (1 bedroom) Outside of Centre":"35,467.37\u00a0\ufdfc","Apartment (3 bedrooms) in City Centre":"136,288.75\u00a0\ufdfc","Apartment (3 bedrooms) Outside of Centre":"94,125.89\u00a0\ufdfc","Price per Square Feet to Buy Apartment in City Centre":"32,447.59\u00a0\ufdfc","Price per Square Feet to Buy Apartment Outside of Centre":"18,201.49\u00a0\ufdfc","Average Monthly Net Salary (After Tax)":"89,058.11\u00a0\ufdfc","Mortgage Interest Rate in Percentages (%), Yearly, for 20 Years Fixed-Rate":"12.67"}
                                                                                                                                                                                                                    
                                                                                                    

Cost Of Living by Country v2 - CODE SNIPPETS


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' 

    

Get insights about the cost of living from a specific city. (Updated frequently)



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

Cost of Living by City v2 - Endpoint Features

Object Description
country [Required] Country name.
city [Required] City code.
Test Endpoint

API EXAMPLE RESPONSE

       
                                                                                                        
                                                                                                                                                                                                                            {"Version":1,"Status":200,"Success":true,"City Name":"Washington","Meal, Inexpensive Restaurant":"25.0\u00a0$","Meal for 2 People, Mid-range Restaurant, Three-course":"100.0\u00a0$","McMeal at McDonalds (or Equivalent Combo Meal)":"12.0\u00a0$","Domestic Beer (1 pint draught)":"8.0\u00a0$","Imported Beer (12 oz small bottle)":"4.88\u00a0$","Cappuccino (regular)":"5.48\u00a0$","Coke\/Pepsi (12 oz small bottle)":"2.7\u00a0$","Water (12 oz small bottle)":"2.19\u00a0$","Milk (regular), (1 gallon)":"4.14\u00a0$","Loaf of Fresh White Bread (1 lb)":"3.96\u00a0$","Rice (white), (1 lb)":"2.36\u00a0$","Eggs (regular) (12)":"4.02\u00a0$","Local Cheese (1 lb)":"7.66\u00a0$","Chicken Fillets (1 lb)":"6.73\u00a0$","Beef Round (1 lb) (or Equivalent Back Leg Red Meat)":"8.37\u00a0$","Apples (1 lb)":"2.66\u00a0$","Banana (1 lb)":"0.87\u00a0$","Oranges (1 lb)":"2.39\u00a0$","Tomato (1 lb)":"2.68\u00a0$","Potato (1 lb)":"1.54\u00a0$","Onion (1 lb)":"1.57\u00a0$","Lettuce (1 head)":"2.54\u00a0$","Water (1.5 liter bottle)":"2.54\u00a0$","Bottle of Wine (Mid-Range)":"16.0\u00a0$","Domestic Beer (0.5 liter bottle)":"2.55\u00a0$","Cigarettes 20 Pack (Marlboro)":"11.75\u00a0$","One-way Ticket (Local Transport)":"2.75\u00a0$","Monthly Pass (Regular Price)":"80.0\u00a0$","Taxi Start (Normal Tariff)":"4.0\u00a0$","Taxi 1 mile (Normal Tariff)":"4.0\u00a0$","Taxi 1hour Waiting (Normal Tariff)":"30.0\u00a0$","Gasoline (1 gallon)":"3.67\u00a0$","Volkswagen Golf 1.4 90 KW Trendline (Or Equivalent New Car)":"35,699.74\u00a0$","Toyota Corolla Sedan 1.6l 97kW Comfort (Or Equivalent New Car)":"26,321.74\u00a0$","Basic (Electricity, Heating, Cooling, Water, Garbage) for 915 sq ft Apartment":"188.73\u00a0$","Mobile Phone Monthly Plan with Calls and 10GB+ Data":"57.09\u00a0$","Internet (60 Mbps or More, Unlimited Data, Cable\/ADSL)":"66.46\u00a0$","Fitness Club, Monthly Fee for 1 Adult":"106.36\u00a0$","Tennis Court Rent (1 Hour on Weekend)":"31.22\u00a0$","Cinema, International Release, 1 Seat":"17.18\u00a0$","Preschool (or Kindergarten), Full Day, Private, Monthly for 1 Child":"2,249.22\u00a0$","International Primary School, Yearly for 1 Child":"38,250.0\u00a0$","1 Pair of Jeans (Levis 501 Or Similar)":"72.52\u00a0$","1 Summer Dress in a Chain Store (Zara, H&M, ...)":"50.77\u00a0$","1 Pair of Nike Running Shoes (Mid-Range)":"105.47\u00a0$","1 Pair of Men Leather Business Shoes":"178.48\u00a0$","Apartment (1 bedroom) in City Centre":"2,560.23\u00a0$","Apartment (1 bedroom) Outside of Centre":"2,028.7\u00a0$","Apartment (3 bedrooms) in City Centre":"5,323.68\u00a0$","Apartment (3 bedrooms) Outside of Centre":"3,794.69\u00a0$","Price per Square Feet to Buy Apartment in City Centre":"910.84\u00a0$","Price per Square Feet to Buy Apartment Outside of Centre":"605.87\u00a0$","Average Monthly Net Salary (After Tax)":"5,722.13\u00a0$","Mortgage Interest Rate in Percentages (%), Yearly, for 20 Years Fixed-Rate":"6.55"}
                                                                                                                                                                                                                    
                                                                                                    

Cost of Living by City v2 - CODE SNIPPETS


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=austin-tx' --header 'Authorization: Bearer YOUR_API_KEY' 

    

To use this endpoint just send the request and you will get all the available countries.



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

Get Countries V2 - Endpoint Features

Object Description
Test Endpoint

API EXAMPLE RESPONSE

       
                                                                                                        
                                                                                                                                                                                                                            ["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"]
                                                                                                                                                                                                                    
                                                                                                    

Get Countries V2 - CODE SNIPPETS


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' 

    

To use this endpoint just send the request and you will get all the available cities.



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

Get Cities by Country V2 - Endpoint Features

Object Description
country [Required]
Test Endpoint

API EXAMPLE RESPONSE

       
                                                                                                        
                                                                                                                                                                                                                            {"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"]}
                                                                                                                                                                                                                    
                                                                                                    

Get Cities by Country V2 - CODE SNIPPETS


curl --location --request GET 'https://zylalabs.com/api/226/cities+cost+of+living+and+average+prices+api/6145/get+cities+by+country+v2?country=Argentina' --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
  • Custom Rate Limit
  • Dedicated account manager
  • Service-level agreement (SLA)

Customer favorite features

  • βœ”οΈŽ Only Pay for Successful Requests
  • βœ”οΈŽ Free 7-Day Trial
  • βœ”οΈŽ Multi-Language Support
  • βœ”οΈŽ One API Key, All APIs.
  • βœ”οΈŽ Intuitive Dashboard
  • βœ”οΈŽ Comprehensive Error Handling
  • βœ”οΈŽ Developer-Friendly Docs
  • βœ”οΈŽ Postman Integration
  • βœ”οΈŽ Secure HTTPS Connections
  • βœ”οΈŽ Reliable Uptime

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

Prices are listed in USD (United States Dollar), EUR (Euro), CAD (Canadian Dollar), AUD (Australian Dollar), and GBP (British Pound). 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 paying by card, just contact us at [email protected]

Additionally, if you already have an active subscription in any of these currencies (USD, EUR, CAD, AUD, GBP), that currency will remain for subsequent subscriptions. You can change the currency at any time as long as you don't have any active subscriptions.

The local currency shown on the pricing page is based on the country of your IP address and is provided for reference only. The actual prices are in USD (United States Dollar). When you make a payment, the charge will appear on your card statement in USD, even if you see the equivalent amount in your local currency on our website. This means you cannot pay directly with your local currency.

Occasionally, a bank may decline the charge due to its fraud protection settings. We suggest reaching out to your bank initially to check if they are blocking our charges. Also, you can access the Billing Portal and change the card associated to make the payment. If these does not work and you need further assistance, please contact our team at [email protected]

Prices are determined by a recurring monthly or yearly subscription, depending on the chosen plan.

API calls are deducted from your plan based on successful requests. Each plan comes with a specific number of calls that you can make per month. Only successful calls, indicated by a Status 200 response, will be counted against your total. This ensures that failed or incomplete requests do not impact your monthly quota.

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.

To upgrade your current subscription plan, simply go to the pricing page of the API and select the plan you want to upgrade to. The upgrade will be instant, allowing you to immediately enjoy the features of the new plan. Please note that any remaining calls from your previous plan will not be carried over to the new plan, so be aware of this when upgrading. You will be charged the full amount of the new plan.

To check how many API calls you have left for the current month, look at the β€˜X-Zyla-API-Calls-Monthly-Remaining’ header. For example, if your plan allows 1000 requests per month and you've used 100, this header will show 900.

To see the maximum number of API requests your plan allows, check the β€˜X-Zyla-RateLimit-Limit’ header. For instance, if your plan includes 1000 requests per month, this header will display 1000.

The β€˜X-Zyla-RateLimit-Reset’ header shows the number of seconds until your rate limit resets. This tells you when your request count will start fresh. For example, if it displays 3600, it means 3600 seconds are left until the limit resets.

Yes, you can cancel your plan anytime by going to your account and selecting the cancellation option on the Billing page. Please note that upgrades, downgrades, and cancellations take effect immediately. Additionally, upon cancellation, you will no longer have access to the service, even if you have remaining calls left in your quota.

You can contact us through our chat channel to receive immediate assistance. We are always online from 8 am to 5 pm (EST). If you reach us after that time, we will get back to you as soon as possible. Additionally, you can contact us via email at [email protected]

To let you experience our APIs without any commitment, we offer a 7-day free trial that allows you to make API calls at no cost during this period. Please note that you can only use this trial once, so make sure to use it with the API that interests you the most. Most of our APIs provide a free trial, but some may not support it.

After 7 days, you will be charged the full amount for the plan you were subscribed to during the trial. Therefore, it’s important to cancel before the trial period ends. Refund requests for forgetting to cancel on time are not accepted.

When you subscribe to an API trial, you can make only 25% of the calls allowed by that plan. For example, if the API plan offers 1000 calls, you can make only 250 during the trial. To access the full number of calls offered by the plan, you will need to subscribe to the full plan.

 Service Level
100%
 Response Time
293ms

Category:


Related APIs