Discover/dummyjson.com API
live

dummyjson.com APIdummyjson.com

Access fake placeholder products, users, and shopping carts from DummyJSON. Search products, get individual details with reviews, list users, and browse carts.

Endpoint health
verified 2h ago
list_carts
search_products
get_product
list_users
4/4 passing latest checkself-healing
Endpoints
4
Updated
3h ago
Try it
Number of products to skip for pagination.
Maximum number of products to return per page.
Search term to match against product title and description. Omitting returns all products.
api.parse.bot/scraper/7a2f7234-8407-4cff-8b96-a708afd54f1b/<endpoint>
Ready to send
Fill in the parameters and hit sign in to send to see live response data here.
Use it in your codegrab a free API key at signup
curl -X GET 'https://api.parse.bot/scraper/7a2f7234-8407-4cff-8b96-a708afd54f1b/search_products?skip=0&limit=5&query=phone' \
  -H 'X-API-Key: $PARSE_API_KEY'
Or use the typed Python SDKfully typed · autocompletes

Typed Python client. Install the CLI, sign in, then pull this API’s generated client:

pip install parse-sdk
parse login
parse add --marketplace dummyjson-com-api

parse add --marketplace pulls a pinned snapshot of this canonical API — it won’t change underneath you. To customize it, subscribe and swap to your own copy.


"""Walkthrough: DummyJSON SDK — products, users, and carts."""
from parse_apis.DummyJSON_API import DummyJson, ProductNotFound

client = DummyJson()

# Search products by keyword, capped at 3 results
for product in client.products.search(query="laptop", limit=3):
    print(product.title, product.price, product.rating, product.stock)

# Drill into one product's full details via .get()
product = client.products.search(query="phone", limit=1).first()
if product:
    detail = client.products.get(product_id=str(product.id))
    print(detail.title, detail.dimensions.width, detail.dimensions.height, detail.dimensions.depth)

# List users
for user in client.users.list(limit=3):
    print(user.first_name, user.last_name, user.email)

# List carts filtered by a user
for cart in client.carts.list(user_id="1", limit=2):
    print(cart.id, cart.total, cart.total_quantity)
    for item in cart.products:
        print(f"  {item.title} x{item.quantity} = {item.discounted_total}")

# Typed error handling for a missing product
try:
    client.products.get(product_id="99999")
except ProductNotFound as exc:
    print(f"Product not found: {exc.product_id}")

print("exercised: products.search / products.get / users.list / carts.list / ProductNotFound")
All endpoints · 4 totalmissing one? ·

Search or list products. When query is provided, performs full-text search across product titles and descriptions. Without query, returns all products paginated. Each product includes price, rating, stock, dimensions, and category. Paginates via skip/limit offsets.

Input
ParamTypeDescription
skipintegerNumber of products to skip for pagination.
limitintegerMaximum number of products to return per page.
querystringSearch term to match against product title and description. Omitting returns all products.
Response
{
  "type": "object",
  "fields": {
    "skip": "integer",
    "limit": "integer",
    "total": "integer",
    "products": "array of product summaries with id, title, price, rating, stock, dimensions, and more"
  },
  "sample": {
    "skip": 0,
    "limit": 3,
    "total": 23,
    "products": [
      {
        "id": 101,
        "sku": "MOB-APP-APP-101",
        "tags": [
          "electronics",
          "over-ear headphones"
        ],
        "brand": "Apple",
        "price": 549.99,
        "stock": 59,
        "title": "Apple AirPods Max Silver",
        "rating": 3.47,
        "weight": 2,
        "category": "mobile-accessories",
        "thumbnail": "https://cdn.dummyjson.com/product-images/mobile-accessories/apple-airpods-max-silver/thumbnail.webp",
        "dimensions": {
          "depth": 27.54,
          "width": 24.88,
          "height": 14.9
        },
        "description": "Premium over-ear headphones",
        "availability_status": "In Stock",
        "discount_percentage": 13.67
      }
    ]
  }
}

About the dummyjson.com API

This API exposes 4 endpoints against DummyJSON's fake dataset, covering products, users, and shopping carts for prototyping and testing. The search_products endpoint supports full-text search across product titles and descriptions, returning fields like price, rating, stock, dimensions, and category. Individual product records via get_product include reviews, warranty info, meta barcodes, and QR codes — enough detail to simulate a realistic e-commerce catalog without a live backend.

Products

The search_products endpoint accepts an optional query string for full-text matching against product titles and descriptions. Without a query, it returns the full catalog paginated via skip and limit offsets. Each item in the products array includes id, title, price, rating, stock, dimensions, and category data. The total field in the response lets you calculate pages server-side.

Single Product Details

get_product takes a numeric product_id and returns the complete record for that item. On top of the listing fields, this includes a reviews array (each with rating, comment, date, reviewerName, and reviewerEmail), a meta object carrying createdAt, updatedAt, barcode, and qrCode, plus tags, brand, images, shipping details, warranty text, and return policy. This makes it useful for testing product detail pages that need rich structured data.

Users and Carts

list_users returns paginated user profiles. Each user object includes id, name, email, phone, company, and address. list_carts returns shopping cart records that include per-product quantities, prices, and discount values, as well as a cart-level total. You can filter carts to a specific owner by passing a user_id; note that pagination parameters (skip and limit) are ignored when user_id is set.

Reliability & maintenanceVerified

The dummyjson.com API is a managed, monitored endpoint for dummyjson.com — not a raw scraper you maintain. Every endpoint is automatically health-checked on a schedule, and when dummyjson.com changes and a check fails, the API is automatically queued for repair and re-verified. It is built to keep working as the site underneath it changes.

