The playground
Try any of 2074 endpoints — live.
Pick an endpoint, load a working example, tweak the params, and send — no signup to try. Results render the way the data deserves; raw JSON, headers & code are one tab away.
Playground demo key · api.reefapi.com
post/tiki/v1/categories0 credits
Tiki's category tree, one level at a time, each category with its id, name, URL, depth, whether it is a leaf and HOW MANY PRODUCTS it holds. Call it with no parameters for the top-level departments; pass `parent_id` to walk down. These are the ids `category` and the `category_id` filter take. Measured: category 1789 has 5 children, and their published product counts are 75, 17, 12, 3 and 1.
Parameters
request preview
curl -X POST https://api.reefapi.com/tiki/v1/categories \
-H "x-api-key: $REEF_KEY" \
-H "content-type: application/json" \
-d '{}'Hit Send to run this endpoint live.