Swaghq APIswaghq.com ↗
Browse SwagHQ's complete product catalog by category or brand, search for specific items, and view detailed product information including color variants, inventory levels by size, quantity-based pricing, and logo customization options. Easily navigate paginated product collections with filtering to find exactly what you need.
No input parameters required.
curl -X GET 'https://api.parse.bot/scraper/d420ec18-47a8-45a5-bb6d-8283e53b48a5/list_categories' \ -H 'X-API-Key: $PARSE_API_KEY'
Returns the site's product category tree as a flat list (top-level departments such as Men, Women, Workwear, Headwear, Accessories and Best Seller, plus their sub-categories) with each entry's collection_id, slug, level and parent_collection_id. One request; no pagination. The collection_id values are the identifiers accepted by list_products with is_brand omitted or false.
No input parameters required.
{
"type": "object",
"fields": {
"count": "integer number of category entries returned",
"categories": "array of category entries: collection_id (integer key for list_products), name, slug (site URL path segment), parent_collection_id (null for top-level), level (0 = department, 1 = sub-category, 2 = leaf)"
},
"sample": {
"data": {
"count": 43,
"categories": [
{
"name": "Men",
"slug": "men",
"level": 0,
"collection_id": 1,
"parent_collection_id": null
},
{
"name": "Shirts",
"slug": "men/shirts",
"level": 1,
"collection_id": 16,
"parent_collection_id": 1
}
]
},
"status": "success"
}
}About the Swaghq API
The Swaghq API on Parse exposes 5 endpoints for the publicly available data on swaghq.com. Calls return JSON over HTTPS and are billed per successful response.
Pin a release with the API-Snapshot-Version header so canonical updates don't silently change your contract.