DEV Community

Cover image for List of APIs to use for creating JavaScript/React App
Kritika Srivastava
Kritika Srivastava

Posted on

List of APIs to use for creating JavaScript/React App

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.

Happy Coding :)
You can follow me on Twitter and Github.

Top comments (10)

Collapse
 
hmble profile image
hmble

For those who dont know theres a github repository of all available public apis

github.com/public-apis/public-apis

Use them to build something awsome.

Collapse
 
codeystein profile image
codeyStein

an API to browse APIs, GENIUS

Collapse
 
atharvamistry profile image
Jaimeen Makavana

it is awesome , thanks man!

Collapse
 
crimsonmed profile image
Médéric Burlet

Missing the most important ones:
Pokemon Data (with images) pokeapi.co/
LOTR (because best text content) the-one-api.dev/
Simple Image Placeholder picsum.photos/

Collapse
 
joshuauche profile image
Joshuauche

Nice

Collapse
 
mafee6 profile image
Mafee7

I really Needed this

Collapse
 
lifesav25680171 profile image
lifesaver

Great

Collapse
 
mrdulin profile image
official_dulin
Collapse
 
bobbyiliev profile image
Bobby Iliev

Great list!

You've missed the QuizAPI 🙌

Collapse
 
bazalduadw profile image
Bazaldua

Thanks a lot! :)