MockForge API
MockForge API Free public JSON for testing
Live on Cloudflare

Mock data that behaves like a real product API

Give developers a public testing API that feels sharp, useful, and alive.

MockForge API gives developers, testers, and QA teams a polished catalog they can query right away. It is free, read-only, Cloudflare-hosted, and shaped for demos, integration tests, dashboards, and API tooling.

16 gadgets Search + filters No auth friction Pages Functions
Open Playground
Built for frontend demos

Predictable JSON, stable slugs, and enough data variety for realistic UIs.

Built for testers

Search, filters, pagination, and single-item routes for repeatable QA scenarios.

Searchable catalog

Brand, category, slug, rating, and price filters are already wired in.

Demo-friendly responses

Payloads are detailed enough for cards, filters, product pages, and tables.

Long-term free hosting

Made for Cloudflare Pages + Functions so your site can stay public without server bills.

Why MockForge

Designed like a product, not a throwaway sample dump

The goal is not just to return JSON. The goal is to give developers and testers a free API they actually enjoy using, with enough visual trust and structure to feel credible in demos and technical workflows.

01

Realistic record shape

Every gadget includes identifiers, brand metadata, tags, summaries, and nested specs so UI states look believable.

02

Useful route mix

List, detail, slug, featured, categories, brands, random, and search routes make integration and testing easier.

03

Public by default

No sign-up wall, no mutation risk, and no private setup before someone can start building against it.

Endpoints

Small API surface, high practical value

The endpoint set stays intentionally compact so people can understand it quickly, test it fast, and reuse it in demos, QA flows, onboarding exercises, portfolio projects, and API clients.

GET /api/v1/health

Check service status, version, dataset counts, and runtime.

GET /api/v1/gadgets?limit=4&sort=rating_desc

List gadgets with pagination, sorting, category, brand, and price filters.

GET /api/v1/gadgets/104

Fetch a single record by numeric id for detail pages or record drill-downs.

GET /api/v1/gadgets/slug/nova-x1

Fetch a single record by stable slug for routes that mirror production frontends.

GET /api/v1/search?name=drift

Search records by partial name, brand, category, summary text, or tags.

GET /api/v1/random

Grab a random item for placeholder content, loading states, and quick demos.

GET /api/v1/categories

Return category names and counts for menus, filter sidebars, and docs pages.

GET /api/v1/brands

Return brand names and counts for filtering, faceting, and API exploration UIs.

Playground

See the API answer in real time

Click any endpoint card, choose a route below, or use the quick request rail. The response panel fetches live JSON from this deployed API.

Available query params

category, brand, limit, page, sort, minPrice, maxPrice

Public read-only API

Only safe GET, HEAD, and OPTIONS requests are accepted.

Free-tier hosting

Designed for Cloudflare Pages and Pages Functions so the site can stay live on a free plan.

Security headers

Common hardening headers are added on every response.

Live JSON Response

/api/v1/featured

Ready

          

Examples

Drop it into apps, tests, or automation fast

The samples below automatically use the domain you loaded this page from.

curl
JavaScript
Playwright