# API Contracts — Duplicate Key Report + Numeric Row Ordering

> API Contracts — Duplicate Key Report + Numeric Row Ordering is a paid API for AI agents from market.datapackvibe.com, paid per call via x402, $0.01/call, status unknown (last checked 2026-10-24).

Analyzes up to 200 API contract records to produce a duplicate key report and a numeric row ordering report based on fields_checked and incompatible_fields values.

## Facts

- Endpoint: POST https://market.datapackvibe.com/x402/assistant-ib26-software-19-058?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-24
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/api-contracts-duplicate-key-report-numeric-row-ordering-150b9137
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_e2Z4GYmgWkRsuSawgd15T

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 api-contracts-duplicate-key-report-numeric-row-ordering-150b9137 -d '<json body>'
```

Example prompt: Can you run a duplicate key report and numeric row ordering on these API contract records? I have 4 rows — row-1 (group-a, 2026-10-01, fields_checked=10, incompatible_fields=1), row-2 (group-b, 2026-10-02, fields_checked=20, incompatible_fields=2), row-3 (group-a, 2026-10-03, fields_checked=15, incompatible_fields=3), row-4 (group-b, 2026-10-04, fields_checked=30, incompatible_fields=4) — and order them by fields_checked.

## When to prefer this

Choose this endpoint when you need both a duplicate key detection and a numeric row ordering analysis on API contract records in a single low-cost call. Ideal for software teams auditing API contract datasets for data quality issues without needing external lookups, ML predictions, or live data enrichment. Best suited for batch analysis of up to 200 rows where local analytical computation is sufficient.

## Known failure modes

- Empty or missing rows array returns a validation error
- Rows exceeding 200 items are rejected
- Invalid date format (not YYYY-MM-DD) causes schema validation failure
- Null values in fields_checked or incompatible_fields may affect numeric ordering output
- Invalid field enum value (not fields_checked or incompatible_fields) causes rejection
- row_id missing or empty string triggers required field error

## How this service works

API contracts — Duplicate key report + Numeric row ordering: Duplicate key report + Numeric row ordering for supplied api contracts records (fields_checked, incompatible_fields). Up to 200 rows; 2 independent reports using shared local analytical engines. No live lookup, prediction, professional assessment or external action. 0.01 USDC includes 2 supplied-data reports for up to 200 rows.

## Output

Returns two independent reports: (1) a duplicate key report identifying rows with repeated key values across the supplied API contract records, and (2) a numeric row ordering report ranking all supplied rows by the selected numeric field (fields_checked or incompatible_fields). Covers up to 200 rows per call with no external lookups.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "rows": {
   "type": "array",
   "items": {
    "type": "object",
    "required": [
     "row_id",
     "component",
     "date",
     "fields_checked",
     "incompatible_fields"
    ],
    "properties": {
     "date": {
      "type": "string",
      "default": "",
      "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
      "maxLength": 10
     },
     "row_id": {
      "type": "string",
      "default": "",
      "maxLength": 80,
      "minLength": 1
     },
     "component": {
      "type": "string",
      "default": "",
      "maxLength": 80
     },
     "fields_checked": {
      "type": [
       "number",
       "null"
      ],
      "maximum": 1000000000000,
      "minimum": -1000000000000
     },
     "incompatible_fields": {
      "type": [
       "number",
       "null"
      ],
      "maximum": 1000000000000,
      "minimum": -1000000000000
     }
    },
    "additionalProperties": false
   },
   "default": [
    {
     "date": "2026-10-01",
     "row_id": "row-1",
     "component": "group-a",
     "fields_checked": 10,
     "incompatible_fields": 1
    },
    {
     "date": "2026-10-02",
     "row_id": "row-2",
     "component": "group-b",
     "fields_checked": 20,
     "incompatible_fields": 2
    },
    {
     "date": "2026-10-03",
     "row_id": "row-3",
     "component": "group-a",
     "fields_checked": 15,
     "incompatible_fields": 3
    },
    {
     "date": "2026-10-04",
     "row_id": "row-4",
     "component": "group-b",
     "fields_checked": 30,
     "incompatible_fields": 4
    }
   ],
   "maxItems": 200,
   "minItems": 1
  },
  "field": {
   "enum": [
    "fields_checked",
    "incompatible_fields"
   ],
   "type": "string",
   "default": "fields_checked"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/api-contracts-duplicate-key-report-numeric-row-ordering-150b9137/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from market.datapackvibe.com](https://www.zero.xyz/host/market.datapackvibe.com/llms.txt)
