DEV Community

Free and Fake APIs You Can Use to Practice Front End Development

John Au-Yeung on February 23, 2020

Subscribe to my email list now at http://jauyeung.net/subscribe/ Follow me on Twitter at https://twitter.com/AuMayeung Many more articles at http...
Collapse
 
crimsonmed profile image
Médéric Burlet

Any api is a very good one as it compiles information of a lot of open api
any-api.com/

I think you could include NASA API it has a lot of data and information available to the public:
api.nasa.gov/

Open Weather is also a good one:
openweathermap.org/api

For any Anime Fan I would recommend:
animenewsnetwork.com/encyclopedia/...
This is a good one as it lets you get movie like information, covers, actors, and more.

Last but not least the must have of all APIs
pokeapi.co/

Collapse
 
aumayeung profile image
John Au-Yeung

NASA's API is pretty high quality. Lots of photos URLs, data for near-earth objects, etc.

Open Weather API also a good free weather API to practice with.

The other ones are also good finds.

Collapse
 
znick1982 profile image
Nikolay

If you need to design an API, for example, create custom methods, generate and save some data on the server I can recommend fake.rest
It's a project-based service, with a variety of settings for HTTP response.

Collapse
 
aumayeung profile image
John Au-Yeung

That looks good. I see that it can seed data according to the docs, which makes it even better.

Creating data by hand is awful.

Collapse
 
znick1982 profile image
Nikolay

Thanks.
Yes, the data can be seeded in Store Arrays and used in CRUD operations or could be regenerated dynamically for each response if required.

Collapse
 
scrabill profile image
Shannon Crabill

Dog CEO is the best.

Here are some other fun APIs I found recently.

Collapse
 
aumayeung profile image
John Au-Yeung

Thanks. These are good for practice.

Collapse
 
chriswalt64 profile image
Chris Walters (He/Him)

One tool I have been using is crudpi.io/

It lets you create a standalone CRUD API. I like this in particular because it lets you format your JSON return however you want it, and it also includes some auto-values to give you sample data (Random First and Last names for example).

Good read!

Collapse
 
aumayeung profile image
John Au-Yeung

Thanks. Your site looks good. If it has auth built-in, then it's even better.

Collapse
 
vladgen profile image
David

Hi guys, you can try DevApiService. I discover it a few week ago and I'm delighted because this online tool has a lot of functions that I need. Some of them are: mock API, fake API, sort the results of the API, pagination, token authentication, share APIs with other users, etc. An interesting functionality is that you are the owner of the data you upload and you can modify it all you want without limits.

Collapse
 
vikramchandra profile image
Vikram Sharma

For those developing news apps (like I did) this list of news apis offers many free apis.

Collapse
 
aumayeung profile image
John Au-Yeung

These are good. I would also add the New York Times API to the list.

Any of them give full content for free?

Collapse
 
vikramchandra profile image
Vikram Sharma

I don't think anyone gives full content for free.

Collapse
 
nikacodes profile image
Nicole Zonnenberg

pokeapi.co/

Pokemon API is one of my favorites :D

Collapse
 
aumayeung profile image
John Au-Yeung

It's good. It has lots of endpoints and data you can display.

Collapse
 
douglasfugazi profile image
Douglas Fugazi

Cool recommendations 👍😊

Collapse
 
aumayeung profile image
John Au-Yeung

Thanks

Collapse
 
sally profile image
Sally

I'm rather fond of the US National Parks one. There's tons of information per park, including alerts, which are frequently updated and sometimes contain warnings about bears. Win win.

Collapse
 
aumayeung profile image
John Au-Yeung

Thanks. I didn't know that existed

Collapse
 
ilyaukin profile image
Ilya Lyaukin

jsonplaceholder.typicode.com/
also good fake API

Collapse
 
shar profile image
Shar

One more who wants to create pdf using api html2pdf.app

Collapse
 
devsimc profile image
Simc Dev

You can check mine also for sample data api

Collapse
 
ilyaukin profile image
Ilya Lyaukin

Petfinder bans every new registered account from API calls after few minutes. Not very convenient.

Collapse
 
steelwolf180 profile image
Max Ong Zong Bao

Hmm..is there husky api or shiba inu apis?

Collapse
 
lenwtet profile image
Alexey

Yep. shibe.online