Skip to main content
POST
Records get

Request contract

  • Method and path: POST /apis/v1/batch-openaddresses-io/addresses/records-get
  • Availability: enabled
  • Request URL template: https://api.aisa.one/apis/v1/batch-openaddresses-io/addresses/records-get
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
hash
string
required

16-hex row hash. Pattern: ^[0-9a-f]{16}$.

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}$.

job_id
number

Read this job's output instead of the latest successful one (old jobs stay readable).

Provider reference: minimum 1.

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.

occurrence
number
default:0

0-based index among rows sharing the hash.

Provider reference: minimum 0; default 0.

Response

One address row of a whole-file source by its OpenAddresses row hash (and occurrence index when the hash repeats), read from the latest successful job's source.geojson.gz. Sources whose output exceeds 8 MiB are rejected with invalid_input: use records_list with a bbox instead.

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.