Skip to content

Blocks within a census place

GET
/v1/places/{geoid}/blocks

Per-block travel times for every census block in a place (city/town).

geoid
required
Geoid

Census place GEOID

string

Census place GEOID

mode
Any of:
Array<string>
type
Any of:
Array<integer>
include_population
Include Population
boolean
limit
Any of:
integer
>= 1 <= 1000
cursor
Any of:
string

Successful Response

ArealBlocksResponse

POST /v1/blocks/query and GET /v1/places/{geoid}/blocks (routers.spatial._paged)

object
next_cursor
Any of:
string
results
required
Results
Array<object>
ArealBlockResult

One (block, category, mode) row. NOTE the int mode_id here, unlike the string mode on the block/point routes. (queries.spatial._pivot)

object
dest_type_id
required
Dest Type Id
integer
geoid
required
Geoid
string
mode_id
required
Mode Id

Numeric mode id (see /v1/meta/modes)

integer
population
Any of:
integer
travel_time
required
Travel Time

Minutes, 1 decimal

number
Example
{
"next_cursor": null,
"results": [
{
"dest_type_id": 30,
"geoid": "410390020001010",
"mode_id": 1,
"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