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

Grok · Public Records

How to Use Census population estimates collection in Grok

Returns county or subcounty population estimates across a selected collection, optionally limited to one state. Use it to rank growth across places; county data also support analysis of births, deaths, and migration.

Prompts to try with Census population estimates collection in Grok

Copy an example into Grok, or ask in your own words.

Use Census population estimates collection to look this up and give me the result as a table.

Census population estimates collectionGrok
Try asking
  • Pull the latest numbers from Census population estimates collection and tell me what changed since last week.

  • Check Census population estimates collection and summarize what you find in three bullet points.

  • Pull the newest data from Census population estimates collection and give me the result as a table.

  • Check Census population estimates collection every morning and tell me only when something changed.

How to set up Census population estimates collection in Grok

Pick the way that suits you. Each takes about two minutes.

Use the Grok connector

  1. Add a custom connector

    In Grok open Settings › Connect Apps, then Add a custom connector. Name it Spiral, paste this URL, leave Headers empty and click Add MCP.

    https://api.spiral.ai/mcp
  2. Sign in to Spiral and approve

    Grok opens Spiral: sign in, pick the organization and click Authorize. Spiral gives the connection its own API key; Grok never sees it, and you can remove the connection under Settings › Connected apps.

  3. Check that it is connected

    Connect Apps › Custom shows Spiral as Connected. It works in every Grok chat and Grok bot.

Use the Spiral skill

  1. Send Grok this message

    Your agent reads Spiral's skill and sets itself up.

    set up https://spiral.ai/SKILL.md
  2. Sign in or paste a key

    Approve Spiral in the browser, or give the agent a key from the console.

Use the Spiral CLI

  1. Install and sign in

    Installs the Spiral CLI, signs you in and adds its skill to your coding agents.

    npx -y spiral-cli@latest init

Call the Spiral API

  1. Create an API key

    In the console, under API keys.

  2. Run Census population estimates collection

    One request; the result comes back by polling or a webhook.

    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"
        }
      }'

Then paste one of the prompts above: Grok finds Census population estimates collection on Spiral, shows the price and runs it.

Census population estimates collection providers and prices

Spiral runs Census population estimates collection through Alexandria. Open a card for today's price, with every fee included.

AlexandriaPublic Records
US Census Bureau · Popest list
census-gov/census/popest_list

Settings you can ask for

Ask Grok for any of these in your prompt.

SettingAllowed valuesDefaultDescription
Filecounties or 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.

Vintage2021 to 2035

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

Page size1 to 2000

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

Every API field of US Census Bureau · Popest list is on its tool page: open its card above.

What can you do with Census population estimates collection in Grok?

Turn Census statistics into a county briefing with population trends and income or poverty comparisons. The assistant can identify the relevant datasets, places, and measures before explaining the estimates and their uncertainty.

Maintain a county community report

Build a report for Travis County, Texas, with ACS characteristics, population history, and poverty estimates. Find the datasets and variable definitions, resolve county identifiers, check publication status, compare statewide collections, and retrieve the county details for the narrative.

Prepare a grant needs assessment

Document population change, poverty, income, and housing conditions for a proposed county service area. Use statewide collections as benchmarks, local records as evidence, dataset and variable documentation to define measures, and publication checks to keep the assessment current.

Compare counties for business expansion

Compare North Carolina counties using population trends, household income, poverty, and ACS housing characteristics. Identify the appropriate datasets, measures, and county codes; check publication changes; rank the county collections; then examine shortlisted counties in detail.

Plan regional library outreach

Compare Montana counties for outreach planning using population change, poverty, and ACS characteristics. Resolve service-area counties, find and define the measures, check publication status, compare the statewide collections, and add local population and income detail to each county brief.

Rank population growth

Rank Texas counties by population change within one vintage, then inspect the annual history of the fastest-growing counties. Resolve county identifiers and check the population publication before refreshing the ranking.

Questions about Census population estimates collection in Grok

Can Grok use Census population estimates collection?

Yes. Add Spiral to Grok as an MCP server, and Grok can find and run Census population estimates collection like any built-in tool.

How much does Census population estimates collection cost in Grok?

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

Do I need an Alexandria account to use Census population estimates collection in Grok?

No. Spiral runs Census population estimates collection on its own Alexandria account. You sign in to Spiral once and never paste a key.

How long does it take to set up Census population estimates collection in Grok?

About two minutes: add a custom connector, then sign in to Spiral and approve, then check that it is connected.

Does Grok wait while Census population estimates collection runs?

Census population estimates collection runs in the background. Grok starts the run, checks on it and gives you the json when it's ready.

How small an area can Census statistics describe?

Coverage depends on the program and table. ACS five-year Detailed Tables reach block groups, while Subject Tables and Data Profiles reach census tracts; the SAIPE state and county files describe those larger jurisdictions.

How current are Census estimates?

Population estimates and SAIPE estimates are produced annually. An ACS five-year estimate combines 60 months of collected data, so its ending year does not make it a snapshot of that year alone.

Why can an older population estimate change?

Each new population estimates vintage revises the series back to the most recent census. The newest vintage supersedes previously published estimates for those dates, so a growth calculation should use one vintage throughout.

Are poverty estimates exact counts?

SAIPE uses statistical models to estimate income and poverty. Each state and county estimate is published with a 90% confidence interval, which matters when comparing counties with similar results.

Why might an ACS one-year table omit a small community?

Standard ACS one-year estimates cover areas with at least 65,000 residents. ACS five-year estimates cover all areas and are the appropriate product to investigate for smaller communities.

Get started

Start using Census population estimates collection in Grok

One Spiral account for every tool your agent needs. No subscription; you pay per run.

Paste this into Grok:

Set up Grok

set up https://spiral.ai/SKILL.md
Are you an AI agent? See setup options