# Library Loan Imports — Valid Row Export

> Library Loan Imports — Valid Row Export 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 table of library loan records and exports only the valid rows, checking up to 1000 rows against a declared contract.

## Facts

- Endpoint: POST https://market.datapackvibe.com/x402/assistant-bx-csv-loans-valid-rows?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/library-loan-imports-valid-row-export-febe6d84
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_37fT_sP--4ClQe7JVYqzX

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 library-loan-imports-valid-row-export-febe6d84 -d '<json body>'
```

Example prompt: Can you validate my library loan import CSV and give me only the valid rows? The file uses comma delimiters, allowed branch categories are group-a and group-b, and numeric values should be between 0 and 365.

## When to prefer this

Choose this endpoint when you need to validate library loan CSV imports specifically — it applies a domain-specific preset tuned for loan records (loan_id, borrowed_on, branch_id, loan_days, overdue_days) with support for category whitelisting, numeric range checks, and quoted cell parsing, all in a single low-cost call. Prefer it over generic CSV validators when your use case involves library loan data contracts and you need a clean export of only valid rows.

## Known failure modes

- CSV exceeds 100,000 character limit — request rejected
- More than 1000 rows submitted — only up to 1000 processed
- Invalid delimiter value provided — must be comma, semicolon, or tab
- Cell content exceeds max_cell_length — row flagged as invalid
- Numeric values outside minimum/maximum bounds — rows excluded from valid export
- Category values not in allowed_categories list — rows excluded
- Malformed CSV that cannot be parsed — error returned
- Empty CSV string submitted — validation fails with no rows to process

## How this service works

Library loan imports — Valid row export: Valid row export for Library loan 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 valid row export report.

## Output

A valid row export report listing which rows in the submitted CSV passed all validation checks, covering up to 1000 rows. The report identifies conformant rows based on delimiter parsing, cell length constraints, numeric range rules, and allowed category values, with no external enrichment applied.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "csv": {
   "type": "string",
   "default": "loan_id,borrowed_on,branch_id,loan_days,overdue_days\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/library-loan-imports-valid-row-export-febe6d84/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)
