Product catalog JSON example
Last updated 2026-05-20
Example JSON
A paginated product list response. Identical to /products?limit=3 in shape.
{
"products": [
{
"id": 1,
"title": "Essence Mascara Lash Princess",
"description": "The Essence Mascara Lash Princess is a popular mascara known for its volumising and lengthening effects.",
"price": 9.99,
"discountPercentage": 7.17,
"rating": 4.94,
"stock": 5,
"brand": "Essence",
"category": "beauty",
"thumbnail": "https://jsonexamples.com/image/400?text=Product+1"
},
{
"id": 2,
"title": "Eyeshadow Palette with Mirror",
"price": 19.99,
"rating": 3.28,
"stock": 44,
"brand": "Glamour Beauty",
"category": "beauty",
"thumbnail": "https://jsonexamples.com/image/400?text=Product+2"
},
{
"id": 3,
"title": "Powder Canister",
"price": 14.99,
"rating": 3.82,
"stock": 59,
"brand": "Velvet Touch",
"category": "beauty",
"thumbnail": "https://jsonexamples.com/image/400?text=Product+3"
}
],
"total": 100,
"skip": 0,
"limit": 3
}Request examples
fetch('https://jsonexamples.com/products?limit=10&skip=0')
.then(res => res.json())
.then(({ products, total }) => console.log(products.length, 'of', total));Try the live endpoint
Click below to call /products?limit=3 from your browser.
GET
/products?limit=3{
"hint": "Click 'Run' to call the live endpoint"
}Common variations
Filtered by category
Same envelope shape, narrowed by category.
{
"products": [
{
"id": 6,
"title": "Calvin Klein CK One",
"price": 49.99,
"category": "fragrances"
},
{
"id": 7,
"title": "Chanel Coco Noir Eau De Parfum",
"price": 129.99,
"category": "fragrances"
}
],
"total": 5,
"skip": 0,
"limit": 30
}Search response (q=phone)
Matches the /products/search endpoint.
{
"products": [
{
"id": 121,
"title": "iPhone 9",
"price": 549,
"category": "smartphones"
},
{
"id": 122,
"title": "iPhone X",
"price": 899,
"category": "smartphones"
}
],
"total": 2,
"skip": 0,
"limit": 30
}Empty result
Shape returned when the filter matches zero items.
{
"products": [],
"total": 0,
"skip": 0,
"limit": 30
}Convert this JSON
Generated starting points for TypeScript, JSON Schema, and Zod. Refine before shipping to production.
export interface ProductCatalog {
"products": {
"id": number;
"title": string;
"description": string;
"price": number;
"discountPercentage": number;
"rating": number;
"stock": number;
"brand": string;
"category": string;
"thumbnail": string;
}[];
"total": number;
"skip": number;
"limit": number;
}