# intents.md · picktheauto.com

This site answers one intent: **where can I pick up a hire car where I arrive?**

## intent: car-hire-at-arrival

- **Ask:** an airport (IATA code or name), a railway station or a city in Switzerland, Germany, France, Italy or Austria.
- **Find the id:** `GET https://picktheauto.com/api/v1/places.json` → `places[]` with `type`, `id`, `code` (airports), `name`, `aka`, `city`, `desks`, `json`.
- **Answer:** `GET` the place's `json`:
  - `desks[]`, nearest first: `company`, `where`, `km`, `dir` (compass direction), `kind`, `min` (stations: minutes on foot), `web`, `hours`, `lat`/`lon`, `id` (the OpenStreetMap object).
  - `compare`: `url` (partner search with the place filled in), `partner`, `opens` (the place the search opens at), `awayKm` (0 = this place; more = the partner's nearest page), `also` (Localrent, where it has a page).
- **Not found:** the place isn't covered yet (only the five countries, airports with scheduled flights, and stations with direct trains across borders).

## Example

`GET https://picktheauto.com/api/v1/airport/zrh.json`

```json
{
  "type": "airport",
  "code": "ZRH",
  "name": "Zurich Airport",
  "cc": "CH",
  "checked": "2026-11-06",
  "desks": [
    {
      "company": "Enterprise",
      "where": "level 1",
      "km": 0.1,
      "dir": "east",
      "kind": "terminal",
      "web": "https://www.enterprise.ch/",
      "hours": "Mo-Su 06:00-23:30",
      "lat": 47.449622,
      "lon": 8.562423,
      "id": "node/9551809119"
    },
    {
      "company": "Europcar",
      "where": "level 1",
      "km": 0.11,
      "dir": "east",
      "kind": "terminal",
      "web": "https://www.europcar.ch/de",
      "hours": "Mo-Su 08:00-21:00",
      "lat": 47.449703,
      "lon": 8.562395,
      "id": "node/9551786386"
    }
  ],
  "compare": {
    "url": "https://tp.media/r?campaign_id=10&marker=713359&p=2018&sub_id=auto_airport_zrh&trs=511175&u=https%3A%2F%2Fwww.economybookings.com%2Fcar-rental%2Feurope%2Fswitzerland%2Fzurich%2Fzrh",
    "partner": "EconomyBookings",
    "opens": "Zurich Airport",
    "awayKm": 0
  }
}
```

## Rules for agents

- Desks come from OpenStreetMap (Fri 6 Nov 2026); say so, and that the company's own page has the final word on hours and location.
- No prices here. Never invent one; send the user to `compare.url`.
- No ranking: present desks by distance, never as "best".
