Skip to content

Features

Instead

When a place's wait is long, Waity offers nearby places of the same kind with a shorter one, and says how much shorter and how much farther.

What it is

The answer for one place, GET /v1/places/{id} or the get_wait tool, carries instead: up to three alternatives, best first, each in the same shape as any place. An agent can say “the bridge is 55 min, Ysleta is 7” without a second search.

Ask for alternatives

instead is in the full view: send view=full to REST, or "view": "full" to get_wait, which defaults to minimal. Both views carry links.alternatives, a list call for the same places.

curl "https://api.waity.ai/v1/places/pl_6e3znhb7h9?view=full" \
  -H "X-Api-Key: $WAITY_API_KEY"

How it chooses

Compared with the place asked about

Each alternative carries vs_requested:

One entry of instead

{
  "place": {
    "id": "pl_nvk0wkb3ps",
    "name": "Ysleta Passenger Vehicles, Standard",
    "category": "border",
    "parent": {
      "id": "pl_q4znr9abbj",
      "name": "Ysleta-Zaragoza Bridge"
    },
    "open_now": true,
    "opens_at": null,
    "closes_at": null,
    "timezone": "America/Denver",
    "sample": false,
    "facility": null,
    "audience": "all",
    "lane": "standard",
    "url": "https://waity.ai/places/ysleta-passenger-vehicles-standard-kb3ps",
    "api_url": "https://api.waity.ai/v1/places/pl_nvk0wkb3ps"
  },
  "summary": "About 7 min to enter the US, estimated by the border agency, updated 2 min ago.",
  "now": {
    "status": "live",
    "usable": true,

What it never does

ER safety

Every ER answer says this in warnings[0] and notes. Read them to the user before any alternative.

When it's empty

When nothing qualifies, instead is an empty list and diagnostics says why: nothing is shorter once the drive is counted, the waits nearby come from a source that measures differently, or no other place nearby is one someone in this line can use.

Related

Reading an answer explains every field of an alternative. The parameters are in REST API and MCP, and every field is in the API reference.

Essential cookies keep the site working. Optional analytics cookies help us improve it. See our Privacy Policy and Terms.