About Fun API Playground

Fun API Playground is a sandbox for practising REST API testing. It exists because the realistic parts of API work — the 429 you have to back off from, the 412 that means someone else wrote first, the POST that timed out and may or may not have gone through — are exactly the parts you cannot rehearse against a real production API without consequences.

Who it is for

QA engineers writing their first API test suite, developers learning what the headers in an HTTP exchange are actually for, students who need an endpoint that answers immediately, and anyone building a client who wants to see it meet a failure before a customer does.

No account, no API key, no quota to apply for. The documented Bearer tokens are printed on every docs page because they are demo credentials, not secrets.

How it actually works

There are two of everything. The web playground runs the entire API engine inside your browser, with no backend involved at all — that is why "Try it out" answers instantly and keeps working offline. The same catalog is also served over the real network by a single Express application on Firebase Cloud Functions, backed by Firestore, for when you need a genuine HTTP round trip from curl, Postman or CI.

Both are generated from one catalog definition, so the docs, the OpenAPI 3.1 spec, the Postman collection and the live endpoints cannot describe different APIs.

What is real and what is pretend

The data is invented. The characters, orders, flights and transfers are fiction, and no endpoint here is a proxy for a real service.

The HTTP behaviour is not invented. Rate limits are counted in a shared store over a live window. Webhook deliveries are signed with a real HMAC you can verify. Tokens are genuinely signed and genuinely expire. Optimistic concurrency compares real version tokens, and writes run inside real transactions. That distinction is the entire point: practising against a mock that only pretends to fail teaches you nothing about the client you are writing.

Your data

Requests are isolated per caller by a sandbox id, so anything you create, edit or delete is yours and resets on demand. There is nothing to sign up with, so there is no account to leak.

Analytics load only after an explicit opt-in — decline and no third-party tag is ever fetched.

Who writes this

Azmi YÜKSEL

github.com/azmiyuksel

Questions, corrections, teaching or partnership enquiries: info@funapi.dev. See the privacy notice and terms of use.

How the playground behaves

TopicCurrent behavior
PurposeA training sandbox for API testing, learning and demonstrations; not a production data service.
Browser modeRequests run in the browser engine. API data resets when the page reloads or you reset it; saved collections and progress stay on this device.
Live modeReal HTTPS requests use the /api prefix. Send a unique X-Sandbox-ID and reuse it throughout a test sequence.
IsolationLive clients using different sandbox identifiers have separate data. Do not share identifiers between independent test runs.
RetentionLive sandbox data is eligible for asynchronous cleanup after 24 hours of inactivity. It is temporary practice data, not durable storage.
ResetPOST /api/_reset with the demo admin Bearer token resets only the caller’s sandbox. Reset and sandbox creation are limited to 10 per minute per IP.
AuthenticationRead the endpoint contract. Some routes are public; protected routes use documented demo credentials, API keys or JWT/OAuth flows.
Rate limitsScenario limits and protective server limits apply. Inspect 429, Retry-After and the endpoint documentation.
CORSThe live API supports cross-origin practice requests. CORS browser rules do not replace authentication.
AvailabilityNo uptime or production service-level guarantee is offered. Certain endpoints return errors intentionally.
PrivacyDo not send real personal data or private credentials. Optional analytics loads only after consent.
Source of truthEndpoint documentation and the generated OpenAPI contract describe the current supported requests.

Editorial and review policy

Examples are checked against the shared endpoint catalog and isolated local HTTP tests. Training errors are identified explicitly.

Definitions link to primary standards or official documentation. Comparison sources and their review dates are shown so readers can check changing claims.

Translations preserve API paths, code, field names and demo credentials. Report a confusing translation or example through the maintainer profile when available.

Published and modified dates describe content history. An unknown original publication date is omitted instead of inferred from an unrelated source file.

All 55 mock REST APIs · Getting started guide · Testing techniques

Last updated