DummyJSON

Ovi活跃维护

提供开箱即用的 REST 接口和 JSON 假数据,前端开发时不用自己写后端就能直接联调测试。

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.

暂无版本2,973star312fork同步于 2026-11-10 05:41 UTC

怎么上手

README 里没有找到可直接复制的安装命令

README 里没有找到可直接复制的安装命令,请到 README 或官方文档查看安装方式。

硬件要求

README 没有说明硬件要求。

下载:源码 zip·GitHub Releases(安装包)本站不镜像安装包

项目说明

这个项目的说明还在生成中,先参考下面「最近发版」和 README。

最近发版

0 个版本

暂无 release 数据(可能没有发版,或尚未同步)。

用户点评

登录用户的真实使用记录,可按版本和硬件筛选
共 0 条

    还没有人点评。第一个说出真实体验的人最有价值。

    README 原文

    未翻译

    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