Gumtree Categories API
Scrape Gumtree Categories data with one API call. 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.
Last updated October 2026Maintained by the SocialCrawl team
Returns Gumtree's category tree: id, name, SEO slug, parent, and children.
Use it to pick a category_id for search and filters. Omit category_id for the full tree.
Searching 68 platforms in parallel
What can you do with the Categories API?
The Categories endpoint gives you structured Gumtree data with computed fields in a single request. No scraping infrastructure to build or maintain.
Example Request
curl -H "x-api-key: YOUR_API_KEY" \
"https://www.socialcrawl.dev/v1/gumtree/categories"import requests
response = requests.get(
"https://www.socialcrawl.dev/v1/gumtree/categories",
headers={"x-api-key": "YOUR_API_KEY"},
)
data = response.json()const response = await fetch(
"https://www.socialcrawl.dev/v1/gumtree/categories",
{
headers: { "x-api-key": "YOUR_API_KEY" },
},
);
const data = await response.json();Parameters
| Parameter | Required | Description |
|---|---|---|
| category_id | No | Optional category id or SEO slug. Returns that node's subtree; omit for the full tree. |
What does the Gumtree Categories API return?
Every response follows one unified schema. Here is a real, unmodified response body, so you can see the exact fields you get back before spending a credit.
Example response
{
"success": true,
"platform": "gumtree",
"endpoint": "/v1/gumtree/categories",
"data": {
"id": "1",
"text": "All Categories",
"idName": "all",
"seoDisplayName": "All Classifieds",
"children": [
{
"id": "2549",
"text": "Sample comment text (redacted).",
"idName": "for-sale",
"seoDisplayName": "user_78f2e7",
"children": [
{
"id": "2518",
"text": "Sample comment text (redacted).",
"idName": "stereos-audio",
"seoDisplayName": "user_80bb6c",
"children": [
{
"id": "999",
"text": "Sample comment text (redacted).",
"idName": "home-cinema",
"seoDisplayName": "user_5fcc59",
"parentId": "2518"
},
{
"id": "4677",
"text": "Sample comment text (redacted).",
"idName": "other-stereo-audio",
"seoDisplayName": "user_fa484a",
"parentId": "2518"
}
],
"parentId": "2549"
},
{
"id": "2497",
"text": "Sample comment text (redacted).",
"idName": "baby-kids-stuff",
"seoDisplayName": "user_a1753a",
"children": [
{
"id": "12556",
"text": "Sample comment text (redacted).",
"idName": "school-supplies",
"seoDisplayName": "user_004446",
"children": [
{
"id": "12585",
"text": "Sample comment text (redacted).",
"idName": "stationery",
"seoDisplayName": "user_2a90a2",
"parentId": "12556"
},
{
"id": "12586",
"text": "Sample comment text (redacted).",
"idName": "lunch-boxes",
"seoDisplayName": "user_c325db",
"parentId": "12556"
}
],
"parentId": "2497"
},
{
"id": "12555",
"text": "Sample comment text (redacted).",
"idName": "maternity-pregnancy",
"seoDisplayName": "user_62a869",
"children": [
{
"id": "12584",
"text": "Sample comment text (redacted).",
"idName": "other-maternity-pregnancy",
"seoDisplayName": "user_e97c39",
"parentId": "12555"
},
{
"id": "12581",
"text": "Sample comment text (redacted).",
"idName": "pregnancy-pillows",
"seoDisplayName": "user_5a9950",
"parentId": "12555"
}
],
"parentId": "2497"
}
],
"parentId": "2549"
}
],
"parentId": "1"
},
{
"id": "2551",
"text": "Sample comment text (redacted).",
"idName": "cars-vans-motorbikes",
"seoDisplayName": "user_43107f",
"children": [
{
"id": "9314",
"text": "Sample comment text (redacted).",
"idName": "motors-parts",
"seoDisplayName": "user_fcb030",
"children": [
{
"id": "172",
"text": "Sample comment text (redacted).",
"idName": "car-replacement-parts",
"seoDisplayName": "user_0db1c8",
"parentId": "9314"
},
{
"id": "10018",
"text": "Sample comment text (redacted).",
"idName": "replacement-parts",
"seoDisplayName": "user_ca3816",
"parentId": "9314"
}
],
"parentId": "2551"
},
{
"id": "9311",
"text": "Sample comment text (redacted).",
"idName": "cars",
"seoDisplayName": "user_807543",
"parentId": "2551"
}
],
"parentId": "1"
}
]
},
"credits_used": 1,
"request_id": "req_example000000",
"cached": false,
"credits_remaining": 9999,
"source": "captured",
"captured_at": "2026-10-02T15:36:54.989Z",
"redacted": true
}Live sample illustrating the unified response shape. Field values reflect the record you query.
How does the Gumtree Categories API work?
Send a GET request with your API key and get back clean, structured JSON in our unified schema. Supported computed fields are populated when the source provides the required inputs.
Method
GET
Response
JSON
How do you scrape social media data in seconds?
The fastest social media scraping API for developers. Scrape profiles, posts, comments, and analytics from 68 platforms covering 10B+ monthly active users.
One schema, every platform
Query 68 platforms with identical response structures. Write your integration once.
Computed fields, not just scraped
When an endpoint supports these metrics and the source provides the required inputs, the normalized record includes engagement_rate, estimated_reach, content_category, and language. Ready to use.
See your data before you code
Visual Data Explorer. Paste any URL, get rich result cards, sortable tables, CSV export.
import requests
response = requests.get(
'https://www.socialcrawl.dev/v1/tiktok/profile',
params={'handle': 'charlidamelio'},
headers={'x-api-key': 'sc_YOUR_API_KEY'}
)
data = response.json(){
"success": true,
"platform": "tiktok",
"data": {
"author": {
"username": "charlidamelio",
"followers": 152400000
},
"engagement": {
"likes": 12400000000,
"engagement_rate": 0.087
},
"metadata": {
"language": "en",
"content_category": "lifestyle"
}
}
}Ready to scrape Gumtree Categories data?
Get your API key and start pulling Gumtree data in under 60 seconds.
