# Check the numbers in a sentence against the source

Test the arithmetic in a sentence, such as a margin or a growth rate, against figures selected from a retained source, and read the outcome without over-trusting it.

Documentation index: https://webcite.co/llms.txt
Canonical page: https://webcite.co/api-docs/check-numbers-in-a-sentence
API origin: https://api.webcite.co
Authentication: x-api-key header. Keep keys on your server.

## Endpoint and minimal request

`POST https://api.webcite.co/api/v2/verify/numeric` takes a `claim` and one or two `operands`, each naming a `source_version_id`, `representation_id`, `source_unit_id` and a zero-based `figure_index` within that unit. The IDs come from a retained source: see [cite a fixed version of a source](/api-docs/retained-sources). Agents call `verify_numeric_claim`.

```bash
curl --fail-with-body -X POST 'https://api.webcite.co/api/v2/verify/numeric' \
  -H "x-api-key: $WEBCITE_API_KEY" \
  -H 'Content-Type: application/json' \
  -d '{"claim": "Numismatic net income of $42.0 million on revenues of $469.0 million is a net margin of 9.0 percent.", "operands": [{"source_version_id": "8d640017-9e0d-4d13-8db0-b6c0baf9066a", "representation_id": "e63be976-824a-4ed5-8ea4-8b49c88754be", "source_unit_id": "5e700227-61ed-46c4-8994-32019e46f4fc", "figure_index": 8}, {"source_version_id": "8d640017-9e0d-4d13-8db0-b6c0baf9066a", "representation_id": "e63be976-824a-4ed5-8ea4-8b49c88754be", "source_unit_id": "5e700227-61ed-46c4-8994-32019e46f4fc", "figure_index": 4}]}'
```

## Read the outcome

The source unit held the U.S. Mint's numismatic results paragraph:

```text
NUMISMATIC PRODUCTS Numismatic sales increased 7.2 percent to 3.6 million units in FY 2024. Numismatic revenues increased 2.1 percent to $469.0 million due to a $30.6 million increase in Silver Coin Products and a $15.7 million increase in Commemorative products. Numismatic net income decreased 46.9 percent to $42.0 million (before protection expenses). Numismatic net margin decreased to 9.0 percent compared to 17.2 percent last year.
```

The recorded response:

```json
{
  "outcome": "escalate",
  "reason": "No judgment available for: measure, entity, basis. The arithmetic (not_computable) is computed over figures that were not established as comparable.",
  "arithmetic": {
    "verdict": "not_computable",
    "computed": null,
    "tolerance": 0,
    "reason": "An absolute claim needs exactly one operand"
  },
  "scope": "arithmetic_only",
  "limitation": "Figure selection and the full semantic claim are not certified; cross-figure comparability has no fitted calibration."
}
```

`escalate` means the check could not certify the sentence and a person should look. Here the claim was read as an absolute figure, which needs exactly one operand, and measure, entity and basis were not established as comparable. Treat `escalate`, `not_applicable`, a null arithmetic result or unknown comparability as unresolved, never as supported. [Full response](/samples/numeric-mint.json).

## When to use it, and what to use instead

Use it for one sentence whose figures you can point to in a retained source. For many figures across a document, use [find conflicting figures](/api-docs/find-conflicting-figures). For a quick arithmetic pass on a claim checked against the web, set `include_numeric_assess` on [verify a claim](/api-docs/verify), which checks the claim text alone and does not select source figures.
