Where does this audience live?
run_audience_mapUse when the user is choosing where to target, open, or send sales or media: "which Texas counties have the most high-income young households?", "which Harris County tracts concentrate households 65 and over?". Ranks the counties of a state, or the tracts of a county, by the number and the concentration of households with a householder in the chosen age bands and income range, from ACS 5-year estimates, with margins of error. Refuses before you are charged if the table does not reconcile. 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 2020-2024); place: state (counties) or county (tracts); segment: age_bands, income_min-income_max. 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 the audience count with a margin of error, use run_audience_size.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"state": "<state>"
},
"name": "run_audience_map"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| state | Yes | Two-letter US state code. | |
| county | No | Optional three-digit county FIPS code: ranks its tracts instead of the state’s counties. | |
| age_bands | No | Householder age bands. Default all four. | |
| income_max | No | Optional household income ceiling, at the same edges. | |
| income_min | No | Household income floor, one of 0, 10000, 15000, 20000, 25000, 30000, 35000, 40000, 45000, 50000, 60000, 75000, 100000, 125000, 150000, 200000. |
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. |