List of APIs to use for creating JavaScript/React App
Kritika Srivastava
Posted on March 21, 2021
Hello,Dev Friends.In this article I have written about a list of certain public APIs which you can use for practice as a beginner in React/JavaScript.Before starting with creating Apps in React using Public APIs,learn React basics and about fetch/axios,http requests,JSON.Learn to read the documentation of any API for its usage.
So,here goes the list:
1.Quotes API:
API Link
You can generate random quotes on clicking a button using this API.Make use of fetch and useEffect.
Github Repository
Demo
2.Currency Converter:
API Link
This API has currency exchange rates which you can use for creating currency converter app.
Github Repository
Demo
3.Robohash API:
Website-https://robohash.org/
This API is used for generating unique robot/alien/monster images by adding any text at the end of the above url.
Github Repository
Demo link
4.Random user API:
API Link
You can generate random user and his/her details by using this API.
5.Weather API:
Website-https://openweathermap.org/api
Search for weather of any city with the help of the given API.Generate your API key for usage.
6.OMDB Movie API:
Website-http://www.omdbapi.com/
Search for the movies through this API and you can also display Single movie details separately by using React Router.API key is required.
7.Covid-19 API:
API Link
Through this API you can generate Covid-19 data of different countries.
Refer to this tutorial
There are many APIs but I don't want to overwhelm someone who is starting with React/JavaScript.You can start with these APIs first for practice.
Posted on March 21, 2021
Join Our Newsletter. No Spam, Only the good stuff.
Sign up to receive the latest update from our blog.