Skip to content

An API for getting the cost of living in a city

Notifications You must be signed in to change notification settings

GhettoGeek/cost-of-living-api

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Cost of Living API

Unofficial Numbeo Cost of Living JSON API

To access our API, if you want to use http connection please use URL prefix http://www.numbeo.com:8008/api/ (this might not work in a browser that uses HSTS while it should work in command line clients such as wget or curl). If you want to use secure https connection please use URL prefix https://www.numbeo.com/api/

Getting Started

First, install dependencies:

npm install

Then run the application in development mode:

npm run dev

API

/:city?currency

Returns the cost of different items in the requested city. Return an empty array of costs if there is not city data available.

Params

city

The city for which you want to retrieve cost-of-living data for

Query

currency

The three letter currency code for the currency you want values in. Defaults to CAD.

About

An API for getting the cost of living in a city

https://cost-of-living-api-lqvgibwbps.now.sh (Inactive)

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 100.0%