curl --request POST \
--url https://api.aisa.one/apis/v1/batch-openaddresses-io/addresses/source-status \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"source": "us/ak/bristol_bay_borough"
}
'import requests
url = "https://api.aisa.one/apis/v1/batch-openaddresses-io/addresses/source-status"
payload = { "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({source: 'us/ak/bristol_bay_borough'})
};
fetch('https://api.aisa.one/apis/v1/batch-openaddresses-io/addresses/source-status', 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/source-status",
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([
'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/source-status"
payload := strings.NewReader("{\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/source-status")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\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/source-status")
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 \"source\": \"us/ak/bristol_bay_borough\"\n}"
response = http.request(request)
puts response.read_body{
"access_mode": "whole_file",
"bounds": [
-157.0825058,
58.6214979,
-156.4573269,
58.7612884
],
"changes": "not_available",
"content_hash": "56ef87a63d0865b4e4bfe86fd75c9e66",
"content_hash_kind": "etag",
"count": 979,
"data_id": 3771,
"history_url": "https://batch.openaddresses.io/api/data/3771/history",
"job_id": 936682,
"last_modified": "Fri, 16 Oct 2026 15:25:17 GMT",
"layer": "addresses",
"licence": null,
"licence_class": "none_stated",
"map_id": 16542,
"name": "county",
"observed_at_ms": 1792352210028,
"output_url": "https://v2.openaddresses.io/batch-prod/job/936682/source.geojson.gz",
"pmtiles_url": "https://v2.openaddresses.io/batch-prod/job/936682/source.pmtiles",
"publication_id": "936682",
"published_at": "2026-10-16T12:15:43.799Z",
"retrieved_at": "2026-10-18T19:36:49Z",
"run_id": 17008,
"size_bytes": 27520,
"source": "us/ak/bristol_bay_borough",
"source_commit_url": "https://raw.githubusercontent.com/openaddresses/openaddresses/62b67d7755644633c45d90ebd06839e02291e04b/sources/us/ak/bristol_bay_borough.json",
"source_url": "https://batch.openaddresses.io/api/data?source=us/ak/bristol_bay_borough&layer=addresses",
"stats": {
"counts": {
"city": 979,
"district": 0,
"number": 979,
"postcode": 979,
"region": 979,
"street": 979,
"unit": 0
},
"valid": 979
},
"status": "Success",
"updated": "2026-10-16T15:25:18.907Z"
}Source status
Before a walk or on a schedule: compare publication_id (job id) and content_hash (ETag) with the last seen values; read access_mode to know whether records_list can page the whole file, needs a bbox, or hands off the file URL.
curl --request POST \
--url https://api.aisa.one/apis/v1/batch-openaddresses-io/addresses/source-status \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"source": "us/ak/bristol_bay_borough"
}
'import requests
url = "https://api.aisa.one/apis/v1/batch-openaddresses-io/addresses/source-status"
payload = { "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({source: 'us/ak/bristol_bay_borough'})
};
fetch('https://api.aisa.one/apis/v1/batch-openaddresses-io/addresses/source-status', 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/source-status",
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([
'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/source-status"
payload := strings.NewReader("{\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/source-status")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\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/source-status")
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 \"source\": \"us/ak/bristol_bay_borough\"\n}"
response = http.request(request)
puts response.read_body{
"access_mode": "whole_file",
"bounds": [
-157.0825058,
58.6214979,
-156.4573269,
58.7612884
],
"changes": "not_available",
"content_hash": "56ef87a63d0865b4e4bfe86fd75c9e66",
"content_hash_kind": "etag",
"count": 979,
"data_id": 3771,
"history_url": "https://batch.openaddresses.io/api/data/3771/history",
"job_id": 936682,
"last_modified": "Fri, 16 Oct 2026 15:25:17 GMT",
"layer": "addresses",
"licence": null,
"licence_class": "none_stated",
"map_id": 16542,
"name": "county",
"observed_at_ms": 1792352210028,
"output_url": "https://v2.openaddresses.io/batch-prod/job/936682/source.geojson.gz",
"pmtiles_url": "https://v2.openaddresses.io/batch-prod/job/936682/source.pmtiles",
"publication_id": "936682",
"published_at": "2026-10-16T12:15:43.799Z",
"retrieved_at": "2026-10-18T19:36:49Z",
"run_id": 17008,
"size_bytes": 27520,
"source": "us/ak/bristol_bay_borough",
"source_commit_url": "https://raw.githubusercontent.com/openaddresses/openaddresses/62b67d7755644633c45d90ebd06839e02291e04b/sources/us/ak/bristol_bay_borough.json",
"source_url": "https://batch.openaddresses.io/api/data?source=us/ak/bristol_bay_borough&layer=addresses",
"stats": {
"counts": {
"city": 979,
"district": 0,
"number": 979,
"postcode": 979,
"region": 979,
"street": 979,
"unit": 0
},
"valid": 979
},
"status": "Success",
"updated": "2026-10-16T15:25:18.907Z"
}Request contract
- Method and path: POST /apis/v1/batch-openaddresses-io/addresses/source-status
- Availability: enabled
- Request URL template:
https://api.aisa.one/apis/v1/batch-openaddresses-io/addresses/source-status
{
"operationId": "batch-openaddresses-io.addresses.source-status",
"method": "POST",
"path": "/apis/v1/batch-openaddresses-io/addresses/source-status",
"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": {
"source": "us/ak/bristol_bay_borough"
}
}
},
"schema": {
"additionalProperties": true,
"properties": {
"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 (rare).",
"type": "string",
"x-alexandria-option-metadata": {
"in": "body"
}
},
"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": [
"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
Response
Cheap version check for one source: resolves the data entry (GET /api/data?source=&layer=), reads the latest successful job (GET /api/job/<id>: count, stats, bounds, licence, pinned source commit) and takes the output's ETag, size and Last-Modified with a 1-byte Range read of https://v2.openaddresses.io/batch-prod/job/<job>/source.geojson.gz (302 to a presigned object URL, resolved per call and never returned).
The response contains the tool result directly.
| Documented field | Provider type | Description |
|---|---|---|
access_mode | string | How records_list reads this source: whole_file (output at most 8 MiB), tiles (larger, PMTiles present; needs a bbox), handoff (larger, no PMTiles). |
bounds | number[] | Job bounds [west, south, east, north]. |
changes | string | OpenAddresses publishes whole runs, not record deltas; diff snapshots downstream. |
content_hash | string | ETag of source.geojson.gz as served by the object store: an MD5 for single-part uploads, <md5>-<parts> for multipart uploads; an opaque version token. |
content_hash_kind | string | |
count | number | Row count as the job reports it. |
data_id | number | OpenAddresses data entry id (source x layer x name). |
history_url | string | /api/data/<data_id>/history. |
job_id | number | |
last_modified | string | Last-Modified of the output object. |
layer | string | |
licence | object | The job's licence as OpenAddresses records it, normalised; null when the job carries license: false. |
licence_class | string | Licence class derived from the publisher's licence fields: public_domain (CC0, PDDL, public domain), attribution (CC BY and other attribution licences or an attribution requirement), share_alike (CC BY-SA, ODbL or share-alike flag), none_stated (no licence recorded; OpenAddresses does not relicense), other (text present but unrecognised, e.g. an indemnification note). |
map_id | number | |
name | string | Coverage name of the data entry (county, state, city, ...). |
observed_at_ms | number | |
output_url | string | Keyless download URL on v2.openaddresses.io (302 to a presigned object URL, resolved per call). |
pmtiles_url | string | PMTiles URL when the job produced tiles. |
publication_id | string | The latest successful job id as a string; pin this. |
published_at | string | Job creation time (RFC 3339). |
retrieved_at | string | RFC 3339 UTC time of the upstream read. |
run_id | number | |
size_bytes | number | Size of source.geojson.gz. |
source | string | |
source_commit_url | string | Pinned GitHub URL of the source JSON used by the job. |
source_url | string | The OpenAddresses URL this answer was read from (never a presigned URL). |
stats | object | |
status | string | Job status (Success). |
updated | string | Data entry updated time. |
These are the provider's documented fields. Field requiredness, nullability and nested object structures are specified only where the descriptions explicitly say so.