Skip to content

Per-POI travel times

GET
/v1/blocks/{geoid}/pois

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

geoid
required
Geoid

15-digit census block GEOID

string
/^\d{15}$/

15-digit census block GEOID

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

Successful Response

BlockPoisResponse

GET /v1/blocks/{geoid}/pois (routers.blocks.blocks_pois)

object
block_geoid
required
Block Geoid
string
next_cursor
Any of:
string
results
required
Results
Array<object>
PoiTime

One POI reachable from an origin, with its travel time. (shape.shape_pois)

object
address
required
Address

A POI street address; every field is nullable. (shape.shape_pois, queries.pois.detail)

object
city
Any of:
string
state
Any of:
string
street
Any of:
string
zip
Any of:
string
dest_id
required
Dest Id
integer
lat
required
Lat
number
lon
required
Lon
number
mode
required
Mode
string
name
required
Name
string
travel_time
required
Travel Time

Minutes, capped at 30, 1 decimal

number
Example
{
"block_geoid": "410390020001010",
"next_cursor": "eyJhIjoxLCJiIjo5MDAxLCJ2IjoxfQ.Xa1b2c3d",
"results": [
{
"address": {
"city": "Springfield",
"state": "OR",
"street": "742 Evergreen Ter",
"zip": "97477"
},
"dest_id": 9001,
"lat": 44.05,
"lon": -123.09,
"mode": "walk",
"name": "Market of Choice",
"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