# Find a location (v1)

Returns the cities, airports, landmarks and hotels Priceline suggests for a name, each with the `location_id` the Hotel Search endpoint takes. Empty `results` means nothing matched.

- Platform: Priceline
- Request: `GET https://api.toolzerhub.com/v1/priceline/locations`
- Auth: `x-api-key` header
- Cost: 1 credit per successful request. Failed requests are not billed.
- Page: https://docs.toolzerhub.com/reference/priceline/locations/get-priceline-locations

| Parameter | In | Required | Type | Description |
| --- | --- | --- | --- | --- |
| `query` | query | yes | string | A city, airport, landmark or hotel name, such as paris, JFK or Hilton Times Square. |

## Example request

```bash
curl "https://api.toolzerhub.com/v1/priceline/locations?query=<query>" \
  -H "x-api-key: $TOOLZERHUB_API_KEY"
```

Success responses are wrapped as `{ "data": ... }`. Errors return `{ "error": { "code", "status", "message", "retryable", "details" } }`. See https://docs.toolzerhub.com/docs/responses-and-errors.
