Skip to content
/ DummyJSON Public

DummyJSON.com provides different types of REST Endpoints filled with JSON data which you can use in developing the frontend with your favorite framework and library without worrying about writing a backend.

License

Notifications You must be signed in to change notification settings

Ovi/DummyJSON

Repository files navigation

Uptime Robot status

DummyJSON - Generate Placeholder Data on the Fly!

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!

Why DummyJSON?

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.

Features that Enhance Your Experience

  • 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.

Available Resources

Over 10 resources ready for use:

How to Fetch Data

Use any method you prefer - fetch API, Axios, jQuery AJAX - it all works seamlessly.

Example: Get all products

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

Dummy Image Generator is a simple Node.js service for generating placeholder images with customizable options.

Usage

You can use the service by making HTTP requests to the following URL:

https://dummyjson.com/image

Basic Examples

Customization Options

Image Formats

Additional Customizations

Supported Fonts

  • Bitter
  • Cairo
  • Comfortaa
  • Cookie
  • Dosis
  • Gotham
  • Lobster
  • Marhey
  • Pacifico
  • Poppins
  • Quicksand
  • Qwigley
  • Satisfy
  • Ubuntu

Generate identicon

https://dummyjson.com/icon/HASH/SIZE

https://dummyjson.com/icon/abc123/150

Example

License

This project is open-source and available under the MIT License.

About

DummyJSON.com provides different types of REST Endpoints filled with JSON data which you can use in developing the frontend with your favorite framework and library without worrying about writing a backend.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published