# 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" ``` 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