Glovo API endpoint
Returns a city's top-level store categories (for example Food, Groceries, Shops, Pharmacy & Beauty). Each carries the id that /glovo/stores/filters and /glovo/stores take as category_id. Only categories of type STORES have a store list; other types, such as package delivery, are listed but have none. The set differs by city.
/glovo/categoriesQuery parameters: country (required), city (required), language (optional, default en).
| Field | Filled in, of 6 checked | Values in the sample |
|---|---|---|
| id | 6 | |
| title | 6 | “Food” and 5 other values |
| name | 6 | “RESTAURANT” and 5 other values |
| type | 6 | STORES (5), SHIPMENT (1) |
| enabled | 6 | true in 6 of 6 |
| open | 6 | true in 6 of 6 |
| single_store_slug | 1 |
| 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 | |
| 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/categories?country=es&city=madrid&language=en" \ -H "x-api-key: $CRAWLORA_API_KEY"
{
"code": 200,
"msg": "OK",
"data": {
"country": "es",
"city": "madrid",
"city_code": "mad",
"language": "en",
"categories": [
{
"id": 1,
"title": "Food",
"name": "RESTAURANT",
"type": "STORES",
"enabled": true,
"open": true
},
{
"id": 4,
"title": "Groceries",
"name": "SUPER-MARKET",
"type": "STORES",
"enabled": true,
"open": true
}
]
}
}Request schema
No body schema
Response schema
#/definitions/glovo.categoriesResponseDoc
| 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.CategoriesResponse | No | ||||
| data.categories | array | No | ||||
| data.categories[].enabled | boolean | No | ||||
| data.categories[].id | integer | No | ID is the value /glovo/stores/filters and /glovo/stores take as category_id. | |||
| data.categories[].name | string | No | Name is Glovo's internal category key (for example RESTAURANT). | |||
| data.categories[].open | boolean | No | ||||
| data.categories[].single_store_slug | string | No | ||||
| data.categories[].title | string | No | ||||
| data.categories[].type | string | No | Type is STORES for a store category; other types (for example SHIPMENT for package delivery) have no store list. | |||
| data.city | string | No | ||||
| data.city_code | string | No | ||||
| data.country | string | No | ||||
| data.language | 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/categories?country=es&city=madrid&language=en" \
-H "x-api-key: $CRAWLORA_API_KEY"