E-commerce store
Product catalog with categories, cart, and order management. 200 products across 40 categories, with seeded orders.
Product catalog with categories, cart, and order management. 200 products across 40 categories, with seeded orders.
Use products for a catalog, orders for purchase history, and order-items for line items. Browse categories as a separate hierarchical taxonomy; inspect each schema before combining collections.
Click into any collection to see its schema, sample records, and API reference.
Fetch products in
the language of your choice.
curl example
curl -sS \ "https://example-data.com/api/v1/products?limit=25"
JavaScript example
const res = await fetch(
"https://example-data.com/api/v1/products?limit=25"
);
const { data, meta } = await res.json(); TypeScript example
// Download once: mkdir -p types && curl -o types/products.d.ts https://example-data.com/types/products.d.ts
import type { Product, ListEnvelope } from "./types/products";
const res = await fetch(
"https://example-data.com/api/v1/products?limit=25"
);
const { data, meta } = (await res.json()) as ListEnvelope<Product>; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/products",
params={"limit": 25},
)
data = res.json() Looking for a visual way to build a web or mobile app? You can use this data with Draftbit.