> ## Documentation Index
> Fetch the complete documentation index at: https://docs.beaconrevenue.io/llms.txt
> Use this file to discover all available pages before exploring further.

# Deals

> The Deals table in the Beacon Data API: one row per deal, every column it carries, the scores on it, and who may read it.

One row is one deal in your pipeline, from a new opportunity through to won or lost.

## How to read it

| | |
| - | - |
| Address | `GET https://api.beaconrevenue.io/data/v1/deals` |
| Key | An [app key](https://docs.beaconrevenue.io/app-keys.md), sent as `Authorization: Bearer <your key>`. On the key form it sits under **Marketing and sales** |
| Who may read it | Anyone in Beacon except a Contributor. A key whose person sees only their own or their team's deals receives only those deals |
| Key of a row | `deal_id` |
| Paging | Up to 2,000 rows a page. Send `?page=<next>`, with the value of `page.next` from the previous response, to read on. See [Paging](https://docs.beaconrevenue.io/api/paging.md) |
| Narrowing | `entity_scope` takes one `deal_id` inside your access, and can only narrow. See [Entity scope](https://docs.beaconrevenue.io/api/entity-scope.md) |

The response carries the rows in `data`, the cursor in `page`, and two timestamps for the page: `as_of` and `computed_at`. Every row carries `copy_night`: the night Beacon copied it from your Beacon data into your company's own database. Every value on the row is as it stood that night.

Each row also has its own `as_of`, the oldest of the times Beacon worked out that deal's values, and its own `computed_at`, the newest. The page's `as_of` is its stalest row's.

A value Beacon doesn't hold is never a blank or a zero; a refusal stands in its place and says why. See [Refusals](https://docs.beaconrevenue.io/api-reference.md#refusals).

## Columns

Eleven columns, named exactly as the API sends them, plus `copy_night`.

### Identifiers

| Column | What it means | Unit |
| - | - | - |
| `deal_id` | The deal's ID in your CRM, for example the HubSpot deal ID. One deal keeps one ID | Text identifier |
| `account_id` | The customer the deal is with, as Beacon's customer ID. Joins to [Customers](https://docs.beaconrevenue.io/api/customers.md) | Text identifier |
| `close_date` | The day the deal closed, or is expected to close while it is open | Date (YYYY-MM-DD) |
| `currency` | The currency of the deal amount, as a three-letter code | Currency code |

### Where the deal stands

| Column | What it means | Unit |
| - | - | - |
| `deal_stage` | Which stage the deal has reached. One of eight: `1 New`, `2 Discovery`, `3 Demo`, `4 Proposal`, `5 Negotiation`, `6 Verbal/Closing`, `Closed-Won`, `Closed-Lost`. The six numbered stages are in order; a later stage isn't better and isn't a higher chance of closing. [How it's placed](https://docs.beaconrevenue.io/definitions/deal-stage.md) | Named stage |
| `days_in_stage` | How many days the deal has sat in its current stage, read against the usual time in that stage for its segment. Lower is better. [How it's counted](https://docs.beaconrevenue.io/definitions/days-in-stage.md) | Days |

### Scores

| Column | What it means | Unit |
| - | - | - |
| `deal_health` | How healthy the deal is. Higher is healthier. Built from five parts, each scored 0 to 100. It answers "if this closes, will it become a good customer?", not "will it close?". [How it's worked out](https://docs.beaconrevenue.io/definitions/deal-health.md) | Score, 0 to 100 |
| `deal_probability` | How likely the deal is to close. Higher is more likely. A percent, so `55` means 55%, not 0.55. It isn't your CRM's stage percentage, and Beacon never sends the CRM's percentage in its place. [How it's worked out](https://docs.beaconrevenue.io/definitions/deal-probability.md) | Percent, 0 to 100 |
| `deal_velocity_percentile` | How the deal's speed compares with similar deals. **Lower is faster**: 0 is the fastest, 100 the slowest. This runs the opposite way to every score above, and Beacon never flips it. [How it's worked out](https://docs.beaconrevenue.io/definitions/deal-velocity-percentile.md) | Percentile, 0 to 100 |

### Size and term

| Column | What it means | Unit |
| - | - | - |
| `deal_amount_band` | The deal's size as a range, never an exact figure. Yearly recurring value, in your reporting currency. Beacon sends a range it already holds or refuses; it never turns an exact amount into a range when you read. | Range of yearly recurring value, reporting currency |
| `contract_term_months` | How long the contract runs. Confirmed when the deal closes, replacing the assumed term. The term only. [How it's read](https://docs.beaconrevenue.io/definitions/contract-term-months.md) | Months |

### When the row was copied

| Column | What it means | Unit |
| - | - | - |
| `copy_night` | The night Beacon copied this row from your Beacon data into your company's own database. Every value on the row is as it stood that night | Date (YYYY-MM-DD) |

> [!NOTE]
>
> Seven is the number of deal figures this API publishes; the four identifiers come on top.
>
> Beacon works out one more figure on a deal, a price-realization range, which is held back from every way out of Beacon until the work behind it is finished. No exact deal amount and no discount figure is published here.

## When a value is refused

| Column | Refused when |
| - | - |
| `deal_velocity_percentile` | Always, today. Beacon stores how a deal's pace compares with similar deals, but not yet as a 0 to 100 percentile. The value appears once it does |
| `contract_term_months` | Always, today. Beacon hasn't worked out the term for a deal yet |
| `deal_health`, `deal_probability`, `days_in_stage` | Beacon hasn't worked the value out for that deal yet. Expect this on most closed deals |
| `account_id`, `close_date`, `deal_amount_band` | Beacon doesn't hold the value for that deal |

Each refusal says why in words, in `what_would_make_it_available`.

## Who may read it

Deals have no page of their own in Beacon, so any role except Contributor may read them. A deal is a negotiation with one of your customers, so none of it leaves Beacon by default: each value needs your recorded yes before a key can read it. The name of the person sponsoring the deal is never published on any column.

A key acts for one person. If that person sees only their own or their team's deals in Beacon, the key gets only those deals, and an `entity_scope` naming any other deal answers `403` with `outside_grant`.

## Joining it to other data

Join to [Customers](https://docs.beaconrevenue.io/api/customers.md) on `account_id`, and from there to [Segments](https://docs.beaconrevenue.io/api/segments.md) on `segment_label`. [Contracts](https://docs.beaconrevenue.io/api/contracts.md) carry the `deal_id` they came from, where Beacon holds it. There is no owner or industry column on a deal row.

## Scores on this table

The figures a finance reader usually wants from Deals sit on the row itself: `deal_probability` for the chance of closing, `deal_health` for the quality of the customer it would become, and `deal_velocity_percentile` and `days_in_stage` for pace. Each column above links to how it is worked out. Pipeline speed for a whole segment is a separate figure, on the Segments table. The Data API sends what Beacon has already worked out; it calculates nothing at the point of reading.

## Example

One page of deals. Example data, not a real deal. Two values are refused, as they are on most rows today.

```json theme={null}
{
  "as_of": "2026-10-23T05:44:27Z",
  "computed_at": "2026-11-17T00:00:00Z",
  "data": [
    {
      "deal_id": "354196931317",
      "account_id": "acc_0042",
      "close_date": "2026-12-15",
      "currency": "USD",
      "deal_stage": "4 Proposal",
      "deal_health": 68,
      "deal_probability": 55,
      "deal_amount_band": "$50k–$100k",
      "deal_velocity_percentile": {
        "reason": "not_computed",
        "what_would_make_it_available": "Beacon stores how this deal's pace compares with similar deals, but not as a 0–100 percentile. This value appears once it does.",
        "schema_version": "PUB-2026.11.23-v0.40"
      },
      "days_in_stage": 17,
      "contract_term_months": {
        "reason": "not_computed",
        "what_would_make_it_available": "Beacon hasn't worked this out for this deal yet. It appears here once it has.",
        "schema_version": "PUB-2026.11.23-v0.40"
      },
      "copy_night": "2026-11-17",
      "as_of": "2026-11-16T00:00:00Z",
      "computed_at": "2026-11-16T05:23:01Z"
    }
  ],
  "page": {
    "next": "ZGxfMzU0MTk2OTMxMzE4"
  }
}
```

## Related

> [card] [API reference](https://docs.beaconrevenue.io/api-reference.md)
>
> The collections and the rules they share.

> [card] [Column dictionary](https://docs.beaconrevenue.io/build/column-dictionary.md)
>
> Every column, its unit and whether it is served.

> [card] [Deal object](https://docs.beaconrevenue.io/data-model/deal.md)
>
> Where each value can travel, and how often it updates.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.