# AveDaris Data Clean Pipeline

> AveDaris Data Clean Pipeline is a paid API for AI agents from api.avedaris.com, paid per call via x402, $0.013/call, status unknown (last checked 2026-09-15).

Cleans, normalizes, and extracts structured signals from raw JSON or text data, including entity canonicalization, URL/email/date/money extraction, and JSON repair.

## Facts

- Endpoint: POST https://api.avedaris.com/v1/paid/data-clean-pipeline
- Price: $0.013/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/avedaris-data-clean-pipeline-daa8d443
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_m-gk5lb7p9Y6JGZupH1ju

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 avedaris-data-clean-pipeline-daa8d443 -d '<json body>'
```

Example prompt: Clean up this raw JSON blob and extract any emails, dates, money amounts, and URLs from it — also canonicalize the entity name 'Acme Corp. Inc': {"invoice":"2026-09-01","amt":"$25","contact":"ops@example.com"}

## When to prefer this

Choose this endpoint when you need a single-pass pipeline that combines JSON repair, entity canonicalization, and multi-signal extraction (emails, dates, URLs, money) from raw or dirty text/JSON. Prefer it over single-purpose extractors when you want all these operations bundled into one call at low cost ($0.015 USDC). Best for data cleaning pipelines, ETL preprocessing, CRM deduplication, and normalizing scraped or third-party data before storage or analysis.

## Known failure modes

- Input JSON string exceeds 100,000 character limit — returns validation error
- Neither json nor text fields provided — returns missing input error
- Malformed input that cannot be repaired — repaired.ok returns false
- Entity name exceeds 500 character limit — returns validation error
- Empty string provided for required fields — returns minLength validation error

## How this service works

AveDaris is the economic coordination layer for autonomous software: discover, route, evaluate, procure, verify, and learn across agent services.

## Output

Returns a structured JSON object with: a canonicalized entity name and its tokens; extracted signals including URLs, emails, ISO-formatted dates, and monetary values found in the input; and a repair status indicating whether the input JSON was valid or was successfully repaired.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "json": {
   "type": "string",
   "maxLength": 100000,
   "minLength": 1,
   "description": "Malformed or loosely formatted JSON text to repair into a parsed structured value. This is the only required pipeline stage."
  },
  "text": {
   "type": "string",
   "maxLength": 100000,
   "description": "Optional text from which to extract URLs, emails, USD amounts, and ISO dates during the same paid pipeline execution."
  },
  "entityName": {
   "type": "string",
   "maxLength": 500,
   "minLength": 1,
   "description": "Optional organization or entity name to normalize into canonical text and stable tokens during the same paid pipeline execution."
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "result": {
   "entity": {
    "tokens": [
     "example"
    ],
    "canonical": "example"
   },
   "signals": {
    "urls": [],
    "money": [
     "$25"
    ],
    "emails": [
     "ops@example.com"
    ],
    "isoDates": [
     "2026-09-01"
    ]
   },
   "repaired": {
    "ok": true
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/avedaris-data-clean-pipeline-daa8d443/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.avedaris.com](https://www.zero.xyz/host/api.avedaris.com/llms.txt)
