Skip to content

PhantomJSON is a free mock REST API that returns realistic, relational data across 34 endpoints. No signup. No API keys. No backend required.

Make a single HTTP request and get paginated, searchable, filterable data that behaves like a production API — because the query patterns are identical.

  • Frontend developers building UIs before the backend is ready
  • Mobile developers who need realistic data for prototyping
  • Full-stack developers testing API integrations
  • Learners studying REST patterns, data fetching, and API design

Unlike simple placeholder services that return flat lorem-ipsum records, PhantomJSON provides:

  • Relational data — foreign keys, nested routes, linked resources across 4 domains
  • Production-like behavior — pagination, filtering, sorting, full-text search, field selection
  • Error and latency simulation?mockStatus=400 and ?delay=500 on any endpoint
  • No accounts — every endpoint is fully public, no rate-limited “free tier” gating
Domain Endpoints Examples
E-commerce 7 Products, orders, carts, coupons, brands
Social 7 Profiles, posts, comments, followers, likes
Organizations 6 Teams, departments, employees, projects
Travel 8 Flights, hotels, airports, destinations
Terminal window
curl "https://api.phantomjson.app/v1/products?limit=3"

That’s it. You have realistic data. Build something.

PhantomJSON is MIT licensed. The API, documentation, and seeders are all public. Contributions welcome.