avatarAmisha Singh

Summary

The web content provides an overview of 10 free and engaging APIs suitable for developers' next coding projects, ranging from NASA's space data to Spotify's music information.

Abstract

The article introduces developers to a curated list of 10 free APIs that can serve as inspiration for their next coding endeavors. These APIs cover a diverse range of topics, including space exploration with NASA Open APIs, current events with the Covid-19 API, trivia with the Random Facts API, and entertainment with the Spotify and OMDb APIs. The article emphasizes the utility of APIs in streamlining development processes, allowing developers to create applications more efficiently by leveraging pre-existing data and functionalities. It also highlights the importance of APIs in facilitating communication between systems and users, akin to how a vehicle's pedals and wheels enable movement. Each API entry includes a brief description, its purpose, and a link to its documentation, encouraging developers to explore and integrate these tools into their projects.

Opinions

  • The author suggests that learning about new APIs can be a productive way to overcome developer's block.
  • NASA Open APIs are praised for making NASA data, including the Astronomy Picture of the Day, easily accessible to developers.
  • The Covid-19 API is considered particularly useful in the current global context, with potential to contribute to humanity by enabling the creation of informative dashboards and apps.
  • The Random Facts API is noted for its extensive database and the ability to retrieve facts based on categories and subcategories, including historical 'On this day' facts.
  • Wit.ai is highlighted for its capability to process text or speech and turn it into actions, suggesting its utility in building intelligent bots and multimodal interactions.
  • REST Countries API is appreciated for providing detailed information about countries and being free to use, supported by donations.
  • The Open Weather API is recommended for incorporating comprehensive weather data into applications.
  • Spoonacular Food API is recognized for its vast collection of recipes and menu items, facilitating the development of recipe management and meal planning applications.
  • Spotify's Web API is acknowledged for its access to Spotify's music catalog and user-related data, allowing for personalized music experiences.
  • The Deck of Cards API is presented as a fun tool for developers, especially beginners, to practice using APIs through the creation of card games.
  • The OMDb API is noted for its use in creating movie search applications, with content contributed and maintained by users.

10 Fun (and Free) APIs to Use For Your Next Coding Project

From Covid-19 to Random Facts, learning about new APIs is often a great way to beat developer’s block.

Image by James Harrison on Unsplash

Often as a developer, it can be hard to come up with ideas for what to make next. In these situations, it is often helpful to learn about new APIs (Application Programming Interfaces) to gain inspiration.

What is an API?

An API or Application Programming interface is the element that promotes effective communication between the system and the user.

Let’s take the example of a vehicle that has the primary purpose of moving individuals from one location to another. Here, the vehicle’s pedals and wheels act as the API. You do not have to analyze what happens on the inside of the vehicle. As long as you’re able to use the wheels or pedals, you move.

Similarly, in software development, APIs help developers achieve functionality in their projects. For example, Google has an API that allows you to get information about maps and Twitter has an API that lets you send tweets programmatically.

Usually, an API usually has documentation that lets you know how to request information from it. Using APIs not only helps you develop faster but also more efficiently.

So, is a list of 10 fun APIs you may not have heard of. Hopefully, checking out these APIs will give you your next idea for a fun side project!

Note: Links to the documentation have been attached along with each API.

1. NASA Open APIs

NASA Open APIs make available NASA data, including imagery, eminently accessible to software developers.

One of the most popular NASA Open APIs is the Astronomy Picture of the Day (APOD). It structures the APOD imagery and associated metadata so that it can be repurposed for other applications. The full documentation for this API can be found in the APOD API Github repository.

Another popular API is The Earth Observatory Natural Event Tracker (EONET). It provides a curated list of natural events and along with a way to link those events to event-related NRT image layers. The full documentation for this API can be found here.

2. Covid-19 API

The COVID 19 API gives you access to all kinds of coronavirus-related data. Given the current circumstances, this is an incredibly useful API that can help you build something that can be really useful to humanity. It allows you to build dashboards, web or mobile apps, or integrate into other applications.

The data is sourced from Johns Hopkins CSSE. The responses are in JSON making for easy integration.

While the basic API is free to use it does have a premium version that includes a second data source with new deaths per million, population, population density, median age, aged 65 and older, aged 70 and older, GDP per capita, covid death rate, diabetes prevalence, hand washing facilities, etc.

3. Random Facts API

Random Facts API is a full-fledged facts API, which allows you to retrieve random facts based on a category, drawn from hundreds of thousands of fact entries in the database. To provide finer granularity ‘subcategory’ is supported. You can store private facts and retrieve them back. Historical facts of the type ‘On this day’ are also supported.

To see some of the facts in the database you can look at the random facts generator here.

4. Wit.ai

With the Wit.ai API, you can process text or speech and turn it into recognizable actions that your app or website can use. It can also be used to build an intelligent bot for your application. It can also be used to make multimodal interaction available to anyone, anywhere, through the applications you create.

5. REST Countries

The REST Countries API is a RESTful API that allows you to get information about the world’s countries. For example, you can send a query to get a country’s language, currency, and capital.

The API is free to use and is supported by donations.

6. Open Weather API

If you want to incorporate weather into your app, you use the Open Weather API. It allows you to gather weather data for over 200,000 cities. You can also use the API to get access to historical weather data.

The data collection includes Current Weather Data, Hourly Weather Data 4 Days, Daily forecast 16 days, Climatic Forecast 30 days, etc.

7. Spoonacular Food API

With over 5000+ recipes, 115k+ menu items, and 90k+ products, the Spoonacular Food API allows you to easily and efficiently create recipe management, meal planning, and recipe analysis applications.

You can find recipes to use ingredients you already have, find recipes based on nutritional requirements, extract recipes from any website, classify a recipe’s type or cuisine, generate an entire meal plan or shopping list, and even create a chatbot.

8. Spotify API

Spotify’s Web API allows you to query data about music artists, albums, and tracks, directly from the Spotify Data Catalogue. The API is based on simple REST principles and the endpoints return JSON metadata about queried information.

Along with this, the Web API also provides access to user-related data, such as playlists and music that the user saves in the Your Music library. Such access is enabled through selective authorization, by the user.

9. Deck of Cards API

One of the most fun ways to develop your programming skills is building different card games, especially if you’ve run into a roadblock on what to make next.

The Deck of Cards API allows you to implement a deck of cards into your program without having to code them yourselves and is an excellent way for new programmers to practice using APIs.

10. OMDb API

The Open Movie Database API is a RESTful web service to obtain movie information. All the content and images on the site are contributed and maintained by users.

It can be used to create a movie search app which returns the movie along with its ratings, reviews, and posters.

Web Development
Software Development
API
App Development
Developer
Recommended from ReadMedium