> ## Documentation Index
> Fetch the complete documentation index at: https://aisa.one/docs/llms.txt
> Use this file to discover all available pages before exploring further.

> ## Agent Instructions
> - Base URLs: models `https://api.aisa.one/v1` (Gemini GenerateContent: `https://api.aisa.one/v1beta`); data APIs `https://api.aisa.one/apis/v1`. The `servers` of each operation in https://aisa.one/openapi.yaml is authoritative.
> - Auth: `Authorization: Bearer $AISA_API_KEY`. Never print, log, or commit the key.
> - MCP (preferred for agents): `https://mcp.aisa.one/mcp`, signed in with OAuth, so there is no key to paste.
> - Agent Skill: `npx skills add AIsa-team/agent-skills --skill aisa`. Fallback with the AIsa CLI: `aisa skills install aisa`.
> - Spending: docs, https://aisa.one/models, https://aisa.one/api, `/v1/models`, and MCP `search`, `list_categories`, `get_details`, `batch_quote`, and the `account` operation are free. Quote the exact calls before running them (MCP `batch_quote`, CLI `aisa quote --json`). If the quote reports `auto_execute_eligible: true`, run it unless the user set a tighter limit or asked only for a quote. Otherwise, tell the user in one message the planned calls, the quoted price, and a total USD budget for the task, then wait for approval. Direct HTTP calls follow the stricter rule at https://aisa.one/docs/get-started/cli.md#direct-http-fallback. Do not make paid calls to test availability. Full rule: https://aisa.one/llms.txt

# Records list

> Pull every address point of a county or state source (`us/ak/bristol_bay_borough`), or the points of a large statewide source inside a bounding box (`us/me/statewide` with `bbox`). Follow `next_cursor` until null.

## 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](https://aisa.one/docs/openapi/batch-openaddresses-io.json)

Effective request declaration (including authentication and referenced schemas):

