Based from the title, you're probably wondering why if there is Google to help you look? Right?
Well, when I was was in the bootcamp, we had to build projects every phase and in need of these types of resources and build our own web app from it. I know there is alot more ways to search for these online, but this blog is to help save one's time in doing so.
First, what is a public API?
A public API is also known as open API. Open for public use and is usually free!
So, here's a few public APIs that either just caught my eye for a future build, or have used on my old projects!
1.Pexels
- Photo/Video API
- Authorization: You would just need to request an API key by making a Pexels account and on the Doc is the format how to utilize that key on your code. It'll get you 20,000 request limit per month.
2.NHTSA - National Highway Traffic Safety Administration
- Vehicle Info/Specs API(Seems always updated, currently on Version: 3.7 - Last Code Change 6/12/2021)
- Authorization: No API key needed!
Sample response from the API:Variable List
3.Random Joke
- There's also endpoints like
/random_ten, /jokes/random,
or/jokes/ten
.- Authorization: No API key needed!
Sample response from the API:/random_ten endpoint
4.Pokemon API
- Free and open to use source of Pokemon data! From names, to sprites, to evolution chain! There are so much ways you can utilize this API with so much information it holds.
- Authorization: No API key needed!
Sample images from the API: https://pokeapi.co/api/v2/pokemon/{:id} endpoint
5.MakeUp API
- Free source of cosmetic products, very usefule if you need to build a mock cosmetic webapp (Con: some of the image links aren't updated and you might need a default photo for those)
- Authorization: No API key needed!
Sample response from the API: Base URL
6.Skincare API
- 1,700+ skincare products with their ingredient list and brand.
- Authorization: No need for API key or signup
7. Random Colors
- Returns a random hex-code in a string. Responses can be JSON and you can search by tags.
- Authorization: No need for API key or signup
8. Dictionary API
- Base URL syntax:
https://api.dictionaryapi.dev/api/v2/entries/<language_code>/<word>
- Free and supports 13 languages!
- Authorization: No API key needed!
9. Songsterr
- Returns an array of songs per artist or word search. It supports xml, json, and plist.
- Authorization: No need for API key or signup Easy to follow Docs:
Other sources for free API that I have used are from:
- RapidAPI
- Public API - Github repo - Easy to go through since its sorted if you need any authorization.
- Postman Public API - might need a little more time to browse around to see details of each API.
Hope this was helpful to anyone looking into utilizing some free & easy-access APIs into their projects! If you have any other suggestions of resources, feel free to share it in the comments below!
Until the next one!
Top comments (0)