# Elevation Samples — Numeric Row Ordering + Two-Measure Correlation

> Elevation Samples — Numeric Row Ordering + Two-Measure Correlation 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-02).

Performs numeric row ordering and two-measure correlation analysis on supplied elevation sample records (elevation_m and sample_weight) for up to 200 rows, returning two analytical reports.

## Facts

- Endpoint: POST https://market.datapackvibe.com/x402/assistant-ib26-weather-13-120?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-11-02
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/elevation-samples-numeric-row-ordering-two-measure-correlation-4f7f09c1
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_ry6clUEHe7tQqErSGKdXL

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-two-measure-correlation-4f7f09c1 -d '<json body>'
```

Example prompt: I have 4 elevation sample records — row-1 on 2026-10-01 at group-a with elevation_m 10 and sample_weight 1, row-2 on 2026-10-02 at group-b with elevation_m 20 and sample_weight 2, row-3 on 2026-10-03 at group-a with elevation_m 15 and sample_weight 3, row-4 on 2026-10-04 at group-b with elevation_m 30 and sample_weight 4 — can you rank them by elevation_m and also compute the correlation between elevation_m and sample_weight?

## When to prefer this

Choose this endpoint when you have pre-collected elevation sample records (with elevation_m and sample_weight fields) and need both a numeric row ranking and a correlation analysis in a single call for up to 200 rows. It is best suited for offline/batch analytical use cases where no live geospatial lookup, prediction, or external data enrichment is needed — purely local computation on your own supplied data.

## Known failure modes

- Empty rows array — rejected if minItems not met
- More than 200 rows supplied — request rejected with validation error
- Missing required row fields (row_id, station_group, date, elevation_m, sample_weight) — schema validation failure
- Invalid date format (not YYYY-MM-DD) — pattern validation error
- Non-numeric values supplied for elevation_m or sample_weight where numeric required
- Payment not included or insufficient USDC — x402 payment required error

## How this service works

Elevation samples — Numeric row ordering + Two-measure correlation: Numeric row ordering + Two-measure correlation 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: (1) a numeric row ordering report that ranks the supplied elevation sample rows by the chosen field (elevation_m or sample_weight), and (2) a two-measure correlation report quantifying the statistical relationship between elevation_m and sample_weight across all supplied rows. Both reports are computed locally from the supplied data with no external lookups.

## 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-two-measure-correlation-4f7f09c1/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)
