Mocks, but production-grade
A collection of realistic mock APIs for testing and development. Deterministic data generation with filtering, pagination, and comprehensive examples.
An opensource production from the folks at Bruno.
- 5 Domains - Flights, Hotels, Songs, Billing, Posts
- 25+ Endpoints - Comprehensive API coverage
- 1,000+ Records - Realistic mock data
npm installnpm startThe server will start on http://localhost:3000 (or the port specified in PORT environment variable).
Flight search, bookings, and airline data
Endpoints:
GET /flights- Search flights with filtering and paginationGET /flights/orders- Get flight ordersGET /flights/lookups/airports- List available airportsGET /flights/lookups/airlines- List airlinesGET /flights/lookups/aircraftTypes- List aircraft typesGET /flights/lookups/fareTypes- List fare types
Hotel search, reservations, and property data
Endpoints:
GET /hotels- Search hotels with filtering and paginationGET /hotels/orders- Get hotel ordersGET /hotels/lookups/cities- List available citiesGET /hotels/lookups/hotelChains- List hotel chainsGET /hotels/lookups/roomTypes- List room typesGET /hotels/lookups/amenities- List amenitiesGET /hotels/lookups/propertyTypes- List property types
Music catalog, purchases, and metadata
Endpoints:
GET /songs- Search songs with filtering and paginationGET /songs/orders- Get song ordersGET /songs/lookups/genres- List music genresGET /songs/lookups/artists- List artistsGET /songs/lookups/formats- List available formatsGET /songs/lookups/recordLabels- List record labels
Customers, subscriptions, payments, and invoices
Endpoints:
GET /billing/customers- Get customersGET /billing/subscriptions- Get subscriptionsGET /billing/payments- Get paymentsGET /billing/invoices- Get invoicesGET /billing/lookups/currencies- List currenciesGET /billing/lookups/paymentMethods- List payment methodsGET /billing/lookups/subscriptionStatuses- List subscription statusesGET /billing/lookups/paymentStatuses- List payment statusesGET /billing/lookups/invoiceStatuses- List invoice statusesGET /billing/lookups/customerStatuses- List customer statusesGET /billing/lookups/plans- List subscription plans
Blog posts, comments, authors, and content
Endpoints:
GET /posts- Get posts with filtering and paginationGET /posts/comments- Get commentsGET /posts/authors- Get authorsGET /posts/lookups/categories- List post categoriesGET /posts/lookups/tags- List tagsGET /posts/lookups/postStatuses- List post statusesGET /posts/lookups/commentStatuses- List comment statuses
- Deterministic Data Generation - Consistent mock data across API calls
- Filtering - Filter results by various parameters
- Pagination - Page-based pagination with configurable page size
- Comprehensive Examples - OpenCollection examples for all endpoints
- Swagger Documentation - Interactive API documentation at
/spec - OpenCollection Docs - Full documentation at
/docs
- API Specification: Visit
/specfor interactive Swagger documentation - OpenCollection Docs: Visit
/docsfor comprehensive API documentation
Most endpoints support:
page- Page number (default: 1)per_page- Items per page (default: 10, max: 50)- Domain-specific filters (see individual endpoint documentation)
Responses include an x-total-count header with the total number of matching records.
The logo is open source and sourced from SVG Repo.
This project is licensed under the MIT License. See LICENSE.md for details.
An opensource production from the folks at Bruno.