Blocks that can reach many POIs
POST/v1/pois/catchment
Every census block within reach of each of many POIs and its travel time,
one row per (POI, block, mode). This is the batch form of
GET /v1/pois/{dest_id}/catchment. Each row carries its origin dest_id.
Authorizations
Section titled “Authorizations”Request Bodyrequired
Section titled “Request Bodyrequired”object
POI destination ids (1-250)
Example
{ "dest_ids": [ 4181, 4182 ], "max_minutes": 10, "mode": [ "walk" ]}Responses
Section titled “Responses”Successful Response
POST /v1/pois/catchment (routers.batch.poi_catchment_batch)
object
One origin that could not be resolved in a batch call. Extra members
carry the origin key: geoid (blocks), origin_lat/origin_lon (points),
or dest_id (catchment). (routers.batch)
object
Error slug: block-not-found, no-block-data, point-not-covered, or poi-not-found
A catchment row tagged with its origin POI. (routers.batch)
object
Origin POI destination id
Minutes, 1 decimal
Dest_ids skipped once the row budget was spent
Example
{ "errors": [], "results": [ { "dest_id": 4181, "geoid": "410390020001010", "mode": "walk", "travel_time": 8 } ], "truncated": [], "truncated_reason": null}Invalid request (e.g. invalid-parameters, invalid-cursor, invalid-bbox, missing-location, missing-area, invalid-geometry, polygon-too-complex, missing-origins, too-many-origins)
400 invalid-parameters, carrying the offending fields. (core.problems, RequestValidationError handler)
object
object
Problem type URI; the final path segment is the stable slug
Missing or invalid API key (missing-key, invalid-key)
RFC 9457 problem detail. Served as application/problem+json. Additional
members appear for some problem types (e.g. errors). (core.problems.problem)
Key disabled (account-disabled)
RFC 9457 problem detail. Served as application/problem+json. Additional
members appear for some problem types (e.g. errors). (core.problems.problem)
Rate limited or token balance exhausted (rate-limited, tokens-exhausted); sets Retry-After
RFC 9457 problem detail. Served as application/problem+json. Additional
members appear for some problem types (e.g. errors). (core.problems.problem)
Backend temporarily unavailable (debit-unavailable, store-unavailable); may set Retry-After
RFC 9457 problem detail. Served as application/problem+json. Additional
members appear for some problem types (e.g. errors). (core.problems.problem)