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

# Per-POI travel times

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

## Request

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

Every nearby point of interest and its travel time from this block,
one row per (POI, mode). Keyset-paginated by (mode, dest_id).

## Path parameters

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

## Query parameters

- `mode` string[], nullable
- `type` integer[], nullable
- `dest_id` integer[], nullable
- `max_minutes` number, nullable
- `limit` integer, nullable
- `cursor` string, nullable

## Response `200`

Successful Response

- BlockPoisResponse: GET /v1/blocks/{geoid}/pois (routers.blocks.blocks_pois)
  - `block_geoid` string, required
  - `next_cursor` string, nullable
  - `results` PoiTime[], required
    - `address` Address, required: A POI street address; every field is nullable. (shape.shape_pois, queries.pois.detail)
      - `city` string, nullable
      - `state` string, nullable
      - `street` string, nullable
      - `zip` string, nullable
    - `dest_id` integer, required
    - `lat` number, required
    - `lon` number, required
    - `mode` string, required
    - `name` string, required
    - `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)
