I am often asked for API examples. The problem for me was always pointing someone to business APIs without them having access to those APIs. Cameren Dolecheck came up with a post with a collection of public APIs solving this dilemma:
- PokeAPI The largest media franchise of all time now has an easy way to get data on the 800+ Pokemon.
- NASA API Space, the final frontier. Get data on astroids, galaxies, and more.
- Open Food Facts A huge amount of data on food products from around the world.
- TransLoc OpenAPI Get live data of public transportation of cities and college campuses.
- Urban Dictionary API It’s amazing what slang people come up with.
- Merriam-Webster Dictionary API For those that want real words’ definitions and synonyms.
- Numbers API Interesting facts and trivia on numbers.
- WeatherBit API Current and historical weather data.
- US Government Data API A fairly big catch-all for dozens of United State data samples such as agriculture, health, and public safety.
- Bible API The best selling book of all time. The greatest story ever told.
Beside this he points to two other great resources for public APIs:
You can find a huge list of public apis at this Github and an even grander list at RapidAPI.
If you are looking in how to design APIs or how they are built have a look at these sources.