Guides

10 Best Public & Dummy APIs for Testing (2026)

Rishi GauravUpdated Aug 19, 20266 min read

Quick answer

JSONPlaceholder is the most commonly used dummy API for testing — free, no auth, predictable fake CRUD data, used throughout most API testing tutorials including this site's own. httpbin.org simulates specific HTTP behaviors (status codes, delays, redirects) to test your own tooling rather than a fake business domain; PokeAPI and the GitHub REST API are real public APIs with real pagination and rate limits; and restful-booker was purpose-built by the test-automation community for practice.

Reviewed by Smeet Gohel

Share:
Comparison table showing whether writes persist, auth is required, and rate limits are real across JSONPlaceholder, httpbin.org, and the GitHub API

Public and dummy APIs for testing give you a real HTTP endpoint to send requests against without building or hosting anything yourself — useful for learning a framework, writing example tests, or reproducing a specific HTTP behavior your own tooling needs to handle correctly. This list covers the ones actually worth knowing, grouped by what they're good for.

Table of Contents

  1. Comparison Table
  2. Fake CRUD Data APIs
  3. HTTP Behavior Simulation
  4. Real Public APIs
  5. Built for Test-Automation Practice
  6. How to Choose
  7. FAQ

Public and dummy APIs for testing grouped by fake CRUD data, HTTP behavior, real APIs, and test-automation practice

Comparison Table

APICategoryAuth requiredBest for
JSONPlaceholderFake CRUDNoneDefault choice for learning any framework
ReqResFake CRUDNoneUser-management-style resources with pagination
Fake Store APIFake CRUDNoneE-commerce-shaped data (products, carts)
DummyJSONFake CRUDOptional (simulated login)Larger dataset, simulated auth flows
httpbin.orgHTTP behaviorNoneTesting your own tooling's handling of status codes, delays, redirects
PokeAPIReal APINoneDeeply nested response schemas
GitHub REST APIReal APIOptional (higher rate limit with a token)Real pagination, rate limiting, production auth patterns
OpenWeatherMapReal APIAPI keyPracticing external API-key auth
restful-bookerTest practiceToken-basedPurpose-built for learning authenticated API testing

Fake CRUD Data APIs

  • JSONPlaceholder — the default choice used throughout most current API testing tutorials, including every framework tutorial on this site. No auth, predictable resources (/users, /posts, /comments, /albums, /photos, /todos), and stable, well-documented behavior.
  • ReqRes — user-management-shaped resources with realistic pagination, useful when your test cases specifically need to exercise paginated list endpoints.
  • Fake Store API — e-commerce-themed data (products, carts, users), useful for practicing test cases shaped like a shopping-cart or catalog domain rather than generic posts/comments.
  • DummyJSON — a larger dataset across products, carts, users, posts, comments, quotes, and recipes, with a simulated login flow for practicing authenticated request patterns.

Ready to shift left with your API testing?

Try our no-code API test automation platform free. Generate tests from OpenAPI, run in CI/CD, and scale quality.

Important for all four: writes don't persist. A POST returns a realistic 201 with what looks like a newly created resource, but nothing is actually stored — a follow-up GET for that same ID won't return it. This is fine for learning framework syntax; it's not a substitute for testing against a real backend with real state.

HTTP Behavior Simulation

  • httpbin.org — not a fake business domain, but a tool for simulating exact HTTP behaviors: /status/404 returns a specific status code on demand, /delay/3 responds after a defined number of seconds, /headers echoes back what your client actually sent, /redirect/3 chains through a defined number of redirects. This is the tool to reach for when you need to verify your own test framework's timeout, retry, or redirect-following behavior actually works — see the common pitfalls sections in our framework tutorials for why an unhandled timeout is a recurring real bug.

Real Public APIs

  • PokeAPI — a real, free, no-auth public API with genuinely deep, nested response data, useful specifically for practicing schema validation and nested-field assertions against realistic complexity a flat fake-data API doesn't provide.
  • GitHub REST API — real production infrastructure with generous unauthenticated rate limits (higher with a token), useful for practicing against real pagination headers, real rate-limit responses, and a genuinely well-documented, versioned API contract.
  • OpenWeatherMap — a real API requiring a free-tier API key, useful specifically for practicing API-key-based authentication and handling a third-party service with its own rate limits and quota behavior.

Built for Test-Automation Practice

  • restful-booker — a demo API created specifically for the test-automation community to practice against, including a token-based auth flow, making it a common choice specifically for learning authenticated request patterns beyond what the simpler fake-CRUD APIs above cover.

How to Choose

  • Learning a new framework's basic syntax → JSONPlaceholder — the most predictable, most-documented default.
  • Need pagination in your example test cases → ReqRes.
  • Need auth-flow practice specifically → DummyJSON or restful-booker.
  • Need to verify your own framework handles timeouts/retries/redirects correctly → httpbin.org.
  • Need deeply nested response data for schema validation practice → PokeAPI.
  • Need real rate-limiting and pagination behavior, not simulated → the GitHub REST API.

Free Guided worksheet

Build Your Testing Strategy in 30 Minutes

A structured worksheet that walks you through defining your testing strategy in 30 minutes. Cover architecture, tools, layers, and team responsibilities.

Download Free

Frequently Asked Questions

What is the best free dummy API for testing? JSONPlaceholder — free, no auth, predictable fake CRUD data, used throughout most current API testing tutorials.

What is httpbin.org used for? Testing your own tooling against specific HTTP conditions — status codes, delays, redirects, header echoing — rather than simulating a fake business domain.

Do writes to a dummy API like JSONPlaceholder actually persist? No — they simulate a realistic response without actually storing the change.

What is restful-booker and why was it built? A demo API purpose-built for the test-automation community to practice against, including token-based auth.

Should I test against a real public API or a dummy one? Dummy APIs for learning a framework or writing examples; real public APIs when you want to practice against genuine rate limiting, pagination, and auth.

Can I use these APIs to test my own test framework's timeout and retry handling? Yes — httpbin.org's /delay/{n} endpoint is built exactly for this.

Key Takeaways

  • JSONPlaceholder is the default for a reason — stable, documented, no-auth, and used throughout this site's own tutorials.
  • Writes to fake-data APIs never persist — don't mistake a realistic 201 response for actual stored state.
  • httpbin.org tests your tooling, not a fake domain — reach for it specifically to verify timeout/retry/redirect handling.
  • Real public APIs (PokeAPI, GitHub) are worth using when you need genuine rate-limiting and pagination behavior, not a simulation of it.
  • restful-booker exists specifically for test-automation practice, including auth flows the simpler fake-CRUD APIs don't cover.

Ready to shift left with your API testing?

Try our no-code API test automation platform free.