Estimate how many U.S
agent-vending-production.up.railway.app/v1/market-size
Estimate how many U.S. households match combined criteria (income, tenure, age, children, size, housing cost) in a state, PUMA or whole-PUMA county, with a 90% margin of error and the estimate type used (official Census table or ACS PUMS survey). Use to size an addressable household market. Input: geography + up to 8 filters. Unsupported small-geography combinations are refused (not charged), neve
POST
https://agent-vending-production.up.railway.app/v1/market-sizeUptime100% of 3 checks in 30 days
30 days agoToday
Try it
Pays from your browser wallet in USDC on Base or USDG on Robinhood Chain, whichever the endpoint takes. The provider is paid directly; failed calls aren't refunded by Fourohtwo.
The response shows up here.
Call it from an agent
// npm install fourohtwo
import { createPayer } from "fourohtwo";
// One agent key pays USDC on Base or USDG on Robinhood Chain, inside your spending rules.
const pay = createPayer({ privateKey: process.env.AGENT_KEY, maxPerCallUsd: "0.05" });
const res = await pay("https://agent-vending-production.up.railway.app/v1/market-size", {
method: "POST",
headers: { "content-type": "application/json" },
body: JSON.stringify({"filters":[{"operator":"==","value":"renter","variable":"tenure"}],"geography":{"name":"Ventura County","state":"CA","type":"county"},"unit":"household"}),
});
console.log(await res.json());Example input
{
"filters": [
{
"operator": "==",
"value": "renter",
"variable": "tenure"
}
],
"geography": {
"name": "Ventura County",
"state": "CA",
"type": "county"
},
"unit": "household"
}