GET /wizard
Returns the category → vertical → page type → data focus hierarchy in a single request. It is what powers a "what would you like to scrape?" interface.
No authentication required. The response is cached and served with an ETag.
curl https://api.jetscrape.com/wizard \
-H "If-None-Match: \"abc123\""{
"categories": [
{
"id": 1,
"key": "ecommerce",
"label": "E-Commerce",
"emoji": "🛒",
"verticals": [
{
"id": 10,
"key": "fashion",
"label": "Fashion",
"pageTypes": []
}
]
}
]
}Caching
Store the ETag from the first response and send it back as If-None-Match. If nothing has changed, the server replies 304 Not Modified with no body.
First request : 200 OK + ETag: "abc123"
Later : If-None-Match: "abc123" → 304 Not Modified
Tree changed : 200 OK + ETag: "def456"The tree changes rarely, so it is safe to cache client-side for a long time.
Fields
key— the programmatic identifier; branch on this in code, not on the label.label— the human-readable name.emoji— a ready-made icon for lists.verticals— the branches under a category.pageTypes— the page types under a vertical.