# Elevation Samples — Numeric Row Ordering & Weighted Mean Analytics

> Elevation Samples — Numeric Row Ordering & Weighted Mean Analytics 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-05).

Computes numeric row ordering and secondary-measure weighted mean across up to 200 elevation sample records (elevation_m, sample_weight) without any live data lookup.

## Facts

- Endpoint: POST https://market.datapackvibe.com/x402/assistant-ib26-weather-13-121?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-11-05
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/elevation-samples-numeric-row-ordering-weighted-mean-analytics-832a2a77
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_XGuRCDm1eITEGbqnbeLPs

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 elevation-samples-numeric-row-ordering-weighted-mean-analytics-832a2a77 -d '<json body>'
```

Example prompt: Can you compute the numeric row ordering and weighted mean for my elevation samples? I have 4 rows: row-1 on 2026-10-01 with elevation_m 10 and sample_weight 1 in group-a, row-2 on 2026-10-02 with elevation_m 20 and sample_weight 2 in group-b, row-3 on 2026-10-03 with elevation_m 15 and sample_weight 3 in group-a, and row-4 on 2026-10-04 with elevation_m 30 and sample_weight 4 in group-b — use elevation_m as the primary field.

## When to prefer this

Choose this endpoint when you have tabular elevation measurement data (up to 200 rows) and need both a numeric row ranking and a weighted mean computed locally without any live API lookups, predictions, or external data enrichment. It is well-suited for preprocessing or auditing elevation survey datasets before further analysis.

## Known failure modes

- More than 200 rows submitted — request rejected due to maxItems constraint
- Missing required fields (row_id, elevation_m, sample_weight, date, station_group) cause validation errors
- Invalid date format (must match YYYY-MM-DD) triggers schema rejection
- Null values for elevation_m or sample_weight may affect weighted mean computation
- Field enum value outside 'elevation_m' or 'sample_weight' causes input rejection

## How this service works

Elevation samples — Numeric row ordering + Secondary-measure weighted mean: Numeric row ordering + Secondary-measure weighted mean for supplied elevation samples records (elevation_m, 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 analytical reports for the supplied elevation sample rows: (1) numeric row ordering of records by the selected field (elevation_m or sample_weight), and (2) a secondary-measure weighted mean computed using sample_weight as the weighting factor. No external data is fetched; all computation is local to the analytical engine.

## Request schema (JSON Schema)

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

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/elevation-samples-numeric-row-ordering-weighted-mean-analytics-832a2a77/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)
