Gumtree Scraper

ENDPOINTS
GET/locations/search

Search Locations

Find Gumtree places by name or postcode: the place's id, name, area and coordinates to search with.

QUERY PARAMS

The start of a place name or a postcode, two letters or more.

Which Gumtree to read: uk for gumtree.com (the default), au for gumtree.com.au. A link names its own site, so you only need this next to a bare id, keywords or a category name.

Allowed values: uk, au

{
  "country": "uk",
  "query": "London",
  "count": 5,
  "locations": [
    {
      "id": 10000344,
      "name": "London",
      "value": "London",
      "type": "location",
      "area": "London",
      "state": null,
      "latitude": 51.507248,
      "longitude": -0.129356
    },
    {
      "id": 287,
      "name": "London Bridge, London",
      "value": "London Bridge, London",
      "type": "location",
      "area": "London",
      "state": null,
      "latitude": 51.496514,
      "longitude": -0.080415
    },
    {
      "id": 11000161,
      "name": "Londonderry",
      "value": "Londonderry",
      "type": "location",
      "area": "County Londonderry",
      "state": null,
      "latitude": 54.990059,
      "longitude": -7.267314
    },
    {
      "id": 11001474,
      "name": "London Colney, Hertfordshire",
      "value": "London Colney, Hertfordshire",
      "type": "location",
      "area": "Hertfordshire",
      "state": null,
      "latitude": 51.722703,
      "longitude": -0.297503
    },
    {
      "id": 10057,
      "name": "London Road, Edinburgh",
      "value": "London Road, Edinburgh",
      "type": "location",
      "area": "Edinburgh",
      "state": null,
      "latitude": 55.957224,
      "longitude": -3.168908
    }
  ]
}