# Count (TAM) — Dizo API

`POST https://api.dizo.ai/v1/count`

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:** `dizo_count` on https://mcp.dizo.ai/mcp

## Parameters
| Name | Type | Required | Description |
|---|---|---|---|
| `query | filters` | string | object | yes | 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 request
```json
{
  "query": "Heads of IT at US hospitals with 500+ employees",
  "breakdown": [
    "seniority",
    "state"
  ]
}
```

## Example response
```json
{
  "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
```bash
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"]}'
```