This isn't an official dummyjson.com API — it's an independent, maintained REST wrapper over public data. Where the source has no official API (or only a limited one), Parse gives you a stable contract over a source that never promised one, and keeps it current. Need a new endpoint or field? You can revise it yourself in plain English and the agent rebuilds it against the live site in minutes — contributing the change back to the shared API is free.

Last verified
2h ago
Latest check
4/4 endpoints passing
Maintenance
Monitored & self-healing
Will this API break when the source site changes?+
It's built not to. Every endpoint is health-checked on a schedule with automated test probes. When the source site changes and a check fails, the API is automatically queued for repair and re-verified — that's the self-healing layer. Each API page shows when its endpoints were last verified. And because marketplace APIs are shared, any fix reaches everyone using it.
Is this an official API from the source site?+
No — Parse APIs are independent, managed REST wrappers over publicly available data. That is the point: where a site has no official API (or only a limited one), Parse gives you a maintained, monitored endpoint for that data and keeps it working as the site changes — so you get a stable contract over a source that never promised one.
Can I fix or extend this API myself if I need a new endpoint or field?+
Yes — and you don't have to wait on us. This API was generated by the Parse agent, which stays attached. Describe the change in plain English ("add an endpoint that returns reviews", "fix the price field") in the revise box on the API page or via the revise_api MCP tool, and the agent rebuilds it against the live site in minutes. Contributing the change back to the public API is free.
What happens if I call an endpoint that has an issue?+
Errors are machine-readable: a bad call returns a clean status with the list of available endpoints and a repair hint, so an agent (or you) can recover or trigger a fix instead of failing silently. Confirmed failures feed the automatic repair queue.
Common use cases
  • Populate a frontend product catalog UI with realistic titles, prices, ratings, and stock levels during development.
  • Seed a test database with user profiles including names, emails, addresses, and company data.
  • Test checkout and cart UI components using cart objects with per-product quantities, discounts, and totals.
  • Prototype a product detail page with review sections, barcode data, and warranty/return policy fields.
  • Validate pagination logic for listing views using the skip/limit/total fields returned by search_products or list_users.
  • Filter a user's purchase history by passing user_id to list_carts during integration testing.
  • Simulate a search feature by querying search_products with various terms and inspecting matched titles and descriptions.
Pricing & limitsSee full pricing →
TierPriceCredits/monthRate limit
Free$0/mo1005 req/min
Hobby$30/mo1,00020 req/min
Developer$100/mo5,000250 req/min

One credit = one API call regardless of which marketplace API you call. Exceeding the rate limit returns a 429 response. Authenticate with the X-API-Key header.

Frequently asked questions
Does DummyJSON have an official developer API?+
Yes. DummyJSON provides a free public REST API at https://dummyjson.com/docs. This Parse API wraps that dataset and exposes it through a consistent interface alongside Parse's tooling.
What does get_product return beyond basic listing data?+
In addition to price, rating, and stock, get_product returns a reviews array (with per-reviewer rating, comment, date, name, and email), a meta object with barcode, qrCode, createdAt, and updatedAt, plus tags, brand, images, shipping info, warranty text, and return policy. These fields are not present in the search_products listing array.
How does user_id filtering work in list_carts?+
When you supply a user_id, the endpoint returns only carts owned by that user. The skip and limit pagination parameters are ignored in that case — you receive all matching carts for that user in a single response.
Can I retrieve a single user by ID or search users by name?+
Not currently. The API covers listing users with skip/limit pagination via list_users, but does not expose a lookup-by-ID or name-search endpoint. You can fork this API on Parse and revise it to add those endpoints.
Does the API expose product categories as a browsable resource?+
Not currently. Category names appear as a field on each product object returned by search_products and get_product, but there is no dedicated endpoint to list all categories or filter products by category. You can fork this API on Parse and revise it to add a category-filter or category-listing endpoint.
Page content last updated . Spec covers 4 endpoints from dummyjson.com.
Related APIs in Developer ToolsSee all →
crt.sh API
Search for SSL/TLS certificates across public transparency logs by domain, fingerprint, serial number, or public key, and retrieve detailed certificate information including issuer, validity dates, and certificate chain details. Monitor certificate issuance for domains you care about to track security changes and detect unauthorized certificates.
python.org API
Access comprehensive Python release information including downloads, versions, and supported operating systems, plus stay updated with the latest Python news and events. Search across Python.org's resources and browse release files, details, and the FTP index all in one place.
nvidia.com API
nvidia.com API
lucide.dev API
Browse and download thousands of Lucide icons with instant search and category filtering to find exactly what you need. Get SVG files and metadata for each icon to integrate them seamlessly into your projects.
artificialanalysis.ai API
Compare and rank LLM models and providers across performance benchmarks, then dive into detailed specifications for any model to find the best fit for your needs. Discover performance metrics for specialized AI systems handling speech, images, and video, plus benchmark data for different hardware configurations.
alienvault.com API
Search and analyze global threat intelligence data including indicators of compromise, threat pulses, and adversary profiles from the Open Threat Exchange community. Monitor recent security alerts and access detailed information about threats and adversaries to strengthen your cybersecurity defenses.
theresanaiforthat.com API
Search and discover AI tools across different tasks, get detailed information about specific tools, browse available deals, and stay updated on the latest tools. Find the perfect AI solution for your needs by filtering by task category or checking featured and trending tools.
git-scm.com API
Access comprehensive Git documentation, browse command references across different versions, and explore chapters from the Pro Git book. Search Git documentation and glossary terms to quickly find answers about Git commands and concepts.