# List all product segments
You can return a list with all of your products’ segments. Use a returned URL to list all products added to the segment.
GET
/product-segments/
# Request
- CURL
- JavaScript
- PHP
- Python
curl -X GET -H "Authorization: Token <your_64_char_api_key>"
-H "Accept: */*; version=2"
"https://<your_app_subdomain>.user.com/api/public/product-segments/"
# Response
{
"previous": null,
"results": [
{
"name": "New",
"description": "Products added less than 7 days ago.",
"products": "https://<your_app_subdomain>.user.com/api/public/product-segments/1038/products/",
"id": 1038,
"object_count": 100,
"too_heavy": false,
"update_interval": 240,
"last_counted": "2024-10-11T10:12:32.661576Z",
"updated_at": "2024-10-11T10:12:32.661848Z"
},
{
"name": "Top selling",
"description": "Products with more than 1000 product events.",
"products": "https://<your_app_subdomain>.user.com/api/public/product-segments/1039/products/",
"id": 1039,
"object_count": 100,
"too_heavy": false,
"update_interval": 240,
"last_counted": "2024-10-11T10:12:32.661576Z",
"updated_at": "2024-10-11T10:12:32.661848Z"
},
],
"next": null,
"count": 2
}