List Gumtree categories
List Gumtree categories one level at a time, from the top level down.
Headers
Get your API keyAPI key (`sfk_...`)
Category whose subcategories to list, e.g. `2549` (For Sale). Default: `1`, the top level.
pattern: ^\d{1,12}$
Endpoint-specific response payload.
`not_found` when no category has this id.
one of: found, not_found
The category asked about.
Category or location id.
Name as shown.
Slug used in URLs and in the `category` or `location` parameter.
Whether it has children of its own; null when unknown. The category tree marks only some parents (Cars lists its makes but is not marked), so in a category's child list an unmarked node is null: pass its id to find out.
Its subcategories; empty for a leaf category.
Category or location id.
Name as shown.
Slug used in URLs and in the `category` or `location` parameter.
Whether it has children of its own; null when unknown. The category tree marks only some parents (Cars lists its makes but is not marked), so in a category's child list an unmarked node is null: pass its id to find out.
Metadata describing the request and billing outcome.
Unique request identifier for tracing this API call.
min 1 chars
Credits charged for this request.
≥ 0
Public API version that served the response.
one of: v1
Present, and `true`, only when the source couldn't be reached and this is the last good answer for the same request instead, up to 24 hours old. Absent on every live answer.
one of: true
When a stale answer (`stale: true`) was originally fetched (ISO 8601, UTC). Absent on every live answer.
Code example
curl "https://api.socialfetch.dev/v1/gumtree/categories?categoryId=2549" \
-H "x-api-key: YOUR_API_KEY"Responses
Gumtree categories.