New in 2.4: Test runs you can trust See what's new →

Opening your dashboard…

v2.4 · NewFreeReal API endpointsNo sign-up

Test APIs without building a backend.

Realistic REST endpoints for building frontends, testing HTTP clients and exploring how APIs behave. No account or key needed: send a request and get real JSON back in seconds.

New: run 30 API tests generated from an OpenAPI spec, no account needed
Base URLhttps://api.testingapis.com
  • Free to use
  • No authentication
  • CORS enabled
  • Realistic data
GETapi.testingapis.com/api/Products?limit=2
[
  {
    "id": 1,
    "title": "Wireless Noise-Cancelling Headphones",
    "price": 249.99,
    "description": "Over-ear headphones with 30hr battery life and active noise cancellation.",
    "category": "electronics",
    "image": "https://picsum.photos/seed/prod1/400/400",
    "rating": {"rate": 4.3, "count": 127},
    "inStock": true,
    "createdAt": "2025-06-12T10:30:00Z"
  },
  …
]
200 OKexample393 B
Live API · real JSON
Free API endpoints
360
Real data for your frontend and tests
API requests served
Counted live: every call to the free and mock APIs
Free developer tools
28
JSON, JWT, cURL and more, in your browser
Accounts required
0
Start testing immediately

Playground

Send a request to the live API

Pick an endpoint or an example, edit the request and send it to the running API, not a mock.

  • Real APINot a mock
  • 59 endpointsReady to send
  • Every methodGET, POST, PUT, PATCH, DELETE
  • Live responseWith headers & timing

Request

Query parameters

KeyValueRemove

Any endpoint also takes delay (seconds, up to 10) and error (a status code).

Code examples

curl 'https://api.testingapis.com/api/Products?limit=3'

Response

No response yet

Press Send to call the live API. If it has been idle, the first response can take a few seconds.

Responses come straight from the live API.

API reference

Browse the API by category

53 groups of endpoints in 7 categories. Each group has a reference page with example requests and responses.

Use cases

Built for the way developers test

  • Frontend development

    Build lists, detail pages and forms against realistic JSON before the real API exists. Resources support paging, sorting and search.

    Products API
  • HTTP client testing

    Check how your client sends methods, headers, query strings and bodies. Echo sends back exactly what it received.

    Echo endpoints
  • Authentication testing

    Practise Basic, Bearer, JWT, API key, OAuth 2.0, OAuth 1.0a, Digest and HMAC flows with known test credentials, including the failure cases.

    Auth test endpoints
  • Error handling

    Force a 503, a slow response or an odd JSON payload and see how your app copes, without touching a real service.

    Errors on demand
  • Learning REST APIs

    Lessons walk through requests, responses, status codes and test cases, with requests you can run as you read.

    Start the lessons
  • QA and automation

    Point Postman collections, test suites and CI jobs at stable URLs with seeded data that is the same after every restart.

    Automating API tests

How it works

From URL to response in three steps

Pick an endpoint, send a real request with your own parameters, and inspect the live response. No account needed.

View the full API reference53 groups · 360 endpoints
  1. Step 1: Choose an endpoint

    Find one in the playground or the reference. Each shows its parameters and an example response.

  2. Step 2: Send a request

    From your app, a terminal, Postman or the playground. It's a normal HTTPS call.

    curl 'https://api.testingapis.com/api/Products/1' \
      -H 'Accept: application/json'
  3. Step 3: Inspect the response

    Read the status, headers and JSON, then use it in your UI or write assertions in a test.

    200 OK
    {
      "id": 1,
      "title": "Wireless Noise-Cancelling Headphones",
      "price": 249.99,
      "description": "Over-ear headphones with 30hr battery life and active noise cancellation.",
      "category": "electronics",
      "image": "https://picsum.photos/seed/prod1/400/400",
      "rating": {"rate": 4.3, "count": 127},
      "inStock": true,
      "createdAt": "2025-06-12T10:30:00Z"
    }

Quick start

Call it from any language

It's plain HTTPS and JSON, so any HTTP client works. Each example fetches five products, which need no key.

fetch('https://api.testingapis.com/api/Products?limit=5')
  .then(res => res.json())
  .then(data => console.log(data))
[
  {
    "id": 1,
    "title": "Wireless Noise-Cancelling Headphones",
    "price": 249.99,
    "description": "Over-ear headphones with 30hr battery life and active noise cancellation.",
    "category": "electronics",
    "image": "https://picsum.photos/seed/prod1/400/400",
    "rating": { "rate": 4.3, "count": 127 },
    "inStock": true,
    "createdAt": "2025-06-12T10:30:00Z"
  },
  ...
]
  • JSON by default

    Responses are JSON by default. Lists accept limit, page, sort and q.

  • No key required

    No API key or sign-up, for any endpoint.

  • Use any HTTP client

    Works with fetch, axios, requests, Postman, Insomnia or a code generator.

