> ## 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

# Saipe list

> Full collection of county poverty counts/rates and median household income for a year, optionally for one state.

## Request contract

* **Method and path:** POST /apis/v1/census-gov/census/saipe-list
* **Availability:** enabled
* **Request URL template:** `https://api.aisa.one/apis/v1/census-gov/census/saipe-list`

[Complete OpenAPI definition](https://aisa.one/docs/openapi/census-gov.json)

Effective request declaration (including authentication and referenced schemas):

```json theme={null}
{
  "operationId": "census-gov.census.saipe-list",
  "method": "POST",
  "path": "/apis/v1/census-gov/census/saipe-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,
              "state": "MT",
              "year": 2024
            }
          }
        },
        "schema": {
          "additionalProperties": true,
          "properties": {
            "continuation": {
              "description": "Opaque cursor from the previous page's next_cursor. It pins the vintage, file, Last-Modified and size; when the source has moved on the call fails with invalid_input at /continuation (issue code publication_changed) instead of mixing versions.",
              "type": "string",
              "x-alexandria-option-metadata": {
                "in": "body"
              }
            },
            "page_size": {
              "description": "Records per page; default 500.\n\nProvider reference: minimum 1; maximum 5000.",
              "type": "number",
              "x-alexandria-option-metadata": {
                "in": "body",
                "max": 5000,
                "min": 1
              }
            },
            "state": {
              "description": "State as 2-digit FIPS (30) or postal code (MT, mt). Pattern: ^([0-9]{2}|[A-Za-z]{2})$.",
              "type": "string",
              "x-alexandria-option-metadata": {
                "in": "body"
              }
            },
            "year": {
              "description": "SAIPE estimate year (directory saipe/datasets/<year>/<year>-state-and-county/). Default: the newest year directory. Positions verified against the 2019 and 2024 layout READMEs; lines that do not fit the layout are rejected.\n\nProvider reference: minimum 2010; maximum 2035.",
              "type": "number",
              "x-alexandria-option-metadata": {
                "in": "body",
                "max": 2035,
                "min": 2010
              }
            }
          },
          "type": "object"
        }
      }
    },
    "required": false
  },
  "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/census-gov.json POST /apis/v1/census-gov/census/saipe-list
openapi: 3.1.0
info:
  description: ''
  title: US Census Bureau
  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:
    census-gov:
      description: ''
      title: US Census Bureau
      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: eaabe92020e77779a83c21c13467dbc8d97222591a3938cbb52d67ed4a3ca399
        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/census-gov/census/data
    - /apis/v1/census-gov/census/datasets
    - /apis/v1/census-gov/census/geographies
    - /apis/v1/census-gov/census/popest-get
    - /apis/v1/census-gov/census/popest-list
    - /apis/v1/census-gov/census/popest-status
    - /apis/v1/census-gov/census/saipe-get
    - /apis/v1/census-gov/census/saipe-list
    - /apis/v1/census-gov/census/saipe-status
    - /apis/v1/census-gov/census/variables
  x-aisa-document:
    composer_version: '31'
    document_hash: sha256:87057e10a7fc2f9e702ee4693519b68dad96de5e093a92fe942fd1a157f483c6
    facts_hash: eaabe92020e77779a83c21c13467dbc8d97222591a3938cbb52d67ed4a3ca399
    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: census-gov
servers:
  - url: https://api.aisa.one
security:
  - bearerAuth: []
paths:
  /apis/v1/census-gov/census/saipe-list:
    post:
      tags:
        - US Census Bureau
      summary: Saipe list
      description: >-
        Full collection of county poverty counts/rates and median household
        income for a year, optionally for one state.
      operationId: census-gov.census.saipe-list
      requestBody:
        content:
          application/json:
            examples:
              provider:
                summary: >-
                  Official provider example; checked against AIsa request
                  constraints
                value:
                  page_size: 3
                  state: MT
                  year: 2024
            schema:
              additionalProperties: true
              properties:
                continuation:
                  description: >-
                    Opaque cursor from the previous page's next_cursor. It pins
                    the vintage, file, Last-Modified and size; when the source
                    has moved on the call fails with invalid_input at
                    /continuation (issue code publication_changed) instead of
                    mixing versions.
                  type: string
                  x-alexandria-option-metadata:
                    in: body
                page_size:
                  description: |-
                    Records per page; default 500.

                    Provider reference: minimum 1; maximum 5000.
                  type: number
                  x-alexandria-option-metadata:
                    in: body
                    max: 5000
                    min: 1
                state:
                  description: >-
                    State as 2-digit FIPS (30) or postal code (MT, mt). Pattern:
                    ^([0-9]{2}|[A-Za-z]{2})$.
                  type: string
                  x-alexandria-option-metadata:
                    in: body
                year:
                  description: >-
                    SAIPE estimate year (directory
                    saipe/datasets/<year>/<year>-state-and-county/). Default:
                    the newest year directory. Positions verified against the
                    2019 and 2024 layout READMEs; lines that do not fit the
                    layout are rejected.


                    Provider reference: minimum 2010; maximum 2035.
                  type: number
                  x-alexandria-option-metadata:
                    in: body
                    max: 2035
                    min: 2010
              type: object
        required: false
      responses:
        '200':
          content:
            application/json:
              examples:
                provider:
                  description: Published by the provider on 2026-10-18.
                  summary: Official provider example
                  value:
                    content_hash: >-
                      4860700c04e5b081bccdf8447b3239da65fbf3574404d3421f701ccd5021aff6
                    count: 3
                    file_name: est24-mt.txt
                    file_url: >-
                      https://www2.census.gov/programs-surveys/saipe/datasets/2024/2024-state-and-county/est24-mt.txt
                    has_more: true
                    hash_source: sha256:file_bytes
                    last_modified: '2026-01-27T15:47:47Z'
                    next_cursor: saipe1|2024|MT|2026-01-27T15:47:47Z|15105|3
                    observed_at_ms: 1792345628577
                    offset: 0
                    publication_id: saipe2024:est24-mt.txt:2026-01-27T15:47:47Z
                    records:
                      - county_fips: '000'
                        file_tag: est24-mt.txt 07JAN2026
                        geo_id: '30000'
                        level: state
                        median_household_income:
                          ci_lower: 73980
                          ci_upper: 77060
                          estimate: 75520
                        name: Montana
                        postal: MT
                        poverty_age_0_17:
                          ci_lower: 24048
                          ci_upper: 29208
                          estimate: 26628
                          percent: 11.7
                          percent_ci_lower: 10.6
                          percent_ci_upper: 12.8
                        poverty_age_0_4:
                          ci_lower: 5998
                          ci_upper: 7842
                          estimate: 6920
                          percent: 12.5
                          percent_ci_lower: 10.8
                          percent_ci_upper: 14.2
                        poverty_all_ages:
                          ci_lower: 110419
                          ci_upper: 121789
                          estimate: 116104
                          percent: 10.4
                          percent_ci_lower: 9.9
                          percent_ci_upper: 10.9
                        poverty_related_children_5_17:
                          ci_lower: 16265
                          ci_upper: 21001
                          estimate: 18633
                          percent: 10.9
                          percent_ci_lower: 9.5
                          percent_ci_upper: 12.3
                        publication_id: saipe2024:est24-mt.txt:2026-01-27T15:47:47Z
                        retrieved_at: '2026-10-18T17:47:08Z'
                        source_record_id: saipe2024:30000
                        source_url: >-
                          https://www2.census.gov/programs-surveys/saipe/datasets/2024/2024-state-and-county/est24-mt.txt
                        state_fips: '30'
                        year: 2024
                      - county_fips: '001'
                        file_tag: est24-mt.txt 07JAN2026
                        geo_id: '30001'
                        level: county
                        median_household_income:
                          ci_lower: 58939
                          ci_upper: 73059
                          estimate: 65999
                        name: Beaverhead County
                        postal: MT
                        poverty_age_0_17:
                          ci_lower: 116
                          ci_upper: 294
                          estimate: 205
                          percent: 12.9
                          percent_ci_lower: 7.3
                          percent_ci_upper: 18.5
                        poverty_age_0_4: null
                        poverty_all_ages:
                          ci_lower: 848
                          ci_upper: 1454
                          estimate: 1151
                          percent: 12
                          percent_ci_lower: 8.9
                          percent_ci_upper: 15.1
                        poverty_related_children_5_17:
                          ci_lower: 72
                          ci_upper: 216
                          estimate: 144
                          percent: 12.2
                          percent_ci_lower: 6.1
                          percent_ci_upper: 18.3
                        publication_id: saipe2024:est24-mt.txt:2026-01-27T15:47:47Z
                        retrieved_at: '2026-10-18T17:47:08Z'
                        source_record_id: saipe2024:30001
                        source_url: >-
                          https://www2.census.gov/programs-surveys/saipe/datasets/2024/2024-state-and-county/est24-mt.txt
                        state_fips: '30'
                        year: 2024
                      - county_fips: '003'
                        file_tag: est24-mt.txt 07JAN2026
                        geo_id: '30003'
                        level: county
                        median_household_income:
                          ci_lower: 55730
                          ci_upper: 62494
                          estimate: 59112
                        name: Big Horn County
                        postal: MT
                        poverty_age_0_17:
                          ci_lower: 689
                          ci_upper: 1435
                          estimate: 1062
                          percent: 27.4
                          percent_ci_lower: 17.8
                          percent_ci_upper: 37
                        poverty_age_0_4: null
                        poverty_all_ages:
                          ci_lower: 2102
                          ci_upper: 3472
                          estimate: 2787
                          percent: 22.2
                          percent_ci_lower: 16.7
                          percent_ci_upper: 27.7
                        poverty_related_children_5_17:
                          ci_lower: 435
                          ci_upper: 1029
                          estimate: 732
                          percent: 24.8
                          percent_ci_lower: 14.7
                          percent_ci_upper: 34.9
                        publication_id: saipe2024:est24-mt.txt:2026-01-27T15:47:47Z
                        retrieved_at: '2026-10-18T17:47:08Z'
                        source_record_id: saipe2024:30003
                        source_url: >-
                          https://www2.census.gov/programs-surveys/saipe/datasets/2024/2024-state-and-county/est24-mt.txt
                        state_fips: '30'
                        year: 2024
                    retrieved_at: '2026-10-18T17:47:08Z'
                    size_bytes: 15105
                    source_url: >-
                      https://www2.census.gov/programs-surveys/saipe/datasets/2024/2024-state-and-county/est24-mt.txt
                    state: MT
                    total_records: 57
                    year: 2024
              schema:
                not:
                  type: 'null'
                x-aisa-schema-completeness: documented-fields-only
          description: >-
            List SAIPE state-and-county poverty and median household income
            estimates for one year: est<yy>all.txt (US, 51 states, every county;
            3,196 lines for 2024) or, with state, est<yy>-<st>.txt (state row
            first, then its counties). Fixed-width positions per the layout
            README: state 1-2, county 4-6, poverty all ages 8-48, age 0-17
            50-90, related children 5-17 92-132, median household income
            134-153, under 5 155-192 (US and states only), name 194-238, postal
            240-241, file tag 243-264. Blanks and '.' become null; FIPS stay
            zero-padded strings. The file is fetched per call and paged from
            memory; the cursor pins year, file, Last-Modified and size.
            source_record_id = saipe<year>:<state_fips><county_fips>.


            The response contains the tool result directly.


            | Documented field | Provider type | Description |

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

            | `content_hash` | string | SHA-256 of the decoded file bytes. |

            | `count` | number |  |

            | `file_name` | string |  |

            | `file_url` | string |  |

            | `has_more` | boolean |  |

            | `hash_source` | string |  |

            | `last_modified` | string | Last-Modified header, ISO 8601. |

            | `next_cursor` | string |  |

            | `observed_at_ms` | number |  |

            | `offset` | number |  |

            | `publication_id` | string |  |

            | `records` | object[] |  |

            | `retrieved_at` | string |  |

            | `size_bytes` | number | Decoded byte length of the file (the
            server sends it gzip-encoded without Content-Length). |

            | `source_url` | string |  |

            | `state` | string | Uppercase postal code of the per-state file;
            null for the national file. |

            | `total_records` | number |  |

            | `year` | number |  |



            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.