# Bounty Engineer Data Quality Gate

> Bounty Engineer Data Quality 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).

Validates an array of records against a schema, detecting structural issues and duplicate keys, and returns a pass/reject decision with per-record issue details.

## Facts

- Endpoint: POST https://bounty-engineer-x402-prod.onrender.com/v1/data-quality-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/bounty-engineer-data-quality-gate-31f48dd1
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_a3hERvy9slZIATlU4ziHl

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 bounty-engineer-data-quality-gate-31f48dd1 -d '<json body>'
```

Example prompt: Before I insert these 50 user records into the database, run them through the data quality gate to check for schema violations and duplicate IDs — use the unique_by field set to ['id','email'].

## When to prefer this

Choose this endpoint when you need a lightweight, per-call data quality gate for small-to-medium record batches (up to 200 records) that checks schema conformance and composite field uniqueness before downstream writes or API submissions. It is not suitable for identity verification, real-world accuracy checks, or batches exceeding 200 records. Prefer it over generic JSON validators when you need a structured pass/reject decision with per-record issue metadata and an integrity hash.

## Known failure modes

- Records array exceeds 200 items — request rejected
- Records array is empty (minItems:1 not met) — validation error
- Schema field is malformed or unparseable — may return unexpected issue codes
- unique_by references fields not present in records — silently skipped or empty results
- Network or server error on Render hosting — 5xx response
- Payment of 0.02 USDC not provided or rejected — 402 Payment Required

## 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 an 'ok' boolean, a 'decision' field ('pass' or 'reject'), a list of per-record issues (each with index, issue code, and affected fields), total issue count, invalid record count, total record count, a SHA-256 hash of the records for integrity verification, a truncation flag, and a limitations notice clarifying the scope of checks performed.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "schema": {},
  "records": {
   "type": "array",
   "maxItems": 200,
   "minItems": 1
  },
  "unique_by": {
   "type": "array",
   "items": {
    "type": "string"
   },
   "maxItems": 10
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "ok": true,
  "mode": "data_quality_gate",
  "issues": [
   {
    "index": 1,
    "issues": [
     {
      "code": "duplicate_key",
      "fields": [
       "id"
      ],
      "first_index": 0
     }
    ]
   }
  ],
  "decision": "reject",
  "issue_count": 1,
  "limitations": [
   "Checks supplied schema and composite uniqueness of top-level fields. No real-world accuracy or identity verification."
  ],
  "record_count": 2,
  "records_sha256": "fe545e38479d5ecce90ac6f4b7593e9016b0d1b214ded8b8042cf3b59a1ae097",
  "issues_truncated": false,
  "invalid_record_count": 1
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/bounty-engineer-data-quality-gate-31f48dd1/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)
