# Survey Response Weights — Duplicate Key Report + Numeric Row Ordering

> Survey Response Weights — 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-11-03).

Analyzes up to 200 survey response weight records to produce a duplicate key report and a numeric row ordering report for the response_value or sample_weight field.

## Facts

- Endpoint: POST https://market.datapackvibe.com/x402/assistant-ib26-economics-24-058?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-11-03
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/survey-response-weights-duplicate-key-report-numeric-row-ordering-556eb3f9
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_83jTp1IehVWC5NY7wO4f3

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 survey-response-weights-duplicate-key-report-numeric-row-ordering-556eb3f9 -d '<json body>'
```

Example prompt: Check my survey response weights dataset for duplicate row IDs and also give me the rows ordered numerically by sample_weight — here are my records: row-1, group-a, 2026-10-01, response_value 10, sample_weight 1; row-2, group-b, 2026-10-02, response_value 20, sample_weight 2; row-3, group-a, 2026-10-03, response_value 15, sample_weight 3.

## When to prefer this

Choose this endpoint when you need to simultaneously audit a batch of survey response weight records for duplicate row identifiers AND produce a numeric ordering of rows by a specified field, all in a single API call without any external data enrichment or live lookups. Ideal for economics or social science survey pipelines where data quality checks and row ranking are needed before downstream weighted analysis.

## Known failure modes

- Exceeding 200 rows returns a validation error
- Missing required fields (row_id, region, date, response_value, sample_weight) cause item-level rejection
- Invalid date format (not YYYY-MM-DD) triggers pattern validation failure
- Numeric values outside ±1,000,000,000,000 are rejected
- Empty rows array returns an error
- Invalid field enum value (not response_value or sample_weight) causes request rejection

## How this service works

Survey response weights — Duplicate key report + Numeric row ordering: Duplicate key report + Numeric row ordering for supplied survey response weights records (response_value, sample_weight). 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 analytical reports: (1) a duplicate key report identifying any row_id values that appear more than once in the submitted dataset, and (2) a numeric row ordering report ranking all submitted rows by the selected field (response_value or sample_weight). Covers up to 200 rows per call with no external data lookups.

## Request schema (JSON Schema)

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

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/survey-response-weights-duplicate-key-report-numeric-row-ordering-556eb3f9/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)