```json theme={null}
{
  "operationId": "batch-openaddresses-io.addresses.records-list",
  "method": "POST",
  "path": "/apis/v1/batch-openaddresses-io/addresses/records-list",
  "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": {
              "page_size": 3,
              "source": "us/ak/bristol_bay_borough"
            }
          }
        },
        "schema": {
          "additionalProperties": true,
          "properties": {
            "bbox": {
              "description": "Bounding box `[west, south, east, north]` in WGS84 degrees.",
              "items": {
                "type": "number"
              },
              "type": "array",
              "x-alexandria-option-metadata": {
                "in": "body"
              }
            },
            "cursor": {
              "description": "Opaque `next_cursor` from the previous page. Carries the pinned job id, ETag, mode and position; other inputs must match the first call.",
              "type": "string",
              "x-alexandria-option-metadata": {
                "in": "body"
              }
            },
            "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"
              }
            },
            "page_size": {
              "default": 500,
              "description": "Rows per page in whole-file mode (tile mode returns one z14 tile per page).\n\nProvider reference: minimum 1; maximum 1000; default 500.",
              "type": "number",
              "x-alexandria-option-metadata": {
                "in": "body",
                "max": 1000,
                "min": 1
              }
            },
            "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.


## OpenAPI

````yaml openapi/batch-openaddresses-io.json POST /apis/v1/batch-openaddresses-io/addresses/records-list
openapi: 3.1.0
info:
  description: ''
  title: OpenAddresses per-source runs
  version: '1'
  x-aisa-capabilities:
    idempotency: Idempotency-Key
    max_price: X-AISA-Max-Price-USD
    quote:
      header: X-AISA-Cost-Mode
      value: quote
  x-aisa-catalogs:
    batch-openaddresses-io:
      description: ''
      title: OpenAddresses per-source runs
      x-aisa-capabilities:
        idempotency: Idempotency-Key
        max_price: X-AISA-Max-Price-USD
        quote:
          header: X-AISA-Cost-Mode
          value: quote
      x-aisa-document:
        facts_hash: 632983d825507d6816323ab26455c1e13a5aa27c23694d88597d5dd92937beb3
        generator_version: '3'
        protocol_version: '1'
        schema_version: '1'
      x-aisa-plans:
        builder: 1
        display_plan: payg
        payg: 1
        similarweb_payg: 1
        team: 1
        version: e70a0959cd1b93b84ae16dffd7a538273ddb9c1d46277b82823c37ff1b6bc0fb
  x-aisa-configured-paths:
    - /apis/v1/batch-openaddresses-io/addresses/records-get
    - /apis/v1/batch-openaddresses-io/addresses/records-list
    - /apis/v1/batch-openaddresses-io/addresses/source-history
    - /apis/v1/batch-openaddresses-io/addresses/source-status
    - /apis/v1/batch-openaddresses-io/addresses/sources-list
  x-aisa-document:
    composer_version: '31'
    document_hash: sha256:13aee868ca1cb24fb7b97e930f5f9ac4fcc94f8ce81128db05fb22fcfbd35d27
    facts_hash: 632983d825507d6816323ab26455c1e13a5aa27c23694d88597d5dd92937beb3
    generator_version: '3'
    protocol_version: '1'
    response_pending: []
    schema_version: '1'
  x-aisa-plans:
    builder: 1
    display_plan: payg
    payg: 1
    similarweb_payg: 1
    team: 1
    version: e70a0959cd1b93b84ae16dffd7a538273ddb9c1d46277b82823c37ff1b6bc0fb
  x-aisa-provider: batch-openaddresses-io
servers:
  - url: https://api.aisa.one
security:
  - bearerAuth: []
paths:
  /apis/v1/batch-openaddresses-io/addresses/records-list:
    post:
      tags:
        - OpenAddresses per-source runs
      summary: Records list
      description: >-
        Pull every address point of a county or state source
        (`us/ak/bristol_bay_borough`), or the points of a large statewide source
        inside a bounding box (`us/me/statewide` with `bbox`). Follow
        `next_cursor` until null.
      operationId: batch-openaddresses-io.addresses.records-list
      requestBody:
        content:
          application/json:
            examples:
              provider:
                summary: >-
                  Official provider example; checked against AIsa request
                  constraints
                value:
                  page_size: 3
                  source: us/ak/bristol_bay_borough
            schema:
              additionalProperties: true
              properties:
                bbox:
                  description: Bounding box `[west, south, east, north]` in WGS84 degrees.
                  items:
                    type: number
                  type: array
                  x-alexandria-option-metadata:
                    in: body
                cursor:
                  description: >-
                    Opaque `next_cursor` from the previous page. Carries the
                    pinned job id, ETag, mode and position; other inputs must
                    match the first call.
                  type: string
                  x-alexandria-option-metadata:
                    in: body
                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.


                    Provider 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
                page_size:
                  default: 500
                  description: >-
                    Rows per page in whole-file mode (tile mode returns one z14
                    tile per page).


                    Provider reference: minimum 1; maximum 1000; default 500.
                  type: number
                  x-alexandria-option-metadata:
                    in: body
                    max: 1000
                    min: 1
                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
      responses:
        '200':
          content:
            application/json:
              examples:
                provider:
                  description: Published by the provider on 2026-10-18.
                  summary: Official provider example
                  value:
                    content_hash: 56ef87a63d0865b4e4bfe86fd75c9e66
                    count: 3
                    data_id: 3771
                    handoff: null
                    job_id: 936682
                    layer: addresses
                    licence: null
                    mode: whole_file
                    newer_job: null
                    next_cursor: >-
                      eyJ2IjoxLCJtIjoiZmlsZSIsImoiOjkzNjY4MiwiZSI6IjU2ZWY4N2E2M2QwODY1YjRlNGJmZTg2ZmQ3NWM5ZTY2IiwibyI6M30
                    observed_at_ms: 1792352222129
                    page:
                      bbox: null
                      offset: 0
                      tile: null
                    publication_id: '936682'
                    records:
                      - accuracy: ''
                        attribution: null
                        city: NAKNEK
                        district: ''
                        hash: ad81db01fcb9da7e
                        id: ''
                        lat: 58.7335835
                        layer: addresses
                        licence_class: none_stated
                        lon: -157.0245064
                        number: '642'
                        occurrence: 0
                        postcode: '99633'
                        publication_id: '936682'
                        region: ALASKA
                        retrieved_at: '2026-10-18T19:37:01Z'
                        source: us/ak/bristol_bay_borough
                        source_record_id: us/ak/bristol_bay_borough:ad81db01fcb9da7e:0
                        source_url: >-
                          https://v2.openaddresses.io/batch-prod/job/936682/source.geojson.gz
                        street: NORNAK LAKE RD
                        unit: ''
                      - accuracy: ''
                        attribution: null
                        city: NAKNEK
                        district: ''
                        hash: c37e1a230e868a50
                        id: ''
                        lat: 58.7336493
                        layer: addresses
                        licence_class: none_stated
                        lon: -157.0279727
                        number: '796'
                        occurrence: 0
                        postcode: '99633'
                        publication_id: '936682'
                        region: ALASKA
                        retrieved_at: '2026-10-18T19:37:01Z'
                        source: us/ak/bristol_bay_borough
                        source_record_id: us/ak/bristol_bay_borough:c37e1a230e868a50:0
                        source_url: >-
                          https://v2.openaddresses.io/batch-prod/job/936682/source.geojson.gz
                        street: NORNAK LAKE RD
                        unit: ''
                      - accuracy: ''
                        attribution: null
                        city: NAKNEK
                        district: ''
                        hash: a7f3fff37edd6ad2
                        id: ''
                        lat: 58.7334656
                        layer: addresses
                        licence_class: none_stated
                        lon: -157.0288537
                        number: '822'
                        occurrence: 0
                        postcode: '99633'
                        publication_id: '936682'
                        region: ALASKA
                        retrieved_at: '2026-10-18T19:37:01Z'
                        source: us/ak/bristol_bay_borough
                        source_record_id: us/ak/bristol_bay_borough:a7f3fff37edd6ad2:0
                        source_url: >-
                          https://v2.openaddresses.io/batch-prod/job/936682/source.geojson.gz
                        street: NORNAK LAKE RD
                        unit: ''
                    retrieved_at: '2026-10-18T19:37:01Z'
                    source: us/ak/bristol_bay_borough
                    source_url: >-
                      https://v2.openaddresses.io/batch-prod/job/936682/source.geojson.gz
                    total_count: 979
              schema:
                not:
                  type: 'null'
                x-aisa-schema-completeness: documented-fields-only
          description: >-
            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.


            | Documented field | Provider type | Description |

            | --- | --- | --- |

            | `content_hash` | string |  |

            | `count` | number |  |

            | `data_id` | number |  |

            | `handoff` | object | Set in `handoff` mode: the output is larger
            than the whole-file limit and the job has no PMTiles, so the
            downstream must fetch the file itself. |

            | `job_id` | number |  |

            | `layer` | string |  |

            | `licence` | object | The job's licence as OpenAddresses records
            it, normalised; null when the job carries `license: false`. |

            | `mode` | string |  |

            | `newer_job` | number | A later successful job for this source,
            when the walk is pinned to an older one; null otherwise. |

            | `next_cursor` | string |  |

            | `observed_at_ms` | number |  |

            | `page` | object |  |

            | `publication_id` | string |  |

            | `records` | 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). |

            | `total_count` | number | Row count of the whole job output. |



            These are the provider's documented fields. Field requiredness,
            nullability and nested object structures are specified only where
            the descriptions explicitly say so.
        default:
          content:
            application/json:
              schema: {}
          description: >-
            Error response; upstream passthrough responses may use provider
            formats
components:
  securitySchemes:
    bearerAuth:
      scheme: bearer
      type: http

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.