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

AlexandriaPublic RecordsAvailable now

US Census Bureau · Popest get

census-gov/census/popest_get

Search public records with US Census Bureau · Popest get from Alexandria through one Spiral API key. Fetch one county (Gallatin County 30 031) or one place (Billings city, place 06550) with every estimate year. 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.

state requiredtext—

2-digit state FIPS (30 = Montana). Pattern: ^[0-9]{2}$.

placetext—

5-digit place FIPS (subcounty). Pattern: ^[0-9]{5}$.

concittext—

5-digit consolidated city FIPS (subcounty). Pattern: ^[0-9]{5}$.

countytext—

3-digit county FIPS. Pattern: ^[0-9]{3}$.

cousubtext—

5-digit county subdivision FIPS (subcounty; needs county). Pattern: ^[0-9]{5}$.

sumlevtext—

Summary level when the codes alone are ambiguous (e.g. 157 vs 162). Pattern: ^[0-9]{3}$.

vintagenumber
2021 to 2035
—

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

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_get",
    "input": {
      "file": "counties",
      "state": "<state>"
    }
  }'

Frequently asked questions

How much does US Census Bureau · Popest get 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 get through an API?

Send `POST /v1/runs` with `"provider": "alexandria"`, `"model": "census-gov/census/popest_get"` 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 get?

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

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

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