Sample JSON / Products

Sample Products JSON

Sixty e-commerce product records with names, SKUs, categories, prices, stock levels, ratings, and tags - everything a catalog, cart, or product-grid prototype needs.

https://jsonconsole.com/api/products.json
60 records16 KBCORS: *
Download products.json·Free for any use, no attribution required (CC0). Endpoint is stable - safe to use in tutorials and READMEs.

Preview

[
  {
    "id": 1,
    "name": "Ultra-Light Mouse",
    "sku": "SKU-1001",
    "category": "electronics",
    "price": 240.67,
    "currency": "USD",
    "stock": 23,
    "rating": 3.2,
    "tags": [
      "budget",
      "sale"
    ],
    "inStock": true
  },
  {
    "id": 2,
    "name": "Solar Water Bottle",
    "sku": "SKU-1002",
    "category": "furniture",
    "price": 156.57,
    "currency": "USD",
    "stock": 141,
    "rating": 3.8,
    "tags": [
      "budget",
      "premium"
    ],
    "inStock": true
  },
  {
    "id": 3,
    "name": "Ultra-Light Backpack",
    "sku": "SKU-1003",
    "category": "accessories",
    "price": 168.74,
    "currency": "USD",
    "stock": 64,
    "rating": 3.1,
    "tags": [
      "sale",
      "popular",
      "new"
    ],
    "inStock": true
  }
]

First 3 records shown - the full file has 60 records.

Fields

FieldTypeNotes
id / skunumber / stringIdentifiers (SKU-1001...)
namestringRealistic product names
categorystringelectronics | office | accessories | furniture | outdoor
price / currencynumber / stringUSD, 2-decimal prices
stocknumber0-250 (some out of stock)
ratingnumber2.5-5.0, one decimal
tagsstring[]1-3 marketing tags
inStockbooleanDerived from stock > 0

Fetch it in code

JavaScript
const res = await fetch(
  "https://jsonconsole.com/api/products.json"
);
const data = await res.json();
Python
import requests

data = requests.get(
    "https://jsonconsole.com/api/products.json"
).json()

What this dataset is good for

  • E-commerce UI prototypes: product grids, carts, filters by category/price
  • Testing sorting and aggregation logic with mixed numeric fields
  • Demonstrating JSON-to-CSV or JSON-to-SQL conversions with realistic shapes

More sample data

You might also need

Free and in-browser, like everything on JSON Console. Browse all tools →