Prefer a client? Import the OpenAPI file into Postman, Insomnia or a code generator.

Why testingapis.com

A hosted fake API instead of mocks in your code

No server to run, no mock library to configure and no fixtures to keep in step. Point your code at real HTTP endpoints that return realistic JSON, and spend the time on your application.

Nothing to run
No server, database or mock library to set up. Point your code at one base URL.
Real HTTP
Requests cross the network, so you see real status codes, headers, CORS and latency, not a stub inside your test.
Variety under one host
360 endpoints, from CRUD resources to streaming, webhooks, pagination styles and SOAP.
Edge cases on demand
Turn any request into a timeout or a server error with a query parameter.
Same request everywhere
The URL that works in the playground works in curl, Postman, a browser app or a CI job.
Documented
Every endpoint has a reference page and example responses, and the whole API is described in OpenAPI.

Learn

Guides and lessons for API testing

Practical walkthroughs that use the API, from reading a status code to testing retries and rate limits.

Also free: developer tools such as a JSON formatter, a JWT decoder and an HTTP status code reference.

Access

Free, with no account

Every endpoint works without an account or API key. The tools and lessons are free too.

API Map

See your APIs as a map

Drop in an OpenAPI, Swagger, Postman, cURL, HAR or WSDL file and get an interactive map of every endpoint. Send requests from it, audit the spec, compare two versions, and put many services on one graph to see what they share. Everything is parsed in your browser and nothing is uploaded.

testingapis.com/visualize/map/

Drawing the map…

Samples, drawn live. Sign in to map your own APIs, send requests, audit and compare versions. Swipe the map sideways to see all of it.

  • One API, as a map

    Every endpoint as a card. Inspect it, send it, audit the spec, compare two versions.

  • Many services, one graph

    Contract Graph finds shared entities, duplicate endpoints and who calls whom.

  • Parsed in your browser

    Specs are read on your device and never uploaded.

Free. Sign in, or create an account.

API builder · Invite only

Need a mock API of your own?

Design resources from your frontend's JSON and get a hosted URL with realistic data that only you can change. Start free; Pro and Team add projects, endpoints, requests and request logs.

  • Free

    Try it out

    ₹0 / month

    • 1 project
    • 3 endpoints per project
    • 200 records per resource
    • 20 fields per resource
    • 5,000 requests per month
  • Team

    For teams and projects

    Coming soon

    • 50 projects
    • 100 endpoints per project
    • 5,000 records per resource
    • 100 fields per resource
    • 500,000 requests per month

The builder is open to every account on the Free plan. Pro and Team are coming soon. Need more? Enterprise is on the pricing page.

FAQ

Common questions

Quick answers to the most common questions about using testingapis.com.

  • Yes. The test API, the tools and the lessons are free, with no account or API key. Paid plans are only for the API builder, which hosts mock APIs you design yourself, and it has a Free plan too. See pricing.
  • No. Every endpoint works without a key. The authentication endpoints have their own fixed test credentials.
  • Yes. It's standard HTTPS with JSON and CORS enabled, so browser apps, mobile apps, servers and test runners can all call it with their usual HTTP client.
  • Yes. Writes change the data, so you can create an item and fetch it back, update it or delete it.
  • No. Data lives in memory on a shared server: other people can read and change it, and it returns to the seed data whenever the server restarts. Don't send real personal data.
  • Yes. The auth endpoints accept fixed test credentials for Basic, Bearer, JWT, API key, OAuth 2.0, OAuth 1.0a, Digest and HMAC, and reject wrong ones the way a real API would. The auth guide lists the credentials.
  • You get the matching status code and a JSON body that describes the problem. To test your error handling, add ?error=503 (or any other code) or ?delay=5 (up to 10 seconds) to any request.
  • There's no fixed quota. It's a shared server, so keep automated traffic reasonable; abusive traffic can be blocked under the terms. To test 429 handling, use the rate-limit endpoints, which return 429 on purpose.

MCP server

Use our API tools from your AI assistant

Add testingapis.com to Claude, Cursor or VS Code, and your assistant can validate OpenAPI specs and JSON Schemas, turn cURL into code, generate types and fetch test data while it works. Free, no sign-up.

https://testingapis.com/mcp

Works with Claude, Claude Code, Cursor, VS Code, ChatGPT and any MCP client.

How to add it

Ready to start?

Start testing with real API responses

Explore 360 endpoints with nothing to set up. No account or API key needed.

… API requests served, counting live