> **For coding agents and LLMs:** This is one Social Fetch marketing page (markdown export). For API orientation start with [`/llms.txt`](https://www.socialfetch.dev/llms.txt); for auth and crawl rules use [`/agents.txt`](https://www.socialfetch.dev/agents.txt); for every operation use [`/llms-endpoints.txt`](https://www.socialfetch.dev/llms-endpoints.txt).

## This page

- **On-site (HTML):** <https://www.socialfetch.dev/platforms/gumtree/locations-children>
- **Markdown (.mdx) URL:** <https://www.socialfetch.dev/platforms/gumtree/locations-children.mdx>

---

# Gumtree Location Areas API

Walk the location tree from the whole UK down to districts.

`GET /v1/gumtree/locations/children` returns `data.location` and its `children`, each with `id`, `name`, `slug` and `hasChildren`. Start with no `locationId` for the whole UK (England, Scotland, Wales, Northern Ireland and the islands), then pass a child's id to go down.

The `slug` is what `GET /v1/gumtree/search` takes as `location`. An unknown id answers `lookupStatus: not_found`.

## Request

- **Endpoint:** `GET /v1/gumtree/locations/children`
- **Credits:** 1 credit
Failed requests are free
Found, empty and not-found answers are all charged
- **Input:** by parent location id
- **Full reference:** [docs](https://www.socialfetch.dev/docs/api/v1/gumtree/locations/children/get)
- **Platform page:** [/platforms/gumtree](https://www.socialfetch.dev/platforms/gumtree)

## FAQ

### How deep does the tree go?

From the UK to nations, counties and cities, then districts such as Ancoats, Manchester, which have no children.

### Which value goes into search?

The slug, for example manchester or ancoats, goes into the location parameter of search.

### Does the tree change?

Rarely; responses are cached for a day.

### How many credits does a request cost?

Pricing is documented on the operation in the API registry (shown on this page). Confirm on every response with meta.creditsCharged: that field is the billing source of truth.
