Skip to main content
POST
Saipe list

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 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
continuation
string

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.

page_size
number

Records per page; default 500.

Provider reference: minimum 1; maximum 5000.

state
string

State as 2-digit FIPS (30) or postal code (MT, mt). Pattern: ^([0-9]{2}|[A-Za-z]{2})$.

year
number

SAIPE estimate year (directory saipe/datasets//-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.

Response

List SAIPE state-and-county poverty and median household income estimates for one year: estall.txt (US, 51 states, every county; 3,196 lines for 2024) or, with state, est-.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:<state_fips><county_fips>.

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.