World Cost of Living API

Dive into the heartbeat of cities worldwide with the World Cost of Living API. Uncover the economic rhythms, revealing essentials' prices—housing, groceries, transportation, and entertainment. This API empowers informed decisions by providing insights into average salaries and purchasing power, guiding you through the dynamic realm of global living costs.

About the API:

Embark on a global economic journey with the World Cost of Living API, a comprehensive tool that allows you to delve into the heartbeat of cities worldwide. This API serves as a virtual compass, unraveling the intricate tapestry of essential prices—from housing and groceries to transportation and entertainment—across diverse locales.

Unlock valuable insights into average salaries and purchasing power, offering a nuanced understanding of the economic landscapes that shape everyday life. By providing a detailed overview of living costs, the API empowers users to make informed decisions about relocation, travel, or investment, taking into account the dynamic nature of global economies.

Whether you're a traveler planning your next adventure, a business considering international expansion, or an individual contemplating a change of residence, the World Cost of Living API is a powerful ally. It acts as a reliable guide, allowing you to compare and contrast living expenses, salaries, and purchasing power in different cities. Navigate the dynamic realm of economic variability with confidence, armed with the data needed to optimize decisions and enhance your overall quality of life. From financial analysts to curious globetrotters, this API opens up a wealth of information, fostering a deeper understanding of the world's diverse economic landscapes.

 

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

This API will receive the 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 use cases of this API?

  1. Expatriate Decision Support: The World Cost of Living API enables expatriates and individuals considering international relocation to make informed decisions. By comparing living costs, essential expenses, and average salaries across cities, users can assess the financial implications of moving to a new location, ensuring a smoother transition.

  2. Business Expansion Planning: Businesses planning global expansion can utilize the API to assess the economic viability of potential locations. Analyzing the cost of living, salary expectations, and purchasing power in different cities aids in strategic decision-making, helping companies optimize their budgets and enhance employee satisfaction.

  3. Travel Budgeting: Travelers can leverage the API to budget effectively for trips to various destinations. By exploring the costs of accommodation, food, transportation, and entertainment, users can plan their expenses accordingly, ensuring a well-managed and enjoyable travel experience that aligns with their financial preferences.

  4. Real Estate Investment Strategy: Investors in real estate can use the API to evaluate the economic landscape of different cities. Understanding the cost of living, housing prices, and local purchasing power allows investors to make data-driven decisions, identifying lucrative opportunities and potential challenges in the real estate market.

  5. Salary Benchmarking for Recruitment: HR professionals and recruiters can benefit from the API by benchmarking salaries across locations. This helps in setting competitive and fair compensation packages based on the cost of living in specific cities, attracting top talent and ensuring that salaries align with local economic conditions.

 

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


Get a list of all the supported cities within the USA. 



                                                                            
GET https://zylalabs.com/api/3440/world+cost+of+living+api/3744/get+cities
                                                                            
                                                                        

Get Cities - Endpoint Features

Object Description
country [Required] Country name
Test Endpoint

