HERE Places (Search) API
In maintenance
Places (Search) API Developer's Guide

# Cuisine Categories Entrypoint

This entrypoint is used to obtain the cuisine categories available for a given location. This entrypoint might be used to give a user a list of categories to choose from. The Cuisine Categories Entrypoint represents sets of locally relevant categories that are organized in a directed acyclic graph. The category graph may change in the future and may differ depending on the location of the request.

The Cuisine Categories Entrypoint is a Places (Search) API Core entrypoint.

## Entrypoint URI

/categories/cuisines

## Entrypoint Parameters

Parameter Type Description
at Position (format: latitude,longitude[;cgen=(map|gps|sgps)][;u=\d+]); required, unless one of the Geolocation or X-Map-Viewport headers or the in are set. Coordinates of search location expressed as latitude, longitude. Additional parameters can be passed which provide more context such as the uncertainty and how the coordinates were generated. For example, "52.5304417,13.4111201", "52.5304417,13.4111201;cgen=gps;u=100" or "52.5304417,13.4111201;u=100". For a full description, see the Location Contexts documentation.
in Area; required, unless one of the Geolocation or X-Map-Viewport headers or the at parameter are set. This parameter limits results to the boundary of the specified area. The search area can be expressed as:
• circle specified as a centre point with latitude and longitude; and a radius around that point. Format: latitude,longitude;r=\\d+(\\.\\d+)?[;cgen=(map|gps|sgps)][;u=\\d+]
• bounding box specified as 4 values, denoting west longitude, south latitude, east longitude, north latitude.
For a full description, see the Location Contexts documentation.

## GET Method

The GET method provides access to the cuisine categories relevant to a given position. When no such location is provided with the request, the response contains the graph with all cuisine categories recognized by the API.

## Response Media Type

Responses to requests to this endpoint will have the urn:nlp-types:category-graph media type. See the urn:nlp-types:category-graph media type documentation for details about the structure and content of the response.

## Request Example

https://places.sit.ls.hereapi.com/places/v1/categories/cuisines
?app_id={YOUR_APP_ID}
&app_code={YOUR_APP_CODE}
&at=52.50449,13.39091
&pretty


## Response Example

{
"items": [
{
"id": "cuisines",
"title": "Cuisines",
"type": "urn:nlp-types:category",
"href": "http://...",
"within": [ "eat-drink", "food-drink" ]
},
{
"id": "cuisines.barbecue",
"title": "Barbecue",
"type": "urn:nlp-types:category",
"href": "http://...",
"within": [ "cuisines" ]
},
{
"id": "cuisines.burger",
"title": "Burgers",
"type": "urn:nlp-types:category",
"href": "http://...",
"within": [ "cuisines" ]
},
...
]
}