Some examples from this list of Public APIs.
These APIs return pretty simple data (usually a single object with a few properties).
-
GET https://jsonplaceholder.typicode.com/posts
-
Random dog:
GET https://random.dog/woof.json
-
GET https://random-d.uk/api/random
-
GET https://animechan.xyz/api/random
These APIs generally return data that often have nested data types (arrays within arrays, objects within objects, etc).
-
-
A list of Pokemon
GET https://pokeapi.co/api/v2/pokemon/
-
The Ditto pokemon
GET https://pokeapi.co/api/v2/pokemon/ditto
-
-
-
A list of all endpoints for this API
GET https://www.dnd5eapi.co/api/
-
A list of all races in D&D 5e
GET https://www.dnd5eapi.co/api/races
-
Information for the Dragonborn race
GET https://www.dnd5eapi.co/api/races/elf
-
These APIs generally require multiple requests and storage of data. See documentation for examples.
- Deck of Cards API: For building card-based games.