Gumtree

List Gumtree location areas

List the areas inside a Gumtree location, from the whole UK down to towns.

GET/v1/gumtree/locations/children
x-api-keystringheader

API key (`sfk_...`)

Parameters
1
locationIdstringquery

Location whose areas to list, e.g. `10000393` (England). Default: `10000392`, the whole UK.

pattern: ^\d{1,12}$

Response fields
18

Endpoint-specific response payload.

datalookupStatus
string

`not_found` when no location has this id.

one of: found, not_found

The location asked about.

datalocationid
string

Category or location id.

datalocationname
string

Name as shown.

datalocationslug
string

Slug used in URLs and in the `category` or `location` parameter.

datalocationhasChildren
booleannullable

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.

Areas inside it; empty for the smallest areas.

datachildren[]id
string

Category or location id.

datachildren[]name
string

Name as shown.

datachildren[]slug
string

Slug used in URLs and in the `category` or `location` parameter.

datachildren[]hasChildren
booleannullable

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.

metarequestId
string

Unique request identifier for tracing this API call.

min 1 chars

metacreditsCharged
integer

Credits charged for this request.

≥ 0

metaversion
string

Public API version that served the response.

one of: v1

metastale
booleanoptional

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

metafetchedAt
stringoptional

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/locations/children?locationId=10000393" \
  -H "x-api-key: YOUR_API_KEY"

Responses

Gumtree location areas.