Skip to content

Latest commit

 

History

History
133 lines (89 loc) · 3.36 KB

File metadata and controls

133 lines (89 loc) · 3.36 KB

Uptime Robot status

DummyJSON

DummyJSON is a free REST API for generating placeholder JSON data — no setup, no auth, just use it.

📘 Docs: https://dummyjson.com/docs

New: Now you can generate your own custom responses from DummyJSON, try it now!

Why DummyJSON?

  • Skip building a backend just to test UI
  • Avoid unreliable or rate-limited public APIs
  • Get consistent, structured data instantly
  • No configuration required
  • Works with any framework
  • Supports all HTTP methods
  • Great for prototyping, testing, and learning

How to Fetch Data

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

Example:

const res = await fetch('https://dummyjson.com/products');
const json = await res.json();
console.log(json);

OR

const response = await axios.get('https://dummyjson.com/products');
console.log(response.data);

P.S.: Pagination is supported.

Resources

Features


Generate identicon

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

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

Example


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

Examples

https://dummyjson.com/image/200

Example

https://dummyjson.com/image/300/da5047/030104?text=Hello+Peter&fontFamily=cookie&fontSize=36

Example

Supported Fonts

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

Contributors


License

MIT