Skip to main content
GET
List Locations
Browse Gumtree’s location tree one level at a time. On uk and au each child’s slug is a valid location for /search — a name slug on uk, the numeric id on au. On za pass the child’s id, a ref such as dkp8y (Gauteng).
  • uk: United Kingdom → nations → counties → towns.
  • au: Australia → states → regions → areas, each with its live ad count.
  • za: South Africa → provinces → towns and suburbs.
Credits: 1

Authorization

string
required
Your ScrapeBadger API key.

Query Parameters

string
default:"uk"
uk (gumtree.com), au (gumtree.com.au) or za (gumtree.co.za).
string
Location id (uk, au: a number) or ref (za) to list the children of. Omit it for the whole country (uk root 10000392, za root gsptp). Then drill down by id, e.g. 10000393 for England, 3003435 for the Sydney Region, dkp8y for Gauteng.

Response

string
uk, au or za.
integer | string
The parent location id — a ref string on za.
string
e.g. England.
string
e.g. england.
integer
Number of children.
TreeNode[]
Child locations.

Example

Response

Australia

Response (abridged)
On za, the root (parent_id omitted, ref gsptp South Africa) lists the 9 provinces — dkp8y Gauteng, pys74 KwaZulu-Natal, x0r1b Western Cape … Each province lists its towns:
Response (abridged)

Errors