# Result Consensus Gate

> Result Consensus Gate is a paid API for AI agents from bounty-engineer-x402-prod.onrender.com, paid per call via x402, $0.02/call, status unknown (last checked 2026-10-12).

Checks agreement across multiple agent-produced outputs and accepts or rejects the result based on a configurable minimum consensus ratio

## Facts

- Endpoint: POST https://bounty-engineer-x402-prod.onrender.com/v1/result-consensus-gate?utm_source=zero.xyz
- Price: $0.02/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-12
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/result-consensus-gate-00e6fe52
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_6XTIwTNf8HmT9v-p2U8Uz

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability result-consensus-gate-00e6fe52 -d '<json body>'
```

Example prompt: I ran the same pricing lookup across three providers and got back slightly different results — can you run those three outputs through the consensus gate with a minimum agreement of 66% and tell me whether to accept or reject the answer?

## When to prefer this

Use this endpoint when you are running parallel agent or API calls and need a deterministic, field-level agreement check before accepting the result — especially in high-stakes pipelines like pricing, trading signals, or critical decisions where a single provider's error could propagate. Prefer it over manual comparison when you need structured per-field consensus reporting or want an automated accept/reject gate with a configurable threshold.

## Known failure modes

- Fewer than 2 outputs provided (minItems:2 violated) — request rejected
- min_agreement below 0.5 or above 1.0 — validation error
- All providers return distinct values — decision is reject with low agreement ratio
- Correlated providers can agree and still be factually wrong — noted in limitations field
- Partial field presence (some providers missing a field) — missing_count reported per field, may lower agreement ratio

## How this service works

Machine-buyable infrastructure for autonomous agents: API cost routing, margin optimization, funding-rate data, webpage extraction, result verification, spend controls, retry planning, state, tender search and GitHub bounty intelligence.

## Output

Returns a JSON object with a decision field (accept/reject), the consensus value, per-field agreement ratios, the list of providers that agreed, the number of distinct results seen, the overall whole-result agreement score, and a limitations notice warning that deterministic equality is used rather than truth verification.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "outputs": {
   "type": "array",
   "maxItems": 20,
   "minItems": 2
  },
  "min_agreement": {
   "type": "number",
   "maximum": 1,
   "minimum": 0.5
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "ok": true,
  "mode": "result_consensus_gate",
  "decision": "accept",
  "limitations": [
   "Agreement is exact deterministic equality, not truth verification. Correlated providers can agree and still be wrong."
  ],
  "min_agreement": 0.66,
  "provider_count": 3,
  "consensus_value": {
   "price": 25,
   "currency": "USD"
  },
  "field_consensus": [
   {
    "field": "currency",
    "providers": [
     "a",
     "b",
     "c"
    ],
    "missing_count": 0,
    "agreement_ratio": 1,
    "consensus_value": "USD"
   },
   {
    "field": "price",
    "providers": [
     "a",
     "b"
    ],
    "missing_count": 1,
    "agreement_ratio": 0.666667,
    "consensus_value": 25
   }
  ],
  "consensus_providers": [
   "a",
   "b"
  ],
  "distinct_result_count": 2,
  "whole_result_agreement": 0.666667
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/result-consensus-gate-00e6fe52/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from bounty-engineer-x402-prod.onrender.com](https://www.zero.xyz/host/bounty-engineer-x402-prod.onrender.com/llms.txt)
