# Coastal Observations Duplicate Key Report & Secondary-Measure Weighted Mean

> Coastal Observations Duplicate Key Report & Secondary-Measure Weighted Mean 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-25).

Analyzes up to 200 coastal observation records to produce a duplicate key report and a secondary-measure weighted mean for wave height and wave period data.

## Facts

- Endpoint: POST https://market.datapackvibe.com/x402/assistant-ib26-weather-18-067?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-25
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/coastal-observations-duplicate-key-report-secondary-measure-weighted-ded5858c
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap__PyBKaws-4pjrZRykdEUY

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 coastal-observations-duplicate-key-report-secondary-measure-weighted-ded5858c -d '<json body>'
```

Example prompt: I have a batch of coastal wave observation records with station groups and dates — can you run a duplicate key report and compute the weighted mean of wave_height_m for up to 200 rows? Here are my rows: row-1, group-a, 2026-10-01, wave_height_m=10, wave_period_seconds=1; row-2, group-b, 2026-10-02, wave_height_m=20, wave_period_seconds=2.

## When to prefer this

Choose this endpoint when you need two simultaneous analytical reports — a duplicate key audit and a weighted mean calculation — on coastal wave observation data (wave height and wave period) without any live data lookup or external enrichment. Ideal for data quality checks and basic statistical summarization of up to 200 oceanographic records at low cost ($0.01 USDC for both reports).

## Known failure modes

- Exceeding 200 rows causes rejection
- Missing required fields (row_id, station_group, date, wave_height_m, wave_period_seconds) causes validation error
- Invalid date format (not YYYY-MM-DD) causes schema error
- Null values in both measure fields may affect weighted mean computation
- Empty rows array rejected by minItems constraint

## How this service works

Coastal observations — Duplicate key report + Secondary-measure weighted mean: Duplicate key report + Secondary-measure weighted mean for supplied coastal observations records (wave_height_m, wave_period_seconds). 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 analytical reports: (1) a duplicate key report identifying rows with repeated station_group and date combinations, and (2) a weighted mean calculation for the selected secondary measure field (wave_height_m or wave_period_seconds) across the supplied records. Both reports are computed locally without external lookups.

## Request schema (JSON Schema)

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

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/coastal-observations-duplicate-key-report-secondary-measure-weighted-ded5858c/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)