API EXAMPLE RESPONSE

       
                                                                                                        
                                                                                                                                                                                                                            [{"id":991,"country":"israel","name":"Afula, Israel","city":"afula","url":"\/country\/israel\/city\/afula\/cost-of-living","iso3":"isr"},{"id":992,"country":"israel","name":"Ashdod, Israel","city":"ashdod","url":"\/country\/israel\/city\/ashdod\/cost-of-living","iso3":"isr"},{"id":993,"country":"israel","name":"Ashkelon, Israel","city":"ashqelon","url":"\/country\/israel\/city\/ashqelon\/cost-of-living","iso3":"isr"},{"id":994,"country":"israel","name":"Bat Yam, Israel","city":"bat-yam","url":"\/country\/israel\/city\/bat-yam\/cost-of-living","iso3":"isr"},{"id":995,"country":"israel","name":"Be'er Sheva, Israel","city":"beersheba","url":"\/country\/israel\/city\/beersheba\/cost-of-living","iso3":"isr"},{"id":996,"country":"israel","name":"Bet Shemesh, Israel","city":"bet-shemesh","url":"\/country\/israel\/city\/bet-shemesh\/cost-of-living","iso3":"isr"},{"id":997,"country":"israel","name":"Giv'atayim, Israel","city":"giv-atayim","url":"\/country\/israel\/city\/giv-atayim\/cost-of-living","iso3":"isr"},{"id":998,"country":"israel","name":"Hadera, Israel","city":"hadera","url":"\/country\/israel\/city\/hadera\/cost-of-living","iso3":"isr"},{"id":999,"country":"israel","name":"Haifa, Israel","city":"haifa","url":"\/country\/israel\/city\/haifa\/cost-of-living","iso3":"isr"},{"id":1000,"country":"israel","name":"Herzliya, Israel","city":"herzliya","url":"\/country\/israel\/city\/herzliya\/cost-of-living","iso3":"isr"},{"id":1001,"country":"israel","name":"Hod Hasharon, Israel","city":"hod-hasharon","url":"\/country\/israel\/city\/hod-hasharon\/cost-of-living","iso3":"isr"},{"id":1002,"country":"israel","name":"Holon, Israel","city":"holon","url":"\/country\/israel\/city\/holon\/cost-of-living","iso3":"isr"},{"id":1003,"country":"israel","name":"Jerusalem, Israel","city":"jerusalem","url":"\/country\/israel\/city\/jerusalem\/cost-of-living","iso3":"isr"},{"id":1004,"country":"israel","name":"Karmiel, Israel","city":"karmiel","url":"\/country\/israel\/city\/karmiel\/cost-of-living","iso3":"isr"},{"id":1005,"country":"israel","name":"Kefar Sava, Israel","city":"kefar-sava","url":"\/country\/israel\/city\/kefar-sava\/cost-of-living","iso3":"isr"},{"id":1006,"country":"israel","name":"Kiryat Bialik, Israel","city":"kiryat-bialik","url":"\/country\/israel\/city\/kiryat-bialik\/cost-of-living","iso3":"isr"},{"id":1007,"country":"israel","name":"Kiryat Motzkin, Israel","city":"kiryat-motzkin","url":"\/country\/israel\/city\/kiryat-motzkin\/cost-of-living","iso3":"isr"},{"id":1008,"country":"israel","name":"Modi'in-Maccabim-Re'ut, Israel","city":"modiin","url":"\/country\/israel\/city\/modiin\/cost-of-living","iso3":"isr"},{"id":1009,"country":"israel","name":"Nahariyya, Israel","city":"nahariyya","url":"\/country\/israel\/city\/nahariyya\/cost-of-living","iso3":"isr"},{"id":1010,"country":"israel","name":"Nazareth, Israel","city":"nazareth","url":"\/country\/israel\/city\/nazareth\/cost-of-living","iso3":"isr"},{"id":1011,"country":"israel","name":"Netanya, Israel","city":"netanya","url":"\/country\/israel\/city\/netanya\/cost-of-living","iso3":"isr"},{"id":1012,"country":"israel","name":"Petah Tikva, Israel","city":"petah-tikva","url":"\/country\/israel\/city\/petah-tikva\/cost-of-living","iso3":"isr"},{"id":1013,"country":"israel","name":"Ra'anana, Israel","city":"raanana","url":"\/country\/israel\/city\/raanana\/cost-of-living","iso3":"isr"},{"id":1014,"country":"israel","name":"Ramat Gan, Israel","city":"ramat-gan","url":"\/country\/israel\/city\/ramat-gan\/cost-of-living","iso3":"isr"},{"id":1015,"country":"israel","name":"Ramat Hasharon, Israel","city":"ramat-hasharon","url":"\/country\/israel\/city\/ramat-hasharon\/cost-of-living","iso3":"isr"},{"id":1016,"country":"israel","name":"Ramla, Israel","city":"ramla","url":"\/country\/israel\/city\/ramla\/cost-of-living","iso3":"isr"},{"id":1017,"country":"israel","name":"Rehovot, Israel","city":"rehovot","url":"\/country\/israel\/city\/rehovot\/cost-of-living","iso3":"isr"},{"id":1018,"country":"israel","name":"Rishon LeTsiyon, Israel","city":"rishon-leziyyon","url":"\/country\/israel\/city\/rishon-leziyyon\/cost-of-living","iso3":"isr"},{"id":1019,"country":"israel","name":"Tel Aviv-Yafo, Israel","city":"tel-aviv-yafo","url":"\/country\/israel\/city\/tel-aviv-yafo\/cost-of-living","iso3":"isr"},{"id":1020,"country":"israel","name":"Yokne'am Illit, Israel","city":"yokneam-illit","url":"\/country\/israel\/city\/yokneam-illit\/cost-of-living","iso3":"isr"},{"id":1021,"country":"israel","name":"Zikhron Ya'akov, Israel","city":"zikhron-ya-akov","url":"\/country\/israel\/city\/zikhron-ya-akov\/cost-of-living","iso3":"isr"},{"id":3991,"country":"israel","name":"Acre, Israel","city":"acre","url":"\/country\/israel\/city\/acre\/cost-of-living","iso3":"isr"},{"id":4134,"country":"israel","name":"Sde Yitzhak, Israel","city":"sde-yitzhak","url":"\/country\/israel\/city\/sde-yitzhak\/cost-of-living","iso3":"isr"},{"id":4135,"country":"israel","name":"Tiberias, Israel","city":"tiberias","url":"\/country\/israel\/city\/tiberias\/cost-of-living","iso3":"isr"},{"id":4136,"country":"israel","name":"Pardes Hanna-Karkur, Israel","city":"pardes-hanna-karkur","url":"\/country\/israel\/city\/pardes-hanna-karkur\/cost-of-living","iso3":"isr"},{"id":4143,"country":"israel","name":"Kiryat Gat, Israel","city":"kiryat-gat","url":"\/country\/israel\/city\/kiryat-gat\/cost-of-living","iso3":"isr"},{"id":4144,"country":"israel","name":"Kiryat Ono, Israel","city":"kiryat-ono","url":"\/country\/israel\/city\/kiryat-ono\/cost-of-living","iso3":"isr"},{"id":4146,"country":"israel","name":"Qiryat Shemona, Israel","city":"qiryat-shemona","url":"\/country\/israel\/city\/qiryat-shemona\/cost-of-living","iso3":"isr"},{"id":4147,"country":"israel","name":"Lod, Israel","city":"lod","url":"\/country\/israel\/city\/lod\/cost-of-living","iso3":"isr"},{"id":4148,"country":"israel","name":"Mitzpe Ramon, Israel","city":"mitzpe-ramon","url":"\/country\/israel\/city\/mitzpe-ramon\/cost-of-living","iso3":"isr"},{"id":4149,"country":"israel","name":"Eilat, Israel","city":"eilat","url":"\/country\/israel\/city\/eilat\/cost-of-living","iso3":"isr"},{"id":4150,"country":"israel","name":"Kiryat Ata, Israel","city":"kiryat-ata","url":"\/country\/israel\/city\/kiryat-ata\/cost-of-living","iso3":"isr"},{"id":4151,"country":"israel","name":"Gush Etzion, Israel","city":"gush-etzion","url":"\/country\/israel\/city\/gush-etzion\/cost-of-living","iso3":"isr"},{"id":4152,"country":"israel","name":"Ari'el, Israel","city":"ari-el","url":"\/country\/israel\/city\/ari-el\/cost-of-living","iso3":"isr"},{"id":7863,"country":"israel","name":"Kiryat Tiv'on, Israel","city":"kiryat-tiv-on","url":"\/country\/israel\/city\/kiryat-tiv-on\/cost-of-living","iso3":"isr"},{"id":8194,"country":"israel","name":"Tirat Carmel, Israel","city":"tirat-carmel","url":"\/country\/israel\/city\/tirat-carmel\/cost-of-living","iso3":"isr"},{"id":8391,"country":"israel","name":"Arad, Israel","city":"arad","url":"\/country\/israel\/city\/arad\/cost-of-living","iso3":"isr"},{"id":8399,"country":"israel","name":"Tzur Moshe, Israel","city":"tzur-moshe","url":"\/country\/israel\/city\/tzur-moshe\/cost-of-living","iso3":"isr"},{"id":8676,"country":"israel","name":"Gan Shmuel, Israel","city":"gan-shmuel","url":"\/country\/israel\/city\/gan-shmuel\/cost-of-living","iso3":"isr"},{"id":8709,"country":"israel","name":"Kfar Ha-Oranim, Israel","city":"kfar-ha-oranim","url":"\/country\/israel\/city\/kfar-ha-oranim\/cost-of-living","iso3":"isr"}]
                                                                                                                                                                                                                    
                                                                                                    

