REST APIs for Everyone
A collection of 5 fully-featured RESTful APIs for testing, learning, and development. Real-world data, multiple authentication methods, and comprehensive documentation.
curl /api/books/books \
-H "X-API-Key: test-api-key-1"const res = await fetch('/api/books/books', {
headers: { 'X-API-Key': 'test-api-key-1' }
});
const data = await res.json();import requests
res = requests.get('/api/books/books',
headers={'X-API-Key': 'test-api-key-1'})
data = res.json()Each API is fully documented with OpenAPI specs. Use GET /api/{name}/openapi.yaml to get the spec, or POST /api/{name}/reset to restore default data.
/api/flightsAviation API with airports, airlines, flights, and bookings. Features async booking confirmation with polling pattern.
Try it:
curl -X POST /api/flights/auth/token \
-H "Content-Type: application/json" \
-d '{"username":"demo","password":"demo123"}'/api/booksLibrary API with classic literature, authors, publishers, and reviews. Search across the entire catalog.
Try it:
curl /api/books/books \
-H "X-API-Key: test-api-key-1"/api/warehouseInventory management with polymorphic items (electronics, furniture, clothing, food, tools). Webhook-based async orders.
Try it:
curl /api/warehouse/items \
-u warehouse_user:warehouse_pass/api/schoolEducation management with students, teachers, classes, grades, and attendance. Session-based authentication.
Try it:
curl -X POST /api/school/auth/login \
-H "Content-Type: application/json" \
-d '{"username":"admin","password":"school123"}' \
-c cookies.txt/api/spaceCosmic database with planets, stars, galaxies, constellations, space missions, and astronauts.
Try it:
curl /api/space/planets \
-u space_user:space_passJWT, OAuth2, API Key, Basic Auth, Session Cookies, and Custom Headers
Authentic data: real airports, classic books, actual planets and stars
Learn async patterns with polling (Flights) and webhooks (Warehouse)
Complete OpenAPI 3.0 documentation for every API endpoint
Built-in rate limits with standard X-RateLimit headers
Consistent pagination, sorting, and powerful filtering options
| API | Primary Auth | Secondary Auth | Demo Credentials |
|---|---|---|---|
| Flights | JWT Bearer | OAuth2 | demo / demo123 |
| Books | API Key (header) | API Key (query) | test-api-key-1 |
| Warehouse | Basic Auth | X-Warehouse-Token | warehouse_user / warehouse_pass |
| School | Session Cookie | API Key | admin / school123 |
| Space | JWT Bearer | Basic Auth | space_user / space_pass |