Glovo API endpoint
Returns the cuisine or type filters (for example Burgers, Pizza, Healthy) that one category's store list accepts in one city. Each carries the id that /glovo/stores takes as filter_id. The filter set is category- and city-scoped, so call this for the same country, city and category_id you will pass to /glovo/stores. A category_id Glovo does not recognise in that city returns a 404.
/glovo/stores/filtersQuery parameters: country (required), city (required), category_id (required, from /glovo/categories), language (optional, default en).
| Field | Filled in, of 41 checked | Values in the sample |
|---|---|---|
| id | 41 | |
| title | 41 | “Burgers” and 40 other values |
| group | 41 | Food type in all 41 |
| Parameter | Type | Required | Default | Description | Example |
|---|---|---|---|---|---|
| country | string | Yes | Two-letter country code, from /glovo/cities. | es | |
| city | string | Yes | City slug (madrid) or city code (mad), from /glovo/cities. | madrid | |
| category_id | integer | Yes | Store category id, from /glovo/categories. | 1 | |
| language | string | No | en | Optional two-letter response language; defaults to en. A city's supported languages are in /glovo/city's supported_languages. | en |
| x-api-key (header) | string | Yes | API key required |
curl -X GET "https://api.crawlora.net/api/v1/glovo/stores/filters?country=es&city=madrid&category_id=1&language=en" \ -H "x-api-key: $CRAWLORA_API_KEY"
{
"code": 200,
"msg": "OK",
"data": {
"country": "es",
"city": "madrid",
"city_code": "mad",
"category_id": 1,
"filters": [
{
"id": 34789,
"title": "Burgers",
"group": "Food type"
},
{
"id": 34701,
"title": "Pizza",
"group": "Food type"
}
]
}
}Request schema
No body schema
Response schema
#/definitions/glovo.filtersResponseDoc
| Field | Type | Required | Enum | Bounds | Example | Description |
|---|---|---|---|---|---|---|
| code | integer | No | Code is the HTTP status code or a custom code used to indicate the result of the request @example 200 | |||
| data | glovo.FiltersResponse | No | ||||
| data.category_id | integer | No | ||||
| data.city | string | No | ||||
| data.city_code | string | No | ||||
| data.country | string | No | ||||
| data.filters | array | No | ||||
| data.filters[].group | string | No | Group is Glovo's name for the filter family, for example "Food type". | |||
| data.filters[].id | integer | No | ID is the value /glovo/stores takes as filter_id. | |||
| data.filters[].title | string | No | ||||
| msg | unknown | No | Msg is the message that describes the result of the request @example "Request successful" |
| Status | Description | Schema |
|---|---|---|
| 400 | Bad Request | #/definitions/app.Response |
| 404 | Not Found | #/definitions/app.Response |
| 503 | Service Unavailable | #/definitions/app.Response |
Use environment variables for secrets and keep Crawlora API keys server-side.
curl -X GET "https://api.crawlora.net/api/v1/glovo/stores/filters?country=es&city=madrid&category_id=1&language=en" \
-H "x-api-key: $CRAWLORA_API_KEY"