# Decision-maker finder — Dizo API

`POST https://api.dizo.ai/v1/people/best-match`

Give a list of companies and a ranked list of titles. Get back the best person at each company, falling through your titles in order.

A waterfall over titles: for each domain Dizo tries `titles[0]`, then `titles[1]`, and so on, returning up to `per_company` people. Add `include: ["email"]` to get verified emails in the same call. Up to 1,000 domains per request.

**Cost:** 1 credit / 25 people. Charged: per person returned.
**MCP tool:** `dizo_best_contact` on https://mcp.dizo.ai/mcp

## Parameters
| Name | Type | Required | Description |
|---|---|---|---|
| `domains` | string[] | yes | Up to 1,000 company domains. |
| `titles` | string[] | yes | Ranked, most-wanted first, e.g. ["CRO","VP Sales","Head of Sales"]. |
| `per_company` | integer |  | 1-10, default 1. |
| `include` | string[] |  | "email" and/or "phone". |
| `dry_run` | boolean |  | Return a cost quote and spend 0 credits. |
| `max_credits` | number |  | Hard ceiling on credits this request may spend. |

## Example request
```json
{
  "domains": [
    "ledgerline.io",
    "paystream.com"
  ],
  "titles": [
    "Chief Revenue Officer",
    "VP Sales",
    "Head of Sales"
  ],
  "per_company": 1,
  "include": [
    "email"
  ]
}
```

## Example response
```json
{
  "results": [
    {
      "domain": "ledgerline.io",
      "matched_title_rank": 2,
      "person": {
        "id": "per_3Lm1",
        "name": "Dev Raman",
        "title": "VP Sales",
        "email": {
          "address": "dev@ledgerline.io",
          "status": "verified"
        }
      }
    },
    {
      "domain": "paystream.com",
      "matched_title_rank": 1,
      "person": {
        "id": "per_8Qa4",
        "name": "Ines Duarte",
        "title": "Chief Revenue Officer",
        "email": {
          "address": "ines@paystream.com",
          "status": "verified"
        }
      }
    }
  ],
  "credits_used": 2.08
}
```

## cURL
```bash
curl -X POST https://api.dizo.ai/v1/people/best-match \
  -H "Authorization: Bearer $DIZO_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"domains":["ledgerline.io","paystream.com"],"titles":["Chief Revenue Officer","VP Sales","Head of Sales"],"per_company":1,"include":["email"]}'
```
