# Trim, Deduplicate, and Filter Records Pipeline

> Trim, Deduplicate, and Filter Records Pipeline 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-18).

Processes tabular records through a three-step pipeline: trims whitespace from text fields, removes duplicate rows, then filters out rows missing a value in the specified field.

## Facts

- Endpoint: POST https://market.datapackvibe.com/x402/assistant-cap-e2336958058c63ea6b13?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-18
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/trim-deduplicate-and-filter-records-pipeline-3a34715e
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_ZresVWkvB-wIk3Ir2I8yC

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 trim-deduplicate-and-filter-records-pipeline-3a34715e -d '<json body>'
```

Example prompt: Clean up these customer records for me — trim any extra whitespace from the 'name' field, remove duplicate rows, and then drop any rows where 'name' is empty. Here are up to 300 records: [{"name": " Alice ", "score": 10}, {"name": "Alice", "score": 20}, {"name": "", "score": 5}].

## When to prefer this

Choose this endpoint when you need a fast, cheap ($0.01 USDC for up to 300 records), stateless pipeline that handles the three most common tabular data cleaning steps — whitespace trimming, deduplication, and blank-row removal — in a single call without needing an external data source or a full ETL framework. Ideal for pre-processing user-submitted records, form data, or CSV exports before storage or analysis.

## Known failure modes

- Empty records array returns a validation error (minItems:1 not satisfied)
- Field name not matching pattern ^[a-zA-Z][a-zA-Z0-9_]{0,39}$ causes schema rejection
- Records array exceeding 300 items returns a 400 error
- Individual record objects exceeding 30 properties may be rejected
- Non-string/number/boolean/null field values cause schema validation failure
- Network timeout if payload is very large near the 300-record limit

## How this service works

Trim text fields → Remove duplicate rows → Keep rows with a value: Process customer-supplied records: Trim text fields → Remove duplicate rows → Keep rows with a value. Returns the processed output and row counts per step. No external data lookup. 0.01 USDC includes up to 300 flat records.

## Output

Returns the processed records array after all three pipeline steps, plus row counts at each stage (original count, after trim, after deduplication, after filtering), enabling the caller to see exactly how many rows were dropped at each step.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "field": {
   "type": "string",
   "default": "text",
   "pattern": "^[a-zA-Z][a-zA-Z0-9_]{0,39}$",
   "maxLength": 40
  },
  "records": {
   "type": "array",
   "items": {
    "type": "object",
    "maxProperties": 30,
    "additionalProperties": {
     "type": [
      "string",
      "number",
      "boolean",
      "null"
     ]
    }
   },
   "default": [
    {
     "text": " Useful example ",
     "value": 10
    },
    {
     "text": "Useful example",
     "value": 20
    },
    {
     "text": "Other row",
     "value": 5
    }
   ],
   "maxItems": 300,
   "minItems": 1
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/trim-deduplicate-and-filter-records-pipeline-3a34715e/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)
