What is the size of this audience profile?
run_audience_sizeUse when the user is defining or sizing a consumer audience or checking a TAM claim: "how many college-educated 25-34 year olds are in the US?", "how many homeowner households in Texas earn over $150,000?". Counts people or households matching a profile from the 2024 ACS microdata, with a 90% margin of error and the share of the area. No filters on race, ethnicity, religion or disability. Refuses before you are charged if the weights do not reproduce the published population or the sample is too thin. Every result carries a run id, a date and a citation line. Calling this tool returns a quote, not the result: what the run measures, its price and a payment_url. The run happens only when you POST to payment_url, and a run that fails its controls refuses there with nothing charged. Dimensions (vary these inputs to cut the answer; each call is its own run): over time: one release (ACS 2024); place: state or pumas; segment: age, sex, income, education, employed, tenure, children, occupations. Price: $0.05 per run over x402 (USDC on Base, no account needed), or $0.50 over MPP (a Stripe shared payment token); charged only when the run comes back sound. For where that audience lives, use run_audience_map; for what it spends, use run_wallet_size.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "run_audience_size"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sex | No | Optional: one sex. | |
| unit | No | Count people or households. Default persons. | |
| pumas | No | Optional: up to 10 PUMA codes within the state. | |
| state | No | Two-letter US state code, or US. | |
| tenure | No | Owner or renter households. | |
| age_max | No | Oldest age, in years. | |
| age_min | No | Youngest age, in years. | |
| children | No | true: children at home; false: none. | |
| employed | No | true to count only the employed. | |
| education | No | Minimum education. | |
| occupations | No | Census occupation codes (OCCP), up to 5. | |
| personal_income_max | No | Personal income ceiling, dollars a year. | |
| personal_income_min | No | Personal income floor, dollars a year. | |
| household_income_max | No | Household income ceiling, dollars a year. | |
| household_income_min | No | Household income floor, dollars a year. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| note | No | Why the run is unavailable, when it is. | |
| error | No | Why the inputs were refused, with the expected usage. Nothing is charged. | |
| limits | No | What the run cannot tell you, stated before you pay. | |
| recipe | No | The run, e.g. "filing-trend". | |
| available | No | false when the run is switched off; then nothing can be charged. | |
| next_step | No | What to tell the user before paying. | |
| price_usd | No | Price over MPP (Stripe shared payment token). | |
| payment_url | No | POST here to run and pay. Not a checkout page. | |
| instructions | No | How to pay over MPP and x402, and how to ask for publication. | |
| what_you_get | No | What the paid result will contain for these inputs. | |
| x402_price_usd | No | Price over x402 (USDC on Base), when offered. |