curl --request POST \
--url https://api.aisa.one/apis/v1/census-gov/census/saipe-list \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"page_size": 3,
"state": "MT",
"year": 2024
}
'import requests
url = "https://api.aisa.one/apis/v1/census-gov/census/saipe-list"
payload = {
"page_size": 3,
"state": "MT",
"year": 2024
}
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({page_size: 3, state: 'MT', year: 2024})
};
fetch('https://api.aisa.one/apis/v1/census-gov/census/saipe-list', 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/census-gov/census/saipe-list",
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([
'page_size' => 3,
'state' => 'MT',
'year' => 2024
]),
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/census-gov/census/saipe-list"
payload := strings.NewReader("{\n \"page_size\": 3,\n \"state\": \"MT\",\n \"year\": 2024\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/census-gov/census/saipe-list")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"page_size\": 3,\n \"state\": \"MT\",\n \"year\": 2024\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.aisa.one/apis/v1/census-gov/census/saipe-list")
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 \"page_size\": 3,\n \"state\": \"MT\",\n \"year\": 2024\n}"
response = http.request(request)
puts response.read_bodySaipe list
Full collection of county poverty counts/rates and median household income for a year, optionally for one state.
curl --request POST \
--url https://api.aisa.one/apis/v1/census-gov/census/saipe-list \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"page_size": 3,
"state": "MT",
"year": 2024
}
'import requests
url = "https://api.aisa.one/apis/v1/census-gov/census/saipe-list"
payload = {
"page_size": 3,
"state": "MT",
"year": 2024
}
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({page_size: 3, state: 'MT', year: 2024})
};
fetch('https://api.aisa.one/apis/v1/census-gov/census/saipe-list', 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/census-gov/census/saipe-list",
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([
'page_size' => 3,
'state' => 'MT',
'year' => 2024
]),
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/census-gov/census/saipe-list"
payload := strings.NewReader("{\n \"page_size\": 3,\n \"state\": \"MT\",\n \"year\": 2024\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/census-gov/census/saipe-list")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"page_size\": 3,\n \"state\": \"MT\",\n \"year\": 2024\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.aisa.one/apis/v1/census-gov/census/saipe-list")
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 \"page_size\": 3,\n \"state\": \"MT\",\n \"year\": 2024\n}"
response = http.request(request)
puts response.read_bodyRequest 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
{
"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.Authorizations
Body
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.
| 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.