# Product Imports CSV Header Contract Check

> Product 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-19).

Validates a CSV file's header contract for product import data, checking up to 1000 rows against declared schema constraints including categories, price ranges, and cell lengths.

## Facts

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

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

Example prompt: Can you check my product import CSV to make sure the headers and data are valid? The CSV uses comma delimiters, allowed categories are 'electronics' and 'apparel', prices should be between 0 and 9999, and here's the data: sku,introduced_on,category_id,list_price,unit_weight_kg\nitem-1,2026-03-01,electronics,49.99,0.5

## When to prefer this

Choose this endpoint when you need a lightweight, low-cost ($0.01 USDC) automated check that a product import CSV conforms to a declared header contract before ingesting it into a catalog system. It is ideal for CI/CD data pipelines, pre-upload validation gates, or any workflow where catching schema violations early (wrong categories, out-of-range prices, malformed headers) saves downstream processing costs. It supports quoted cells and multiple delimiters, making it suitable for CSV files exported from various tools.

## Known failure modes

- CSV exceeds 100,000 character limit — request rejected
- More than 1000 rows submitted — only first 1000 validated
- Invalid delimiter specified — must be comma, semicolon, or tab
- Empty CSV string submitted — validation cannot proceed
- Category values not in allowed_categories list — flagged as violations
- Cell length exceeds max_cell_length — reported as error

## How this service works

Product imports — Header contract check: Header contract check for Product 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 structured CSV header contract check report indicating whether the submitted CSV conforms to the declared schema, including any header mismatches, invalid category values, out-of-range numeric fields, oversized cells, or row-level violations found within the first 1000 rows.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "csv": {
   "type": "string",
   "default": "sku,introduced_on,category_id,list_price,unit_weight_kg\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/product-imports-csv-header-contract-check-2e6c3657/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)