Get Cities - CODE SNIPPETS


curl --location --request GET 'https://zylalabs.com/api/3440/world+cost+of+living+api/3744/get+cities?country=united-states' --header 'Authorization: Bearer YOUR_API_KEY' 


    

Pass the USA city to check its prices and other relevant information. 



                                                                            
GET https://zylalabs.com/api/3440/world+cost+of+living+api/3745/get+prices
                                                                            
                                                                        

Get Prices - Endpoint Features

Object Description
country [Required]
city [Required] City to lookup. Retrieved on "supported cities" endpoint.
Test Endpoint

API EXAMPLE RESPONSE

       
                                                                                                        
                                                                                                                                                                                                                            {"Version":1,"Status":200,"Success":true,"City Name":"Istanbul","Meal, Inexpensive Restaurant":"400.00\u00a0TL","Meal for 2 People, Mid-range Restaurant, Three-course":"1,571.36\u00a0TL","McMeal at McDonalds (or Equivalent Combo Meal)":"270.00\u00a0TL","Domestic Beer (1 pint draught)":"132.50\u00a0TL","Imported Beer (12 oz small bottle)":"96.32\u00a0TL","Cappuccino (regular)":"115.89\u00a0TL","Coke\/Pepsi (12 oz small bottle)":"48.65\u00a0TL","Water (12 oz small bottle)":"17.12\u00a0TL","Milk (regular), (1 gallon)":"142.95\u00a0TL","Loaf of Fresh White Bread (1 lb)":"26.64\u00a0TL","Rice (white), (1 lb)":"29.51\u00a0TL","Eggs (regular) (12)":"68.67\u00a0TL","Local Cheese (1 lb)":"157.86\u00a0TL","Chicken Fillets (1 lb)":"93.45\u00a0TL","Beef Round (1 lb) (or Equivalent Back Leg Red Meat)":"301.59\u00a0TL","Apples (1 lb)":"19.46\u00a0TL","Banana (1 lb)":"34.35\u00a0TL","Oranges (1 lb)":"17.08\u00a0TL","Tomato (1 lb)":"19.47\u00a0TL","Potato (1 lb)":"9.73\u00a0TL","Onion (1 lb)":"8.78\u00a0TL","Lettuce (1 head)":"33.31\u00a0TL","Water (1.5 liter bottle)":"16.21\u00a0TL","Bottle of Wine (Mid-Range)":"385.00\u00a0TL","Domestic Beer (0.5 liter bottle)":"71.79\u00a0TL","Cigarettes 20 Pack (Marlboro)":"75.00\u00a0TL","One-way Ticket (Local Transport)":"20.00\u00a0TL","Monthly Pass (Regular Price)":"1,400.00\u00a0TL","Taxi Start (Normal Tariff)":"30.00\u00a0TL","Taxi 1 mile (Normal Tariff)":"32.19\u00a0TL","Taxi 1hour Waiting (Normal Tariff)":"250.00\u00a0TL","Gasoline (1 gallon)":"163.52\u00a0TL","Volkswagen Golf 1.4 90 KW Trendline (Or Equivalent New Car)":"1,500,000.00\u00a0TL","Toyota Corolla Sedan 1.6l 97kW Comfort (Or Equivalent New Car)":"1,470,652.30\u00a0TL","Basic (Electricity, Heating, Cooling, Water, Garbage) for 915 sq ft Apartment":"2,020.41\u00a0TL","Mobile Phone Monthly Plan with Calls and 10GB+ Data":"371.91\u00a0TL","Internet (60 Mbps or More, Unlimited Data, Cable\/ADSL)":"451.43\u00a0TL","Fitness Club, Monthly Fee for 1 Adult":"1,754.00\u00a0TL","Tennis Court Rent (1 Hour on Weekend)":"512.65\u00a0TL","Cinema, International Release, 1 Seat":"250.00\u00a0TL","Preschool (or Kindergarten), Full Day, Private, Monthly for 1 Child":"23,038.07\u00a0TL","International Primary School, Yearly for 1 Child":"565,375.05\u00a0TL","1 Pair of Jeans (Levis 501 Or Similar)":"1,980.59\u00a0TL","1 Summer Dress in a Chain Store (Zara, H&M, ...)":"1,473.42\u00a0TL","1 Pair of Nike Running Shoes (Mid-Range)":"3,497.61\u00a0TL","1 Pair of Men Leather Business Shoes":"3,012.29\u00a0TL","Apartment (1 bedroom) in City Centre":"31,441.75\u00a0TL","Apartment (1 bedroom) Outside of Centre":"19,679.38\u00a0TL","Apartment (3 bedrooms) in City Centre":"57,474.58\u00a0TL","Apartment (3 bedrooms) Outside of Centre":"35,001.68\u00a0TL","Price per Square Feet to Buy Apartment in City Centre":"10,514.73\u00a0TL","Price per Square Feet to Buy Apartment Outside of Centre":"5,685.37\u00a0TL","Average Monthly Net Salary (After Tax)":"29,516.15\u00a0TL","Mortgage Interest Rate in Percentages (%), Yearly, for 20 Years Fixed-Rate":"47.94"}
                                                                                                                                                                                                                    
                                                                                                    

Get Prices - CODE SNIPPETS


curl --location --request GET 'https://zylalabs.com/api/3440/world+cost+of+living+api/3745/get+prices?country=united-states&city=houston-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 World Cost of Living 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
  • Specialized Customer Support
  • Real-Time API Monitoring

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 World Cost of Living API is a data service providing detailed information on the prices of goods and services in cities across the globe. It covers a spectrum of expenses, including housing, groceries, transportation, and entertainment.

To access the API, make HTTP requests to the designated endpoint with parameters specifying the city or region of interest. The API will respond with comprehensive data on various expenses.

The API includes information on diverse cost categories, encompassing housing, groceries, transportation, entertainment, and more. Users can retrieve granular data to understand the complete economic landscape of a particular location.

The API aims to provide up-to-date information, but the frequency of updates may vary. Users should refer to the API documentation for details on data update intervals and ensure the relevance of the retrieved data.

Absolutely. The API is designed to support comparisons between different cities, allowing users to analyze and contrast the cost of living indices, average salaries, and purchasing power across various locations.

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
588ms

Category:


Related APIs