screen size not supported

How to use it

DummyJSON can be used with any type of front end project that needs products, carts, users, todos or any dummy data in JSON format.

You can use examples below to check how DummyJSON works.

Feel free to enjoy it in your awesome projects!


Test Route

See if your internet is working 😉

fetch('', {
  method: 'GET', /* or POST/PUT/PATCH/DELETE */
.then(res => res.json())
.then(data => console.log(data));
  status: 'ok',
  method: 'GET', // or POST/PUT/PATCH/DELETE

Limiting Resources

All the resources can be used with query params to achieve pagination and get limited data. limit=0 clears the limit and you get all items




Authorizing Resources

All resources can be accessed via an authentication token to test as a logged-in user.
Go to auth module and generate an auth token to get data as an authorized user

/* providing token in bearer */
fetch('', {
  method: 'GET', /* or POST/PUT/PATCH/DELETE */
  headers: {
    'Authorization': 'Bearer /* YOUR_TOKEN_HERE */', 
    'Content-Type': 'application/json'
.then(res => res.json())
Auth Products