🛍️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.
GET
https://www.jsonmock.in/api/v1/productsEndpoints
| Method | Path | Description | |
|---|---|---|---|
| GET | /api/v1/products | List all products (default 30 per page) | |
| GET | /api/v1/products?limit=5&skip=10 | Paginate with limit + skip | |
| GET | /api/v1/products/1 | Fetch a single product by id | |
| GET | /api/v1/products?q=e | Full-text search across common fields | |
| GET | /api/v1/products?select=id,title,price | Return only selected fields (reduce payload size) |
Query parameters
| Param | Type | Description |
|---|---|---|
| limit | number (0–100) | Max items to return. Default 30. |
| skip | number | Offset from the start (for pagination). |
| q | string | Case-insensitive search across key product fields. |
| select | comma list | Return 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 →