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.json60 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
| Field | Type | Notes |
|---|---|---|
| id / sku | number / string | Identifiers (SKU-1001...) |
| name | string | Realistic product names |
| category | string | electronics | office | accessories | furniture | outdoor |
| price / currency | number / string | USD, 2-decimal prices |
| stock | number | 0-250 (some out of stock) |
| rating | number | 2.5-5.0, one decimal |
| tags | string[] | 1-3 marketing tags |
| inStock | boolean | Derived 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 →
Mock JSON GeneratorPaste one sample record and generate up to 1,000 mock records with the same structureJSON to CSVPaste a JSON array of objects on the left and get a spreadsheet-ready CSV with headers on the rightJSON to SQLPaste a JSON array and get a CREATE TABLE statement with inferred column types plus one INSERT per rowJSON ViewerExplore documents as tree, table, or graph.JSON FormatterFormat and validate with code, tree, table, and graph views.JSON ComparePaste two JSON documents and see only real differencesJWT DecoderPaste a JWT and instantly see its decoded header and payload with expiry statusJSON to TypeScriptPaste an API response and get TypeScript interfacesJSON MinifyPaste formatted JSON and get the smallest valid version