APIs

InterLinked is proud to bring you a number of unique APIs you may or may not find anywhere else!

Below, you can browse our APIs and their usage instructions. Personal usage of our APIs is free with registration. Commercial use also requires permission.

InterLinked maintains no guarantee of accuracy or reliability of our APIs and is not liable for the any consequences of usages of our APIs.


Weather City ID

OpenWeatherMap provides a range of useful free and paid APIs.

Some of their APIs accept a "city ID" as an argument. You can obtain these as a 41 MB JSON file if you want, but that's generally not easy to work with in an application.

Instead of trying to load a huge JSON file into memory and parse, take advantage of our database-backed OpenWeatherMap city lookup services, available 24/7. You can provide a city, and optionally, a state and/or country, and we will return all the cities that match your request. You can then use that in your application.

Usage Instructions

https://api.interlinked.us/city?key=KEY&city=London&state=KY&country=US[&start]

Optional arguments: state and country. Specify as many arguments as you can for best accuracy. If the start parameter is specified, the request will return any city/state/country combos that start with the inputs (default is to require a full match). If the flexible parameter is specified, the provided state can match either the state OR the country (which can be useful when dealing with international requests). If you enable flexible mode, the country argument is ignored.

Example Usage:

https://api.interlinked.us/city?key=DEMO&city=London&state=KY&country=US

https://api.interlinked.us/city?key=DEMO&city=London

https://api.interlinked.us/city?key=DEMO&city=London&country=GB

Song Release Year

Ever wondered what year a particular song was released?

This API will let you know approximately what year pretty much any song was released. All you need to do is feed in the name and artist of the song. Internally, we use this to provide "nice to know" information about songs playing on radio stations.

Usage Instructions

https://api.interlinked.us/song?key=KEY&title=songname&artist=artistname&fpr=[true/false]

Optional arguments: specify fpr=true to limit results to years 1979 and older. Specify as many arguments as you can for best accuracy.

Example Usage:

https://api.interlinked.us/song/?key=DEMO&title=venus&artist=bananarama → 1986

https://api.interlinked.us/song/?key=DEMO&title=venus&artist=shocking%20blue → 1970

https://api.interlinked.us/song/?key=DEMO&title=like%20a%20rolling%20stone&artist=bob%20dylan → 1965

Obviously, these are a few examples of the API working. You can expect it to be less reliable when feeding it songs of which many versions or covers exist. Beyond that, it will sometimes fail for seemingly no reason. From extensive testing, it works about 80%-85% of the time. It will either spit back the correct year, the wrong year, an error, or nothing at all, simply because our algorithims are not 100% exhaustive.

Like our APIs? Want to contribute? Looking for a cool API that doesn't exist that you think we should create? We want to hear from you!