Все сайты
Data API
Gumtree Data API
Структурированные JSON-данные по запросу со встроенным обходом антибот-защиты.
6 эндпоинтовЛимит запросов: мы берём это на себя
Пример (получен вживую) Открыть песочницу
JSON-ответструктурированные данные · без просмотра страницы
{
"query": "manch",
"locations": [
{
"id": 10000352,
"name": "Manchester",
"slug": null,
"city": "Manchester",
"type": "location",
"latitude": 53.499883,
"longitude": -2.280632,
"has_children": null,
"search_value": "Manchester"
},
{
"id": 27004,
"name": "Manchester City Centre, Manchester",
"slug": null,
"city": "Manchester",
"type": "location",
"latitude": 53.480411,
"longitude": -2.239651,
"has_children": null,
"search_value": "Manchester City Centre, Manchester"
},
{
"id": 11002623,
"name": "Manchester Airport, Manchester",
"slug": null,
"city": "Manchester",
"type": "location",
"latitude": 53.364651,
"longitude": -2.277579,
"has_children": null,
"search_value": "Manchester Airport, Manchester"
}
]
}
GET
/v1/gumtree/locations1 кредит / запуск ПровереноLocation Lookup
Find Gumtree UK locations. With a query, returns matching towns and areas (id, name, county or city, coordinates) as you would see them while typing a location. Without a query, lists the sub-locations of parent_id (country, region, county, town) with their slugs. search_value on every item can be passed as the search location.
Мы берём на себя:Лимит запросов
Параметры
| Название | Тип | Обяз. | Описание |
|---|---|---|---|
| Расширенные фильтры | |||
| query | string | нет | Start of a place name, e.g. 'manch'. Leave empty to browse the location tree instead. |
| parent_id | integer | нет | Location id whose sub-locations to list when no query is given. 10000392 (default) is the United Kingdom. (по умолчанию: 10000392) |