# Order Imports CSV Header Contract Check

> Order Imports CSV Header Contract Check 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-20).

Validates a CSV file's header contract for order import data, checking column names, types, and value constraints against a declared schema for up to 1000 rows.

## Facts

- Endpoint: POST https://market.datapackvibe.com/x402/assistant-bx-csv-orders-schema?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-20
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/order-imports-csv-header-contract-check-2f9143bd
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_HKJmkOzgTWfF31POk-JLc

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 order-imports-csv-header-contract-check-2f9143bd -d '<json body>'
```

Example prompt: Can you validate this orders CSV to make sure the headers and data match the expected contract — columns like order_id, ordered_on, customer_id, gross_amount, and item_count — using a comma delimiter, allowing customer categories group-a and group-b, and flagging anything outside the normal numeric range?

## When to prefer this

Choose this endpoint when you need a lightweight, deterministic CSV schema validation specifically for order import files with columns like order_id, ordered_on, customer_id, gross_amount, and item_count. It is ideal for pre-import quality gates, vendor file audits, or pipeline guards where you need to check header contracts and value constraints without external enrichment or full data processing. Prefer it over general-purpose CSV validators when your use case matches the orders domain and you need a per-call, pay-as-you-go model at $0.01 USDC.

## Known failure modes

- CSV exceeds 100,000 character limit — request rejected
- More than 1000 rows submitted — only up to 1000 rows processed or error returned
- Invalid delimiter value not in allowed enum [',', ';', tab] — validation error
- Malformed CSV with unclosed quotes or inconsistent column counts — parse error
- allowed_categories array exceeds 100 items — schema rejection
- max_cell_length set outside 1–5000 range — parameter error
- Payment not provided or insufficient — 402 payment required

## How this service works

Order imports — Header contract check: Header contract check for Order imports. Validate a declared CSV table contract, up to 1000 rows. Quoted cells supported; no external enrichment. Specialised preset in a shared 50-profile, 20-operation engine. 0.01 USDC includes one CSV header contract check report.

## Output

A header contract check report indicating whether the CSV's headers and data conform to the declared schema, including which rows or cells violate constraints such as column presence, value ranges, cell length limits, allowed category values, and delimiter correctness — covering up to 1000 rows.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "csv": {
   "type": "string",
   "default": "order_id,ordered_on,customer_id,gross_amount,item_count\nrecord-a,2026-01-01,group-a,10,2\nrecord-b,2026-01-02,group-b,20,3",
   "maxLength": 100000,
   "minLength": 1
  },
  "maximum": {
   "type": "number",
   "default": 1000000000000,
   "maximum": 1000000000000,
   "minimum": -1000000000000
  },
  "minimum": {
   "type": "number",
   "default": -1000000000000,
   "maximum": 1000000000000,
   "minimum": -1000000000000
  },
  "delimiter": {
   "enum": [
    ",",
    ";",
    "\t"
   ],
   "type": "string",
   "default": ","
  },
  "max_cell_length": {
   "type": "integer",
   "default": 1000,
   "maximum": 5000,
   "minimum": 1
  },
  "allowed_categories": {
   "type": "array",
   "items": {
    "type": "string",
    "default": "",
    "maxLength": 100,
    "minLength": 1
   },
   "default": [
    "group-a",
    "group-b"
   ],
   "maxItems": 100,
   "minItems": 0
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/order-imports-csv-header-contract-check-2f9143bd/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)
