---
title: "Per-category travel times"
method: GET
path: "/v1/blocks/{geoid}/summary"
tags: ["origin block"]
---

# Per-category travel times

`GET /v1/blocks/{geoid}/summary`

## Request

- Base URL: `https://api.close.city`
- URL: `https://api.close.city/v1/blocks/{geoid}/summary`
- Auth: HTTP bearer

Fastest travel time from this block to each destination category, by
mode. These are the same per-category minimums close.city shows.

## Path parameters

- `geoid` string, required: 15-digit census block GEOID

## Query parameters

- `mode` string[], nullable
- `type` integer[], nullable

## Response `200`

Successful Response

- BlockSummaryResponse: GET /v1/blocks/{geoid}/summary (routers.blocks.blocks_summary)
  - `block` BlockMeta, required: Census-block metadata. (queries.blocks.summary_rows -> block_meta)
    - `geoid` string, required: 15-digit census block GEOID
    - `land_area_m2` number, nullable: Block land area in square metres
    - `population` integer, nullable
  - `results` CategoryTime[], required
    - `dest_type_id` integer, required
    - `mode` string, required: Travel mode label, e.g. 'walk'
    - `travel_time` number, required: Minutes, capped at 30, 1 decimal

## Other responses

- `304`: Not modified (If-None-Match matched the ETag); no body, no tokens charged
- `400`: Invalid request (e.g. invalid-parameters, invalid-cursor, invalid-bbox, missing-location, missing-area, invalid-geometry, polygon-too-complex, missing-origins, too-many-origins)
- `401`: Missing or invalid API key (missing-key, invalid-key)
- `403`: Key disabled (account-disabled)
- `404`: Resource not found (block-not-found, poi-not-found, place-not-found, point-not-covered, no-isochrone-data, direction-not-available)
- `429`: Rate limited or token balance exhausted (rate-limited, tokens-exhausted); sets Retry-After
- `503`: Backend temporarily unavailable (debit-unavailable, store-unavailable); may set Retry-After

---

[API](https://skmtc.dev/close-city/apis/close-api.md) · [All operations](https://skmtc.dev/close-city/apis/close-api/llms.txt) · [OpenAPI document](https://skmtc.dev/close-city/apis/close-api/revisions/a70e7c778d65?raw)
