Retrieve a comprehensive list of all available products in the catalog. This API provides detailed information on each product, including title, description, price, reviews, category, stock availability, review ratings, and images. Ideal for applications that require a complete overview of the product inventory.
https://api.freeapi.app/api/v1/public/randomproducts?page=1&limit=10&inc=category%2Cprice%2Cthumbnail%2Cimages%2Ctitle%2Cid&query=mens-watches
Example-> JSON data
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
{
"_id": "667a9cf8c0badc51c4d68ad8",
"title": "Wireless Bluetooth Headphones",
"description": "High-quality wireless Bluetooth headphones with noise-cancellation and long battery life.",
"price": 99.99,
"reviews": [
{
"review": "Great sound quality and very comfortable to wear.",
"_id": "667a9cf8c0badc51c4d68ad9"
},
{
"review": "Battery lasts long, but the noise cancellation could be better.",
"_id": "667a9cf8c0badc51c4d68ada"
}
],
"category": "Electronics",
"stock": 50,
"reviewStar": 4.5,
"image": "https://example.com/images/wireless-bluetooth-headphones.jpg",
"createdAt": "2024-06-25T10:33:28.710Z",
"updatedAt": "2024-06-25T10:33:28.710Z",
"__v": 0
}
Get detailed information about a specific product using its ID. This endpoint provides comprehensive details such as the product's title, description, price, reviews, category, stock availability, review ratings, and images. Useful for applications focused on individual product pages or obtaining specific product information.
Example-> JSON data
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
{
"_id": "667a9cf8c0badc51c4d68ad8",
"title": "Wireless Bluetooth Headphones",
"description": "High-quality wireless Bluetooth headphones with noise-cancellation and long battery life.",
"price": 99.99,
"reviews": [
{
"review": "Great sound quality and very comfortable to wear.",
"_id": "667a9cf8c0badc51c4d68ad9"
},
{
"review": "Battery lasts long, but the noise cancellation could be better.",
"_id": "667a9cf8c0badc51c4d68ada"
}
],
"category": "Electronics",
"stock": 50,
"reviewStar": 4.5,
"image": "https://example.com/images/wireless-bluetooth-headphones.jpg",
"createdAt": "2024-06-25T10:33:28.710Z",
"updatedAt": "2024-06-25T10:33:28.710Z",
"__v": 0
}