# Gumtree Categories API (https://www.socialcrawl.dev/platforms/gumtree/categories) > Returns Gumtree's category hierarchy: id, text, seo slug, parent, and children. Omit category_id for the full tree. Pass a category id or SEO slug (cars) to get that node's subtree. Use the ids as category_id on GET /v1/gumtree/search and GET /v1/gumtree/filters. TL;DR: `GET /v1/gumtree/categories` costs 1 credit per call and returns SocialCrawl's unified JSON schema. Single x-api-key auth, 100 free credits on signup. ## Parameters | Parameter | Required | Description | | --- | --- | --- | | `category_id` | no | Optional category id or SEO slug. Returns that node's subtree; omit for the full tree. | ## Code example ```bash curl "https://www.socialcrawl.dev/v1/gumtree/categories" \ -H "x-api-key: sc_YOUR_API_KEY" ``` ## FAQ ### What does the Gumtree Categories API return? Returns Gumtree's category tree: id, name, SEO slug, parent, and children. The response uses the same JSON envelope as every SocialCrawl endpoint, with the data, credits_used and request_id fields. ### When should I use the Gumtree Categories endpoint? Use it to pick a category_id for search and filters. Omit category_id for the full tree. ### How much does the Gumtree Categories API cost? Each call costs 1 credit, so the 100 free credits every new account gets cover 100 calls. Credits for failed or empty calls are refunded automatically, and there is no subscription. ### What parameters does the Gumtree Categories API need? No parameter is required, so the bare URL works. It also accepts 1 optional parameter, listed on this page. ### How do I call the Gumtree Categories API? Send a GET request to https://www.socialcrawl.dev/v1/gumtree/categories with your API key in the x-api-key header. An Authorization: Bearer header works too. See the full Gumtree API: https://www.socialcrawl.dev/platforms/gumtree ## Pricing - Standard endpoints: 1 credit per call - Advanced endpoints: 5 credits per call - Premium endpoints: 10 credits per call - 100 free credits on signup, no credit card required. Cached responses cost 0 credits. Credit packs never expire. - Full pricing: https://www.socialcrawl.dev/pricing ## Explore with AI Questions this API answers, phrased for an AI assistant: - What does the SocialCrawl Gumtree Categories API return? - How do I get Gumtree Categories data with the SocialCrawl API?