Spiral gives your agent every tool with one account. Browse the tools →

AlexandriaPublic RecordsAvailable now

US Census Bureau · Popest list

census-gov/census/popest_list

Search public records with US Census Bureau · Popest list from Alexandria through one Spiral API key. Full collection of county or sub-county population estimates (annual population, births, deaths, migration) for a vintage, optionally for one state. It runs in the background and returns structured JSON. Pay as you go, with no subscription.

Pricing

$0.00873 per call.

Limits

Runs
In the background
Returns
json
Longest queue wait
1 hour
Run deadline
5 minutes
Longest run, end to end
225 minutes
Largest inline input
1 MB
Largest input file
2 GB
Largest output
5 GB

Input

FieldKindDefaultDescription
file requiredone of
counties, subcounty
—

counties: counties/totals/co-est<YYYY>-alldata.csv (states and counties). subcounty: cities/totals/sub-est<YYYY>.csv (national, ~7.5 MB) or, with state, sub-est<YYYY>_<state>.csv.

statetext—

Optional 2-digit state FIPS. counties: keeps that state's rows (state row included). subcounty: reads the per-state file sub-est<YYYY>_<n>.csv instead of the national file. Pattern: ^[0-9]{2}$.

sumlevtext—

Optional summary level filter (050 counties only, 162 incorporated places, 061 county subdivisions ...). Pattern: ^[0-9]{3}$.

vintagenumber
2021 to 2035
—

Vintage year YYYY of the 2020-YYYY directory. Default: the newest directory listed under popest/datasets/.

page_sizenumber
1 to 2000
—

Records (geography-years) per page; default 500.

continuationtext—

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.

Same request in code

curl https://api.spiral.ai/v1/runs \
  -H "Authorization: Bearer $SPIRAL_API_KEY" \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: $(uuidgen)" \
  -d '{
    "provider": "alexandria",
    "model": "census-gov/census/popest_list",
    "input": {
      "file": "counties"
    }
  }'

Frequently asked questions

How much does US Census Bureau · Popest list cost?

$0.00873 per call. You pay as you go from one Spiral balance, with no subscription, and a failed run is not charged.

How do I use US Census Bureau · Popest list through an API?

Send `POST /v1/runs` with `"provider": "alexandria"`, `"model": "census-gov/census/popest_list"` and the input fields on this page, using one Spiral API key. It runs in the background: poll the run, or name a webhook to be told when it finishes.

Do I need an account with Alexandria to use US Census Bureau · Popest list?

No. Spiral runs it on its own Alexandria account and charges your Spiral balance.

Can my AI agent use US Census Bureau · Popest list?

Yes. Agents find and run it through Spiral's MCP server, CLI or agent skill, with the same API key.