GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - jermbo/SampleAPIs: A simple, no fuss, no mess, no auth playground for learning RESTful or GraphQL APIs.

BranchesTags
Open more actions menu

Latest commit

 

History

817 Commits
817 Commits

Folders and files

NameName
Last commit message
Last commit date
.github/workflows
.github/workflows
 
 
client
client
 
 
docs
docs
 
 
endpoint-test
endpoint-test
 
 
server
server
 
 
.editorconfig
.editorconfig
 
 
.eslintrc
.eslintrc
 
 
.gitignore
.gitignore
 
 
.nvmrc
.nvmrc
 
 
.prettierrc
.prettierrc
 
 
CODE_OF_CONDUCT.md
CODE_OF_CONDUCT.md
 
 
CONTRIBUTING.md
CONTRIBUTING.md
 
 
Change_log.md
Change_log.md
 
 
LICENSE
LICENSE
 
 
README.md
README.md
 
 
SampleAPI-3.0-Screenshot.png
SampleAPI-3.0-Screenshot.png
 
 
checkdiff.sh
checkdiff.sh
 
 
docker-compose.yml
docker-compose.yml
 
 
package.json
package.json
 
 

Repository files navigation

Sample APIs

Screenshot

Purpose

Understanding RESTful APIs is hard enough without wrestling with authentication at the same time. SampleAPIs is a free playground of sample REST endpoints for learning: no keys, no tokens, no sign-up. Pick an endpoint and start fetching. If you don't find data you like, contribute your own.

How to use the service

Choose an API, say futurama, then choose a resource, say characters:

const resp = await fetch("https://api.sampleapis.com/futurama/characters");
const data = await resp.json();
console.log(data);

Want to search? Filter by any field, including nested ones:

const resp = await fetch("https://api.sampleapis.com/futurama/characters?name.first=Bender");
const data = await resp.json();
console.log(data);

You also have full CRUD — POST, PUT, PATCH, and DELETE all work and actually persist. The data resets to its original state on a regular basis (and whenever new endpoints ship), so experiment freely. The full query syntax, pagination, and error shapes are documented in the API docs.

Documentation

The project wiki covers the whole system in short, linked pages — architecture, the API surface, the data lifecycle, the React client, operations, and the reasoning behind the design.

Running locally

Requires Node.js ≥ 26.

npm install && npm install --prefix server && npm install --prefix client
npm run dev

API at http://localhost:5555, site at http://localhost:4444. Details (including the Docker setup) live in Local Development.

Contributing

The most valued contribution is a new dataset. Start with the Contributing guide and Adding an Endpoint. For history, see the Change Log.

Disclaimers

  • The data on this site is for educational purposes only and is not owned by SampleAPIs.com.
  • Data is reset back to its original state on a regular basis. If you want your additions to persist as part of the collection, contribute them via pull request.
  • By using SampleAPIs.com you agree to the following terms: this service is provided as-is. It might change or be discontinued without prior notice. The maker of this service can't be held liable in any way for any reason.

About

A simple, no fuss, no mess, no auth playground for learning RESTful or GraphQL APIs.

sampleapis.com/

Topics

apijavascriptjson-servernoderestful

Resources

Readme
MIT license

Code of conduct

Code of conduct

Contributing

Contributing
Activity

Stars

224 stars

Watchers

3 watching

Forks

57 forks
Report repository

Releases

Packages

Used by

Contributors

Languages

You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.