# Natural-language search — Dizo API

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

Describe the people or companies you want in plain English and get matching records back.

Dizo turns the query into structured filters, returns them in `interpreted` so you can check the translation, and runs the search. This is the best default for agents: no filter vocabulary to learn. Ask for `include: ["email","phone"]` to get contact data in the same call (billed at email and phone rates, only when found).

**Cost:** 1 credit / 25 results. Charged: per result returned.
**MCP tool:** `dizo_search` on https://mcp.dizo.ai/mcp

## Parameters
| Name | Type | Required | Description |
|---|---|---|---|
| `query` | string | yes | Plain-English description, e.g. "VP of Sales at US fintech companies, 200-1000 employees". |
| `type` | "people" | "companies" |  | Defaults to people. |
| `include` | string[] |  | "email" and/or "phone" to also find contact data. |
| `limit` | integer |  | 1-1000, default 25. |
| `cursor` | string |  | next_cursor from the previous page. |
| `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
{
  "query": "VP of Sales at US fintech companies, 200-1000 employees",
  "type": "people",
  "include": [
    "email"
  ],
  "limit": 25,
  "max_credits": 60
}
```

## Example response
```json
{
  "interpreted": {
    "seniority": [
      "vp"
    ],
    "department": [
      "sales"
    ],
    "industry": [
      "fintech"
    ],
    "country": [
      "US"
    ],
    "employees": {
      "min": 200,
      "max": 1000
    }
  },
  "total": 4182,
  "people": [
    {
      "id": "per_9fK2",
      "name": "Maya Okafor",
      "title": "VP, Revenue Operations",
      "company": {
        "name": "Ledgerline",
        "domain": "ledgerline.io"
      },
      "email": {
        "address": "maya@ledgerline.io",
        "status": "verified"
      }
    }
  ],
  "next_cursor": "c_2a",
  "credits_used": 26
}
```

## cURL
```bash
curl -X POST https://api.dizo.ai/v1/search \
  -H "Authorization: Bearer $DIZO_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"query":"VP of Sales at US fintech companies, 200-1000 employees","type":"people","include":["email"],"limit":25,"max_credits":60}'
```
