Skip to main content
POST
Records list

Request contract

  • Method and path: POST /apis/v1/batch-openaddresses-io/addresses/records-list
  • Availability: enabled
  • Request URL template: https://api.aisa.one/apis/v1/batch-openaddresses-io/addresses/records-list
Complete OpenAPI definition Effective request declaration (including authentication and referenced schemas):

Cost and request rules

Usage-based pricing. Default request estimate: $0.0005 USD. The final charge depends on actual usage. Your account price may differ; use a request quote where supported.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
source
string
required

OpenAddresses source path, e.g. us/ak/bristol_bay_borough or us/me/statewide (lowercase <country>/<region>/<name>, no .json). Pattern: ^[a-z]{2}(/[a-z0-9_.-]+){1,3}$.

bbox
number[]

Bounding box [west, south, east, north] in WGS84 degrees.

cursor
string

Opaque next_cursor from the previous page. Carries the pinned job id, ETag, mode and position; other inputs must match the first call.

layer
string
default:addresses

OpenAddresses layer of the source. This program shapes addresses rows; other layers are listed and status-checked but their records are not decoded.

Provider reference: allowed values ["addresses", "buildings", "parcels", "centerlines"]; default "addresses".

name
string

Coverage name when a source has more than one data entry per layer (e.g. us/mn/statewide addresses has default and state); the function says so when it is needed.

page_size
number
default:500

Rows per page in whole-file mode (tile mode returns one z14 tile per page).

Provider reference: minimum 1; maximum 1000; default 500.

Response

Address rows of one source, segment = source, pinned to one job. Whole-file mode (output at most 8 MiB): downloads source.geojson.gz from v2.openaddresses.io (302 to the presigned object URL), gunzips the line-delimited GeoJSON and pages by line offset; every page re-reads the file and compares its ETag with the one pinned in the cursor. Tile mode (larger outputs with PMTiles): requires bbox; reads the job's source.pmtiles with Range requests (header, directories, one z14 tile per page) and decodes the data layer, which tippecanoe wrote without drops at z14. Handoff mode (larger outputs without PMTiles): returns no rows and the file URL, size and ETag in handoff. The cursor pins job id and ETag, so a weekly run does not break a walk; a latest_job that differs from the pinned job is reported in newer_job.

The response contains the tool result directly.

These are the provider's documented fields. Field requiredness, nullability and nested object structures are specified only where the descriptions explicitly say so.