# Elevation Samples — String Normalisation + Secondary-Measure Weighted Mean

> Elevation Samples — String Normalisation + 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).

Normalises string fields and computes a sample-weight-based weighted mean for elevation measurement records, returning two analytical reports for up to 200 rows.

## Facts

- Endpoint: POST https://market.datapackvibe.com/x402/assistant-ib26-weather-13-034?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/elevation-samples-string-normalisation-secondary-measure-weighted-mean-c748afba
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_g0rLTnqC7USgoVkw_YsOo

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-string-normalisation-secondary-measure-weighted-mean-c748afba -d '<json body>'
```

Example prompt: I have 50 elevation sample records each with an elevation_m value and a sample_weight — can you normalise the station group strings and give me the sample-weight weighted mean for elevation_m across all rows, in two separate reports?

## When to prefer this

Choose this endpoint when you need both string normalisation and a weighted mean computation on elevation sample data in a single low-cost call (0.01 USDC for two reports). Ideal for small-to-medium datasets (up to 200 rows) where you want offline, deterministic analytics without live lookups or external data enrichment.

## Known failure modes

- More than 200 rows submitted — request rejected due to row limit
- Missing required fields (row_id, elevation_m, sample_weight, date, station_group) cause validation errors
- Null or non-numeric values in elevation_m or sample_weight may affect weighted mean computation
- Invalid date format (not YYYY-MM-DD) triggers schema validation failure
- Empty rows array returns an error

## How this service works

Elevation samples — String normalisation + Secondary-measure weighted mean: String normalisation + 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

Two independent analytical reports: one covering string normalisation results for fields like station_group, and one providing the sample-weight weighted mean for the selected field (elevation_m or sample_weight), computed locally without any external lookup or live data.

## 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-string-normalisation-secondary-measure-weighted-mean-c748afba/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)
