Count an audience
count_audienceCounts UK contacts and companies matching an audience, inline or a saved aud_ id, and returns Total, New to you and Emailable, up to three breakdowns, quality, the compliance summary, a price estimate and a count id. Use it whenever a filter changes, and before preview_records or quote_order, which both take the count id. Free and needs no account; anonymous and trial callers see counts under 100 and breakdown cells rounded to the nearest 5 (disclosure says which), and exact small counts need a paid plan. It returns no contact details, and over MCP a cross-tab holds at most 200 cells (truncated true; GET /v1/counts/{id} has the rest). Lawful basis is UK GDPR Article 6(1)(f) legitimate interests; email audiences include corporate subscribers only by default (PECR), so sole traders and ordinary partnerships are left out unless the toggle is changed.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"audience": "<audience>"
},
"name": "count_audience"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| level | No | contact (the default) or company. Contacts and companies come back together either way. | contact |
| audience | Yes | ||
| breakdown_by | No | Up to three fields to break the count down by, each once, such as industry by seniority by region. Returns the top 50 cells per field plus other. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Format: a count id: cnt_ followed by 20 base32 characters (A to Z and 2 to 7), such as cnt_7K2PQ4MAXN3R6TBY5WDZ. | |
| plan | No | ||
| as_of | No | The date the dataset version was built, for as-of statements. | |
| level | No | contact (the default) or company. Contacts and companies come back together either way. | |
| views | No | ||
| current | No | On a replay: the same audience on the current dataset version. | |
| dataset | Yes | The dataset an audience draws from. uk_contacts is live; ie_contacts and global_contacts are listed but not yet served. | |
| premium | Yes | Premium: the contacts of all_records that are premium records (contact.premium true). Premium records: at an active company, with contact details checked within the last 12 months. Null when the dataset version carries no premium data, or withheld when the premium records are at a single company and the caller has no account; premium_note says which. | |
| quality | Yes | ||
| contacts | Yes | Total: every matching contact. | |
| crosstab | No | ||
| defaults | Yes | Every default with the number behind its toggle: dissolved and insolvent, generic emails, individual subscribers, TPS and CTPS registered. | |
| estimate | Yes | ||
| warnings | No | ||
| companies | Yes | ||
| emailable | Yes | A named email scoring 70 or more at a corporate subscriber. | |
| breakdowns | Yes | ||
| created_at | No | ||
| disclosure | Yes | ||
| expires_at | Yes | The id replays until then (12 months). | |
| new_to_you | Yes | Excludes your earlier orders and CRM overlap; null when signed out. | |
| all_records | Yes | All records: every matching contact with the audience's top-level premium filters taken out (a premium filter inside any or not stays), so the premium figure always has the full figure beside it. The same as contacts when the audience has no premium filter. | |
| premium_note | Yes | What premium means on this dataset version, or why premium is null: no premium data on the version, or withheld because the premium records are at a single company. | |
| removed_since | No | On a replay: records since removed by objections and erasure. | |
| expanded_terms | No | Every title a matches filter covered, with a count per term. | |
| dataset_version | Yes | The immutable weekly build a count is bound to, such as 2026-W39. The last 52 stay queryable. | |
| compliance_summary | Yes | ||
| credits_per_record | Yes | Credits, to one decimal place: whole at 1 credit a record, fractional only where a rule is (0.1 company-only, 1.8 outright, both proposed). | |
| effective_audience | No | The definition after defaults and bundles, as hashed into the id. | |
| emailable_step_down | No | Why Emailable is below Total, step by step. Null when the audience dedupes (one per company or site), as the views then count companies or sites, not contacts. | |
| engine_rules_version | Yes | The engine rules (title expansion, defaults, geography sets) the count ran under; part of what the count id hashes, such as 2026.09.1. |