Records get
curl --request POST \
--url https://api.aisa.one/apis/v1/batch-openaddresses-io/addresses/records-get \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"hash": "96dff2f15d2c8079",
"source": "us/ak/bristol_bay_borough"
}
'import requests
url = "https://api.aisa.one/apis/v1/batch-openaddresses-io/addresses/records-get"
payload = {
"hash": "96dff2f15d2c8079",
"source": "us/ak/bristol_bay_borough"
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({hash: '96dff2f15d2c8079', source: 'us/ak/bristol_bay_borough'})
};
fetch('https://api.aisa.one/apis/v1/batch-openaddresses-io/addresses/records-get', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.aisa.one/apis/v1/batch-openaddresses-io/addresses/records-get",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'hash' => '96dff2f15d2c8079',
'source' => 'us/ak/bristol_bay_borough'
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.aisa.one/apis/v1/batch-openaddresses-io/addresses/records-get"
payload := strings.NewReader("{\n \"hash\": \"96dff2f15d2c8079\",\n \"source\": \"us/ak/bristol_bay_borough\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.aisa.one/apis/v1/batch-openaddresses-io/addresses/records-get")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"hash\": \"96dff2f15d2c8079\",\n \"source\": \"us/ak/bristol_bay_borough\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.aisa.one/apis/v1/batch-openaddresses-io/addresses/records-get")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"hash\": \"96dff2f15d2c8079\",\n \"source\": \"us/ak/bristol_bay_borough\"\n}"
response = http.request(request)
puts response.read_body{
"content_hash": "56ef87a63d0865b4e4bfe86fd75c9e66",
"data_id": 3771,
"job_id": 936682,
"layer": "addresses",
"licence": null,
"line_offset": 3,
"observed_at_ms": 1792352229615,
"publication_id": "936682",
"record": {
"accuracy": "",
"attribution": null,
"city": "NAKNEK",
"district": "",
"hash": "96dff2f15d2c8079",
"id": "",
"lat": 58.7332097,
"layer": "addresses",
"licence_class": "none_stated",
"lon": -157.0361641,
"number": "1040",
"occurrence": 0,
"postcode": "99633",
"publication_id": "936682",
"region": "ALASKA",
"retrieved_at": "2026-10-18T19:37:09Z",
"source": "us/ak/bristol_bay_borough",
"source_record_id": "us/ak/bristol_bay_borough:96dff2f15d2c8079:0",
"source_url": "https://v2.openaddresses.io/batch-prod/job/936682/source.geojson.gz",
"street": "POOH RD",
"unit": ""
},
"retrieved_at": "2026-10-18T19:37:09Z",
"source": "us/ak/bristol_bay_borough",
"source_url": "https://v2.openaddresses.io/batch-prod/job/936682/source.geojson.gz"
}OpenAddresses per-source runs
Records get
Re-read a single row from a source_record_id (<source>:<hash>:<occurrence>) obtained from records_list on a whole-file source.
POST
https://api.aisa.one
/
apis
/
v1
/
batch-openaddresses-io
/
addresses
/
records-get
Records get
curl --request POST \
--url https://api.aisa.one/apis/v1/batch-openaddresses-io/addresses/records-get \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"hash": "96dff2f15d2c8079",
"source": "us/ak/bristol_bay_borough"
}
'import requests
url = "https://api.aisa.one/apis/v1/batch-openaddresses-io/addresses/records-get"
payload = {
"hash": "96dff2f15d2c8079",
"source": "us/ak/bristol_bay_borough"
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({hash: '96dff2f15d2c8079', source: 'us/ak/bristol_bay_borough'})
};
fetch('https://api.aisa.one/apis/v1/batch-openaddresses-io/addresses/records-get', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.aisa.one/apis/v1/batch-openaddresses-io/addresses/records-get",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'hash' => '96dff2f15d2c8079',
'source' => 'us/ak/bristol_bay_borough'
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.aisa.one/apis/v1/batch-openaddresses-io/addresses/records-get"
payload := strings.NewReader("{\n \"hash\": \"96dff2f15d2c8079\",\n \"source\": \"us/ak/bristol_bay_borough\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.aisa.one/apis/v1/batch-openaddresses-io/addresses/records-get")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"hash\": \"96dff2f15d2c8079\",\n \"source\": \"us/ak/bristol_bay_borough\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.aisa.one/apis/v1/batch-openaddresses-io/addresses/records-get")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"hash\": \"96dff2f15d2c8079\",\n \"source\": \"us/ak/bristol_bay_borough\"\n}"
response = http.request(request)
puts response.read_body{
"content_hash": "56ef87a63d0865b4e4bfe86fd75c9e66",
"data_id": 3771,
"job_id": 936682,
"layer": "addresses",
"licence": null,
"line_offset": 3,
"observed_at_ms": 1792352229615,
"publication_id": "936682",
"record": {
"accuracy": "",
"attribution": null,
"city": "NAKNEK",
"district": "",
"hash": "96dff2f15d2c8079",
"id": "",
"lat": 58.7332097,
"layer": "addresses",
"licence_class": "none_stated",
"lon": -157.0361641,
"number": "1040",
"occurrence": 0,
"postcode": "99633",
"publication_id": "936682",
"region": "ALASKA",
"retrieved_at": "2026-10-18T19:37:09Z",
"source": "us/ak/bristol_bay_borough",
"source_record_id": "us/ak/bristol_bay_borough:96dff2f15d2c8079:0",
"source_url": "https://v2.openaddresses.io/batch-prod/job/936682/source.geojson.gz",
"street": "POOH RD",
"unit": ""
},
"retrieved_at": "2026-10-18T19:37:09Z",
"source": "us/ak/bristol_bay_borough",
"source_url": "https://v2.openaddresses.io/batch-prod/job/936682/source.geojson.gz"
}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
{
"operationId": "batch-openaddresses-io.addresses.records-get",
"method": "POST",
"path": "/apis/v1/batch-openaddresses-io/addresses/records-get",
"servers": [
{
"url": "https://api.aisa.one"
}
],
"parameters": [],
"security": [
{
"bearerAuth": []
}
],
"requestBody": {
"content": {
"application/json": {
"examples": {
"provider": {
"summary": "Official provider example; checked against AIsa request constraints",
"value": {
"hash": "96dff2f15d2c8079",
"source": "us/ak/bristol_bay_borough"
}
}
},
"schema": {
"additionalProperties": true,
"properties": {
"hash": {
"description": "16-hex row hash. Pattern: ^[0-9a-f]{16}$.",
"type": "string"
},
"job_id": {
"description": "Read this job's output instead of the latest successful one (old jobs stay readable).\n\nProvider reference: minimum 1.",
"type": "number",
"x-alexandria-option-metadata": {
"in": "body",
"min": 1
}
},
"layer": {
"default": "addresses",
"description": "OpenAddresses layer of the source. This program shapes `addresses` rows; other layers are listed and status-checked but their records are not decoded.\n\nProvider reference: allowed values [\"addresses\", \"buildings\", \"parcels\", \"centerlines\"]; default \"addresses\".",
"type": "string",
"x-alexandria-option-metadata": {
"in": "body",
"oneOf": [
"addresses",
"buildings",
"parcels",
"centerlines"
]
}
},
"name": {
"description": "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.",
"type": "string",
"x-alexandria-option-metadata": {
"in": "body"
}
},
"occurrence": {
"default": 0,
"description": "0-based index among rows sharing the hash.\n\nProvider reference: minimum 0; default 0.",
"type": "number",
"x-alexandria-option-metadata": {
"in": "body",
"min": 0
}
},
"source": {
"description": "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}$.",
"type": "string"
}
},
"required": [
"hash",
"source"
],
"type": "object"
}
}
},
"required": true
},
"x-aisa-status": "enabled",
"components": {
"securitySchemes": {
"bearerAuth": {
"scheme": "bearer",
"type": "http"
}
}
}
}
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
Body
application/json
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.
| Documented field | Provider type | Description |
|---|---|---|
content_hash | string | |
data_id | number | |
job_id | number | |
layer | string | |
licence | object | The job's licence as OpenAddresses records it, normalised; null when the job carries license: false. |
line_offset | number | 0-based line of the row in the file. |
observed_at_ms | number | |
publication_id | string | |
record | object | |
retrieved_at | string | RFC 3339 UTC time of the upstream read. |
source | string | |
source_url | string | The OpenAddresses URL this answer was read from (never a presigned URL). |
These are the provider's documented fields. Field requiredness, nullability and nested object structures are specified only where the descriptions explicitly say so.