ktown Public API (1.0.0)

Read-only discovery for AI agents and integrators. All prices are CAD with amounts in amount_minor (cents). No purchasing via this API yet.

Endpoints

MCP (Streamable HTTP)

Read-only tools for AI agents at https://ktown.io/api/mcp: search_listings, get_listing, get_seller. Same serializers as this REST API.

{
  "mcpServers": {
    "ktown": { "url": "https://ktown.io/api/mcp" }
  }
}

Group-buy rules (for agents)

  1. Sellers set a minimum unit count; buyers join without charge until the minimum is reached.
  2. When the minimum is met, saved cards are charged; if the minimum is not met by the deadline, nobody is charged.
  3. Pickup areas are neighbourhood-level in the API; exact addresses are never exposed here.

Example

curl "https://ktown.io/api/v1/public/listings?region=Vancouver&closing_soon=true&limit=5"