<!-- Search API and AI connector: find car parks near a place. Canonical: https://parksby.io/developers/search · Last updated 2026-11-21 · OpenAPI: https://parksby.io/openapi.json -->

# Search API and AI connector: find car parks near a place

**Using an AI assistant?** Add Parksby as a connector instead: in the assistant's
settings, add a custom connector (MCP server) with the address
`https://api.parksby.io/mcp`. No sign-in. It gives the assistant two tools,
`search_parking` and `get_car_park`, with the same data and rules as this API.
Owners can list their parking the same way: tell the assistant about it, and its
`start_listing` tool returns a private link to check the details and submit them
(free; Parksby checks every listing before it appears).

For AI assistants, agents and apps that help people park. One call returns the car parks
near a point, nearest first, with what Parksby knows about each: prices, hours, how full
it is right now where an operator or public feed says so, ratings, and whether it takes
reservations. No key, no sign-up.

## Search near a point

`GET https://api.parksby.io/v1/search?lat=51.5074&lng=-0.1278`

| Parameter | Required | Meaning |
|---|---|---|
| `lat`, `lng` | yes | Where the person is going, in decimal degrees. Geocode place names yourself. |
| `radius_m` | no | How far to look, 50 to 5000 metres. Default 1000. |
| `limit` | no | How many car parks, 1 to 25. Default 10. |

## One car park

`GET https://api.parksby.io/v1/search?id=<car park id>`

## What comes back

```json
{
  "results": [
    {
      "id": "…",
      "name": "Q-Park Trafalgar",
      "type": "garage",
      "operator": "Q-Park",
      "address": "…",
      "latitude": 51.508, "longitude": -0.128,
      "distance_m": 140,
      "price": { "hourly": 7.5, "currency": "GBP", "notes": "…" },
      "hours": { "text": "24/7" },
      "availability": { "band": "busy", "observed_at": "2026-11-21T15:18:36Z" },
      "rating": 4.2, "review_count": 12,
      "reservable": false,
      "url": "https://parksby.io/car-parks/…",
      "directions": "https://www.google.com/maps/dir/?api=1&destination=51.508,-0.128",
      "attribution": "…"
    }
  ],
  "attribution": "Show each result's attribution wherever you show the result."
}
```

- `type` is `garage` (a car park building), `surface_lot` or `onstreet_zone` (street parking).
- `price` is what we know, in the car park's own currency; `null` when we don't know it.
- `availability` is present only when an operator or public feed reported it; `band` is
  `open` (plenty of space), `busy`, `nearly_full`, `full` or `closed`. We never guess it.
- `reservable` is `true` when the person can reserve a space in the Parksby app.
- `url` is the car park's page on parksby.io; send people there, or to the app.

## Rules

- **Show each result's `attribution`** wherever you show that result. Some data comes under
  licences that require it.
- About 60 requests a minute from one address; `429` beyond that. Results may be cached for a
  minute.
- Errors are JSON: `{ "error": "bad_request", "message": "…" }` (`400`, `404`, `429`, `503`).
- Exact free-space counts are a Parksby Premium feature in the app and are not in this API.
