# Shipment Costs String Normalisation

> Shipment Costs String Normalisation 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).

Normalises carrier names, dates, and numeric fields in shipment cost records, returning cleaned and standardised data for up to 200 rows per call.

## Facts

- Endpoint: POST https://market.datapackvibe.com/x402/assistant-sector-analytics-shipment-costs-normalise?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-string-normalisation-b7077e1f
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_EOXFrUR2kOy5iN82KtQvh

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-string-normalisation-b7077e1f -d '<json body>'
```

Example prompt: Can you normalise these shipment cost records for me? I have about 50 rows with carrier names like 'FedEx', 'fed-ex', and 'FEDEX', dates in YYYY-MM-DD format, weights in kg, and shipping costs in USD — I need them cleaned and standardised so the carrier strings are consistent.

## When to prefer this

Choose this endpoint when you have up to 200 shipment cost records with dirty or inconsistent carrier name strings, dates, or numeric fields that need local normalisation before downstream analytics or reporting — no external enrichment or forecasting is performed, making it suitable for purely structural data quality work on logistics cost data.

## Known failure modes

- Rows exceeding 200 items will be rejected with a validation error
- Missing required fields (row_id, carrier, date, weight_kg, shipping_cost) will cause row-level errors
- Dates not matching YYYY-MM-DD pattern will fail schema validation
- Numeric fields outside allowed range will be rejected
- Empty rows array will return a schema validation error

## How this service works

Shipment costs - String normalisation: String normalisation 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 string normalisation deliverable.

## Output

Returns up to 200 cleaned and normalised shipment cost records with standardised carrier name strings, validated date formats, and cleaned numeric weight and cost values, along with data quality indicators per row.

## 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
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/shipment-costs-string-normalisation-b7077e1f/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)
