Verify numeric arithmetic
Check a numeric claim against figures selected from retained source evidence.
/api/v2/verify/numerichttps://api.webcite.coWhen to use it
Supply one or two operands using IDs from Publish text source units or Locate latest source units. figure_index is zero-based within the selected source unit. Read the unit before choosing it. Do not substitute an upload asset ID or invent a source version.
escalate, not_applicable, null arithmetic, or unknown comparability are unresolved states. Do not translate them into supported.
A returned operand figure can carry comparator: "gte" when the source states a lower bound, such as 60+. Treat that figure as a minimum, not an exact value.
Request
No fixed public credit price is specified for this V2 operation.
Examples run on your server. Set WEBCITE_API_KEY first. Python examples use the requests package.
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": "Revenue rose from 12.5 to 20.0, up 60%",
"operands": [
{
"source_version_id": "YOUR_SOURCE_VERSION_ID",
"representation_id": "YOUR_REPRESENTATION_ID",
"source_unit_id": "YOUR_SOURCE_UNIT_ID",
"figure_index": 0
},
{
"source_version_id": "YOUR_SOURCE_VERSION_ID",
"representation_id": "YOUR_REPRESENTATION_ID",
"source_unit_id": "YOUR_SOURCE_UNIT_ID",
"figure_index": 1
}
]
}'Request body
claimstringrequiredoperandsobject[]requiredShow operands fields
figure_indexintegerrequiredrepresentation_idstringrequiredsource_unit_idstringrequiredsource_version_idstringrequiredResponse
HTTP 201 returns outcome, arithmetic, comparability, reason, scope, limitation, and operands. scope is arithmetic_only. Figure selection and the full semantic claim are not certified.
201 response
application/json
arithmeticobject | nullrequiredShow arithmetic fields
computednumber | nullrequiredreasonstringrequiredtolerancenumberrequiredverdictstringrequiredValues: "holds""fails""not_computable"
comparabilityobject | nullrequiredShow comparability fields
facetsobject[]requiredShow facets fields
decidedBystringValues: "code""judge"
facetstringValues: "unit""scale""entity""period""basis"
pnumber | nullpassedboolean | nullreasonstringrequiredverdictstringrequiredValues: "comparable""not_comparable""unknown"
limitationstringrequiredoperandsobject[]requiredShow operands fields
bindingstringrequiredValues: "retained_source_slice"
figureobjectrequiredShow figure fields
accountingbooleancomparatorstringValues: "gte"
indexintegermagnitudenumberrawstringscalenumbersignintegerValues: -11
unitstring | nullunitClassstringValues: "percent""percentage_point""basis_point""currency""none"
valuenumbersourceobjectrequiredShow source fields
representation_idstringsource_unit_idstringsource_version_idstringoutcomestringrequiredValues: "supported""contradicted""escalate""not_applicable"
reasonstringrequiredscopestringrequiredValues: "arithmetic_only"
Errors
400 includes invalid claim or operand fields, an unavailable figure index, or ambiguous source numbers. Authentication and source ownership checks also apply. Do not retry with fabricated operand values.