Testing and mock data

DummyJSON

by dummyjson.com

Testing and mock data Added on November 1st, 2026 Checked and working on November 1st, 2026
Visit dummyjson.com →

What it does

DummyJSON is a fake REST API with sample products, carts, users, posts, comments, recipes, quotes and todos for prototypes, demos and front-end tests. It supports search, pagination with limit and skip, a delay parameter to simulate slow servers, add, update and delete requests, and a login flow that returns test tokens. Responses are JSON. Free, no key needed.
  • API
  • HTTP-GET
  • JSON
  • REST

At a glance

API key
Not needed · More APIs with no key
Pricing
Free, no key needed.
From the browser
Yes (CORS)
Formats
JSON
Interface
REST, HTTP-GET
Provider
dummyjson.com
Last checked
Working on November 1st, 2026

More information: https://dummyjson.com/docs

Compare: JSONPlaceholder vs DummyJSON

Is this your service? Show that it is listed

Put this badge on your website or in your README; it links to this page. About the badge

Listed on Free Web Services

dummyjson.com
DummyJSON

Example request

curl

curl 'https://dummyjson.com/products/1'

JavaScript

const response = await fetch("https://dummyjson.com/products/1");
const data = await response.json();
console.log(data);

Python

import requests

response = requests.get(
    "https://dummyjson.com/products/1",
    timeout=30,
)
print(response.json())

The JavaScript works in a web page as well as in Node.js 18 or newer.

Did it work for you?

Tell us what you found when you tried DummyJSON.