Predictable JSON, stable slugs, and enough data variety for realistic UIs.
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.
Search, filters, pagination, and single-item routes for repeatable QA scenarios.
Brand, category, slug, rating, and price filters are already wired in.
Payloads are detailed enough for cards, filters, product pages, and tables.
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.
Realistic record shape
Every gadget includes identifiers, brand metadata, tags, summaries, and nested specs so UI states look believable.
Useful route mix
List, detail, slug, featured, categories, brands, random, and search routes make integration and testing easier.
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.
/api/v1/health
Check service status, version, dataset counts, and runtime.
/api/v1/gadgets?limit=4&sort=rating_desc
List gadgets with pagination, sorting, category, brand, and price filters.
/api/v1/gadgets/104
Fetch a single record by numeric id for detail pages or record drill-downs.
/api/v1/gadgets/slug/nova-x1
Fetch a single record by stable slug for routes that mirror production frontends.
/api/v1/search?name=drift
Search records by partial name, brand, category, summary text, or tags.
/api/v1/random
Grab a random item for placeholder content, loading states, and quick demos.
/api/v1/categories
Return category names and counts for menus, filter sidebars, and docs pages.
/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.
category, brand, limit, page, sort, minPrice, maxPrice
Only safe GET, HEAD, and OPTIONS requests are accepted.
Designed for Cloudflare Pages and Pages Functions so the site can stay live on a free plan.
Common hardening headers are added on every response.
/api/v1/featured
Examples
Drop it into apps, tests, or automation fast
The samples below automatically use the domain you loaded this page from.