Here is a completely non-authoritative non-official not-necessarily-most-up-to-date-but-I-try list of Public API endpoints I have found over the years that are good for learning, experimenting, and testing… Most of them do not require you to sign up for an API Key. Some links go directly to the APIs for results, some go to their documentation. Feel free to drop me an email or tweet to let me know of some change I should make to the below. These things, being free for one and all, come and go faster than I notice so YMMV.
My MOST Valuable (Not Beginner) Testing APIs
These require particular request arguments or temporary signup. Beginners - go to the next section.
- POST Test: https://www.toptal.com/developers/postbin/
- POST/PUT/PATCH Test: https://dummyjson.com/ - Has an extensive schema of fake data
- MySQL Tests: https://www.db4free.net/ - Create a temporary SQL database (via signup)
Simple GET
Testing
Super Simple
- Evil Insult generator https://evilinsult.com/generate_insult.php?lang=en&type=text - 1 line text response.
- YES or NO?: https://yesno.wtf/api/ - Simple JSON response.
- Breaking Bad Quotes: https://api.breakingbadquotes.xyz/v1/quotes - Simple JSON response.
Simple Text-JSON responses…
- https://api.chucknorris.io/jokes/random/ - Chuck Norris Jokes - THE Classic
- https://api.github.com/ - Github’s “How to use our API” response = The exact same response every time.
- https://whatthecommit.com/ - Random short commit message as HTML content.
- https://api.adviceslip.com/ - Advice Quote .json
- https://ipinfo.io/json - A
.json()
file with info about IP-Addresses (yours or others) - https://timeapi.io/ - The Time (set here as EST)
- http://worldtimeapi.org/api/ip - World Time
- http://metaphorpsum.com/paragraphs/2/3?p=true - Slightly Fancy Lorem Ipsum Text gen - this gets 2 ¶ of 3-sentences wrapped in
<p>
tags - https://litipsum.com/ - Random not quite Lorem Ipsum Text (see the ‘API’ link for different arguments)
- https://www.uuidtools.com/docs - Generate “UUIDs” in lots of specific combinations
- https://quotesondesign.com/ - Quotes About Design
- https://api-ninjas.com/api/loremipsum - Ipsum Text
- https://loripsum.net/ - Pretty customizable Lorem Ipsum generator
- https://baconipsum.com/json-api/ - Bacon Ipsum Text
More… “Robust” Data Sources
- https://swapi.co/ - Star Wars API [https://swapi.co/documentation
- https://pokeapi.co/ - Pokemon API
- https://rickandmortyapi.com/ - Rick and Morty API
- https://opentdb.com/ - Open Trivia Database
- https://restcountries.eu/ - Info about Countries
- https://omdbapi.com/ - Open Movie Database API
- http://poetrydb.org/ - Poetry Database API
- https://reqres.in/ - Has its own schema of fake data
- https://randomuser.me/ - Random “Users” Fake People
- https://dog.ceo/dog-api/ - Dog Breeds Info & Images
- https://thedogapi.com/ - Dog Breeds API but you need to sign up for an API Key
- http://wttr.in/03031?T0Q - Weather as particular peculiar ASCII-Art Text
- https://www.datamuse.com/api/ - Searching about words - rhymes/spellings/sounds
- https://finalspaceapi.com/ - Final Space (Some animated show? 🤷) API
- https://xkcd.com/614/info.0.json - A
.json
with data for anyxkcd.com
comic found via comic # (See https://xkcd.com/json.html ) - https://picsum.photos/list - A
.json
containing image links from a [below listed] image-service.
Even More Complex Data Requests + “Big Boy” Custom Schema Tools…
-
https://httpbin.org/ - ⫷ Data, Plus Login/Auth/Cookies/Images/Dynamic Data/Status Codes/ Form posts… LOTS!
- https://reqres.in/ - Buncha random data, supports
POST
/PUT
/PATCH
/DELETE
request testing - https://jsonplaceholder.typicode.com/ - Some random data, supports
POST
/PUT
/PATCH
/DELETE
request testing - http://deckofcardsapi.com/ <~~~ Fully Control a Deck of cards.
- Custom Schema - https://my-json-server.typicode.com/ - Fake Online REST server for teams
- Custom Schema - https://www.mocky.io/ - API Mocks for Free
- Custom Schema - https://postman-echo.com/get?It=Is&A=Free&ECHO=Server’ - Custom Mock GET Response
- ( https://funtranslations.com/api/ - List of Fun “Translation” APIs (Yoda, Klingon, Pirate etc) - for post/response)
- https://random-data-api.com/ - Random Data in a particular single schema
GraphQL Servers
- PokemonAPI v2 GraphQL - https://beta.pokeapi.co/graphql/console/
- Rick & Morty API GraphQL - https://rickandmortyapi.com/graphql/
- GraphQLZero- https://graphqlzero.almansi.me/ - Fake Online GraphQL API for Testing and Prototyping
Image Filler Libraries Galore
These APIs return images of various formats/sizes/specifications depending on the requests sent. They are constantly coming and going - (pour one out for fillmurray.com 😢) so, yaknow yaknow…
Generic Wireframe Filler Images
Useful, but not fun…you can specify sizes, colors, even text-content. It’s like a single call to return an image of a made up custom <div>
…
- Dynamic Dummy Image Generator - https://dummyimage.com/
- DummyJSON’s Image placeholder - https://dummyjson.com/image/300
- Better Placeholder.com - https://betterplaceholder.com/
- Placeholder.com - Example: https://via.placeholder.com/200x200/aabbcc/010101/?text=Some+Custom+Text.png
- FakeImg.pl - https://fakeimg.pl/
- PlaceSkull - https://placeskull.com/ - notable specificallybecause it returns
.svg
image placeholders.
Random Images
-
Lorem Flickr - https://loremflickr.com/ - Lots of options… random, grayscale, colored, searches && / -
https://loremflickr.com/g/320/240/dog,cat = match dog cat (add /all for &&) - https://loremflickr.com/500/850?random=2
-
- Picsum Photos - https://picsum.photos/
- https://thispersondoesnotexist.com/ - Random image of nonexistent people.
Fun Random Image Libraries
- Library of Kitten Images - http://placekitten.com
- Library of Bearded Dude Images - https://placebeard.it
- Library of Bear Images - https://placebear.com/
- Library of Bacon Images - https://baconmockup.com
- Pokemon Sprite by ID# -
https://raw.githubusercontent.com/PokeAPI/sprites/master/sprites/pokemon/${Pokemon_ID_Number}.png
- Unique Images (based on your provided text input) - https://robohash.org/
- Unsplash - https://unsplash.com/developers - Everyone knows it nowadays. Free Pics! Ya do need to register an API-Key though.
Public Sites Explicitly for DATA\Web SCRAPING:
For practicing scraping and getting data with libraries like puppeteer, etc…
‘Local’ Random-Data Libraries
I’m including to this list that you can use local node-packages/libraries to generate fake data if you need it - Take a look at the following:
Random Random Stuff…
- https://www.boredapi.com/ - An Example full-stack [MEVN] API App with full source available at https://github.com/drewthoennes/Bored-API
- International Space Station Data APIs - http://open-notify.org/Open-Notify-API/
- The SpaceX Public API ➡ https://api.spacexdata.com/v4/launches/latest
- Hacker News Search API - https://hn.algolia.com/ - Experiment to get what you want…
- Mockit Tool - https://mockit.netlify.app/ - Kind of an all-of-the-above Server/Client/API Sorry but it’s hard to explain.
- Airflight Stats - https://developer.flightstats.com/api-docs/flightstatus/v2
- Weather from Wunderground (need an API Key) - https://www.wunderground.com/weather/api/
- Lots of APIs and API-metrics data available… via an API 🤯 - https://api.apis.guru/ 🔃…
Other Lists of APIs:
Don’t worry - these are just as bad as mine 😇…
- https://sampleapis.com/
- https://apis.guru/
- https://github.com/public-apis/public-apis
- https://apislist.com/
- https://github.com/templeman/awesome-ipsum - Lots of Lorem Ipsum generators