DummyJSON is your go-to free online REST API for instantly generating placeholder data without the hassle of setting up a server. Perfect for front-end development, teaching, testing, and prototyping!
Explore the detailed documentation at DummyJSON/Docs for quick samples.
New: Now you can generate your own custom responses from DummyJSON, try it now!
Ever felt bogged down by the complexities of setting up a backend just to fetch dummy data for your front-end project? Or perhaps you dreamt of a learning app where obtaining realistic data didn't involve navigating through convoluted public APIs and cumbersome registration processes. Well, say hello to DummyJSON!
Say goodbye to wrestling with complicated backend setups! With DummyJSON, you can focus on your work without the hassle of intricate configurations. The straightforward backend server effortlessly meets your data needs, saving you from dealing with complex public APIs. No more complicated setups – just a smooth experience to speed up your development process.
Give it a spin at DummyJSON and make your development process smoother.
- No Sign-up/Registration: Dive in and start using it hassle-free.
- Zero-configuration: Enjoy a seamless experience without the need for setup.
- Basic and Advanced API: Covering everything from simple to sophisticated data.
- Custom Responses: Create your own custom responses using DummyJSON custom response generator.
- Resource Relationships: Effortlessly understand and model data relationships.
- Filters and Nested Resources: Tailor your data to fit your needs perfectly.
- HTTP Methods Support: We've got all your HTTP methods covered - GET, POST, PUT, PATCH, and DELETE.
- Delay Responses: Simulate real-world conditions with adjustable response delays.
- Cross-framework Compatibility: Seamlessly integrate with React, Angular, Vue, Ember, or vanilla JavaScript.
- Dynamic Image Generation: Generate placeholder images with customizable options.
- Identicon: Generate customizable identicon on the go.
Over 10 resources ready for use:
- 190+ Products
- 50 Carts
- 200+ Users
- 250+ Posts
- 340 Comments
- 1400+ Quotes
- 50 Recipes
- 250+ Todos
- Authentication/Authorization
- Custom HTTP Response
- Dynamic/Placeholder Images
- Identicon
Use any method you prefer - fetch API, Axios, jQuery AJAX - it all works seamlessly.
fetch('https://dummyjson.com/products')
.then(res => res.json())
.then(json => console.log(json));
OR
const res = await fetch('https://dummyjson.com/products');
const json = await res.json();
console.log(json);
Note: Pagination is also supported.
Explore all the routes and more at DummyJSON/Docs.
Dummy Image Generator is a simple Node.js service for generating placeholder images with customizable options.
You can use the service by making HTTP requests to the following URL:
-
Generate a 300x300 image:
-
Generate a 250x100 image:
-
Change background color (hexadecimal or CSS color name):
-
Change background color and text color (hexadecimal or CSS color name):
-
Add custom text:
-
Specify font family:
https://dummyjson.com/image/350x200/282828/eae0d0/?text=Hello+Peter&fontFamily=cookie
-
Specify image format (png, jpg, webp):
-
Specify font size:
https://dummyjson.com/image/400x200?text=Hello+Peter!&fontSize=16
- Bitter
- Cairo
- Comfortaa
- Cookie
- Dosis
- Gotham
- Lobster
- Marhey
- Pacifico
- Poppins
- Quicksand
- Qwigley
- Satisfy
- Ubuntu
https://dummyjson.com/icon/HASH/SIZE
https://dummyjson.com/icon/abc123/150
This project is open-source and available under the MIT License.