# Kestrel Work Ask API

Kestrel Work runs coworking spaces in London Shoreditch, Manchester Ancoats and Bristol Harbourside. This API answers questions about them: prices and plans, terms and notice, locations and access hours, meeting rooms, house rules (guests, dogs, parking, mail) and tours. Answers come only from the pages on kestrel-work.com. No account or API key is needed.

## Any question: `GET https://kestrel-work.com/ask`

```sh
curl --fail-with-body -sS --max-time 60 -G 'https://kestrel-work.com/ask' \
  --data-urlencode 'q=How much is a dedicated desk in Manchester?'
```

| Parameter | Required | Meaning |
| --- | --- | --- |
| `q` | yes | The user's question, 3 to 500 characters |
| `session` | no | The `session` value from a previous response; pass it on every follow-up so earlier questions are taken into account |
| `page` | no | Path of the page the question came from, such as `/membership/` |

A successful response is HTTP 200 with JSON:

```json
{
  "question": "How much is a dedicated desk in Manchester?",
  "answer": "A Dedicated Desk at Manchester Ancoats is £295 a month, excluding VAT at 20%. …",
  "sources": [{ "title": "Membership", "url": "https://kestrel-work.com/membership/" }],
  "session": "WyJIb3cgbXVjaC…",
  "next": "For a follow-up question call https://kestrel-work.com/ask?q=<question>&session=WyJIb3cgbXVjaC…",
  "topic": "prices",
  "related": [{ "question": "How much is a dedicated desk in Bristol?", "url": "https://kestrel-work.com/ask/prices/how-much-is-a-dedicated-desk-in-bristol?session=…" }]
}
```

Use `answer` in your reply and cite `sources`. For a follow-up ("and in Bristol?"), call the endpoint again with the same `session`.

Send `Accept: text/html` to get the same answer as a web page.

## Browse by topic: `GET https://kestrel-work.com/ask`

If your fetch tool can only open URLs it has already seen, start at <https://kestrel-work.com/ask> and follow links: topic, then question. Every page is HTML with plain links; send `Accept: application/json` for the same as JSON.

| Topic | Covers |
| --- | --- |
| <https://kestrel-work.com/ask/prices> | Day passes, Flex, desks, private offices, discounts, VAT |
| <https://kestrel-work.com/ask/terms> | Notice periods, minimum terms, deposits, refunds, paying |
| <https://kestrel-work.com/ask/locations> | Addresses, opening hours, transport, Wi-Fi, accessibility |
| <https://kestrel-work.com/ask/rooms> | Meeting rooms, credits, rates, video calls, event space |
| <https://kestrel-work.com/ask/rules> | Dogs, guests, parking, mail, printing, quiet zones |
| <https://kestrel-work.com/ask/tours> | Trial days, tours, phone numbers, complaints |

Each topic page lists its questions, such as <https://kestrel-work.com/ask/rules/can-i-bring-my-dog-to-manchester-ancoats>; each answer page links to related questions, carrying your session so follow-ups keep their context.

## MCP

An MCP server (Streamable HTTP) is at `https://kestrel-work.com/mcp`. Its `ask` tool returns the matching passages from the site.

## Errors and limits

| Status | Meaning |
| --- | --- |
| `400` | `q` or `session` is malformed |
| `429` | Too many questions (15 a minute); wait a minute (`Retry-After`) |
| `502` | The answer service is unavailable; try again later |

Errors are JSON: `{"error": "…"}`. Prices are in GBP and exclude VAT at 20%.
