Count (TAM)
POSTapi.dizo.ai/v1/countFree
How many people or companies match? Free counts for sizing a market, splitting territories and budgeting a job before you buy anything.
Takes the same query or filters as search and returns totals plus breakdowns, with has_email and has_phone counts so you can forecast cost. Free, limited to 5 requests per second per key.
Cost: Free. Charged never.
MCP tool:
MCP tool:
dizo_countParameters
| Name | Type | Description |
|---|---|---|
| query | filtersrequired | string | object | Plain English, or the same filters as people/company search. |
| type | "people" | "companies" | Defaults to people. |
| breakdown | string[] | Any of country, seniority, department, industry, employees. |
Example
{
"query": "Heads of IT at US hospitals with 500+ employees",
"breakdown": [
"seniority",
"state"
]
}{
"total": 6214,
"has_email": 5320,
"has_phone": 3871,
"breakdown": {
"seniority": {
"director": 3102,
"vp": 1188,
"c_suite": 641,
"manager": 1283
},
"state": {
"CA": 702,
"TX": 611,
"NY": 540,
"…": "…"
}
},
"credits_used": 0
}curl -X POST https://api.dizo.ai/v1/count \
-H "Authorization: Bearer $DIZO_API_KEY" \
-H "Content-Type: application/json" \
-d '{"query":"Heads of IT at US hospitals with 500+ employees","breakdown":["seniority","state"]}'import os, requests
r = requests.post(
"https://api.dizo.ai/v1/count",
headers={"Authorization": f"Bearer {os.environ['DIZO_API_KEY']}"},
json={"query":"Heads of IT at US hospitals with 500+ employees","breakdown":["seniority","state"]},
)
print(r.json(), r.headers["x-dizo-credits-used"])const r = await fetch("https://api.dizo.ai/v1/count", {
method: "POST",
headers: { Authorization: `Bearer ${process.env.DIZO_API_KEY}`, "Content-Type": "application/json" },
body: JSON.stringify({"query":"Heads of IT at US hospitals with 500+ employees","breakdown":["seniority","state"]}),
});
console.log(await r.json(), r.headers.get("x-dizo-credits-used"));Errors follow the standard error shape. Add "dry_run": true for a free quote and "max_credits" to cap spend. Agents: this page is also at /docs/count.md.