# API Usage Imports CSV Trimmed Typed Conversion

> API Usage Imports CSV Trimmed Typed Conversion 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-24).

Validates and normalizes an API usage imports CSV table by trimming whitespace and applying typed conversion to up to 1000 rows.

## Facts

- Endpoint: POST https://market.datapackvibe.com/x402/assistant-bx-csv-api-usage-normalise?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-24
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/api-usage-imports-csv-trimmed-typed-conversion-40a44bd2
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_UpPXmDRNmvzOYWs_GyYZq

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 api-usage-imports-csv-trimmed-typed-conversion-40a44bd2 -d '<json body>'
```

Example prompt: Can you validate and normalize this API usage imports CSV — it has columns usage_id, observed_on, endpoint_id, request_count, and error_count — using a comma delimiter, allowing categories group-a and group-b, with values between 0 and 1000000?

## When to prefer this

Choose this endpoint when you need to validate and type-normalize a CSV specifically structured for API usage imports (with fields like usage_id, observed_on, endpoint_id, request_count, error_count) and want trimmed, typed output with category allowlist enforcement. Prefer it over generic CSV validators when the domain is API usage data and you need the specialized preset handling for this schema contract.

## Known failure modes

- CSV exceeds 1000 rows — only up to 1000 rows are supported
- CSV string is empty or missing — minLength of 1 required
- Cell value exceeds max_cell_length limit — default 1000 characters per cell
- Numeric values outside specified minimum/maximum bounds — validation error returned
- Category values not in allowed_categories list — flagged as invalid
- Invalid delimiter specified — only comma, semicolon, or tab accepted
- Malformed CSV structure — unbalanced quotes or mismatched column counts

## How this service works

API usage imports — Trimmed typed conversion: Trimmed typed conversion for API usage 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 trimmed typed conversion report.

## Output

Returns a trimmed typed conversion report for the submitted API usage CSV, confirming validity of up to 1000 rows including quoted cells, with type-checked and whitespace-trimmed values for fields like usage_id, observed_on, endpoint_id, request_count, and error_count, along with any validation errors found.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "csv": {
   "type": "string",
   "default": "usage_id,observed_on,endpoint_id,request_count,error_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/api-usage-imports-csv-trimmed-typed-conversion-40a44bd2/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)
