{}
jsonmock.in
🛍️25 items · free · CORS-ready

Mock Products API

A realistic product catalog you can hit immediately — 25 items across smartphones, laptops, audio, wearables, gaming, tablets, cameras, and home goods. Each product includes title, description, category, price, discount, rating, stock, brand, thumbnail, and tags.

GEThttps://www.jsonmock.in/api/v1/products

Endpoints

MethodPathDescription
GET/api/v1/productsList all products (default 30 per page)
GET/api/v1/products?limit=5&skip=10Paginate with limit + skip
GET/api/v1/products/1Fetch a single product by id
GET/api/v1/products?q=eFull-text search across common fields
GET/api/v1/products?select=id,title,priceReturn only selected fields (reduce payload size)

Query parameters

ParamTypeDescription
limitnumber (0–100)Max items to return. Default 30.
skipnumberOffset from the start (for pagination).
qstringCase-insensitive search across key product fields.
selectcomma listReturn only the given fields in the response.

Sample product

Every item in this endpoint follows the same shape as the example below.

product.json
{
  "id": 1,
  "title": "iPhone 15 Pro",
  "description": "Flagship smartphone with titanium design and A17 Pro chip.",
  "category": "smartphones",
  "price": 999,
  "discountPercentage": 5,
  "rating": 4.8,
  "stock": 120,
  "brand": "Apple",
  "thumbnail": "https://picsum.photos/seed/iphone15/400/300",
  "tags": [
    "mobile",
    "apple",
    "5g"
  ]
}

Live response

Click Try it on any endpoint above to see the real response here.

no request yet
// waiting for request

Use it in your code

curl "https://jsonmock.in/api/v1/products?limit=5"

Other ready-made endpoints

Need a different shape?

These templates are pre-built for common use cases. If you need your own JSON shape, paste it into the generator and get a custom endpoint in seconds.

Generate a custom mock →