# Shipment Costs Numeric Row Ordering

> Shipment Costs 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-10-12).

Sorts up to 200 shipment cost records numerically by a specified field (weight_kg or shipping_cost) and returns them in ordered sequence.

## Facts

- Endpoint: POST https://market.datapackvibe.com/x402/assistant-sector-analytics-shipment-costs-sort?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-12
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/shipment-costs-numeric-row-ordering-9ac3017c
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_7mXhFaOGxlgyg1PWlhoFk

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 shipment-costs-numeric-row-ordering-9ac3017c -d '<json body>'
```

Example prompt: Sort these 4 shipment records numerically by shipping_cost: row-1 carrier group-a 2026-10-01 10kg $1, row-2 carrier group-b 2026-10-02 20kg $2, row-3 carrier group-a 2026-10-03 15kg $3, row-4 carrier group-b 2026-10-04 30kg $4.

## When to prefer this

Choose this endpoint when you need fast, local numeric sorting of shipment cost records by weight or cost without any external API dependencies or enrichment. Ideal for lightweight logistics data ordering tasks on up to 200 records where you only need sort order, not forecasting, aggregation, or validation.

## Known failure modes

- Empty rows array returns validation error
- More than 200 rows submitted exceeds maxItems limit
- Invalid date format (not YYYY-MM-DD) causes schema rejection
- Unrecognized field value (not weight_kg or shipping_cost) causes enum validation failure
- Missing required fields (row_id, carrier, date) causes schema error

## How this service works

Shipment costs - Numeric row ordering: Numeric row ordering for Shipment costs. Up to 200 supplied typed records. Local numeric and data-quality processing; no external enrichment or forecasting. One of 25 profiles or calculations across 20 shared operations in this sector. 0.01 USDC includes one bounded numeric row ordering deliverable.

## Output

Returns the submitted shipment cost records reordered numerically by the specified field (weight_kg or shipping_cost), preserving all original row data (row_id, carrier, date, weight_kg, shipping_cost) in sorted sequence. Up to 200 rows processed locally with no external enrichment.

## Request schema (JSON Schema)

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

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/shipment-costs-numeric-row-ordering-9ac3017c/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)
