Skip to content

Blocks that can reach a POI

GET
/v1/pois/{dest_id}/catchment

Every census block within reach of this POI and its travel time, one row per (block, mode). Keyset-paginated by (mode, block).

dest_id
required
Dest Id

Stable destination id

integer

Stable destination id

mode
Any of:
Array<string>
block
Any of:
Array<integer>
max_minutes
Any of:
number
<= 30
limit
Any of:
integer
>= 1 <= 1000
cursor
Any of:
string

Successful Response

CatchmentResponse
object
dest_id
required
Dest Id
integer
next_cursor
Any of:
string
results
required
Results
Array<object>
CatchmentResult

One block that can reach the POI, by mode. (shape.shape_catchment)

object
geoid
required
Geoid
string
mode
required
Mode
string
travel_time
required
Travel Time

Minutes, 1 decimal

number
Example
{
"dest_id": 9001,
"next_cursor": null,
"results": [
{
"geoid": "410390020001010",
"mode": "walk",
"travel_time": 6.5
}
]
}

Not modified (If-None-Match matched the ETag); no body, no tokens charged

Invalid request (e.g. invalid-parameters, invalid-cursor, invalid-bbox, missing-location, missing-area, invalid-geometry, polygon-too-complex, missing-origins, too-many-origins)

ValidationProblem

400 invalid-parameters, carrying the offending fields. (core.problems, RequestValidationError handler)

object
detail
Any of:
string
errors
Any of:
Array<object>
ValidationErrorItem
object
loc
required
Loc
Array
msg
required
Msg
string
type
required
Type
string
status
required
Status
integer
title
required
Title
string
type
required
Type

Problem type URI; the final path segment is the stable slug

string
key
additional properties
any

Missing or invalid API key (missing-key, invalid-key)

Problem

RFC 9457 problem detail. Served as application/problem+json. Additional members appear for some problem types (e.g. errors). (core.problems.problem)

object
detail
Any of:
string
status
required
Status
integer
title
required
Title
string
type
required
Type

Problem type URI; the final path segment is the stable slug

string
key
additional properties
any

Key disabled (account-disabled)

Problem

RFC 9457 problem detail. Served as application/problem+json. Additional members appear for some problem types (e.g. errors). (core.problems.problem)

object
detail
Any of:
string
status
required
Status
integer
title
required
Title
string
type
required
Type

Problem type URI; the final path segment is the stable slug

string
key
additional properties
any

Resource not found (block-not-found, poi-not-found, place-not-found, point-not-covered, no-isochrone-data, direction-not-available)

Problem

RFC 9457 problem detail. Served as application/problem+json. Additional members appear for some problem types (e.g. errors). (core.problems.problem)

object
detail
Any of:
string
status
required
Status
integer
title
required
Title
string
type
required
Type

Problem type URI; the final path segment is the stable slug

string
key
additional properties
any

Rate limited or token balance exhausted (rate-limited, tokens-exhausted); sets Retry-After

Problem

RFC 9457 problem detail. Served as application/problem+json. Additional members appear for some problem types (e.g. errors). (core.problems.problem)

object
detail
Any of:
string
status
required
Status
integer
title
required
Title
string
type
required
Type

Problem type URI; the final path segment is the stable slug

string
key
additional properties
any

Backend temporarily unavailable (debit-unavailable, store-unavailable); may set Retry-After

Problem

RFC 9457 problem detail. Served as application/problem+json. Additional members appear for some problem types (e.g. errors). (core.problems.problem)

object
detail
Any of:
string
status
required
Status
integer
title
required
Title
string
type
required
Type

Problem type URI; the final path segment is the stable slug

string
key
additional properties
any