# Strale Deduplicate API

> Strale Deduplicate API is a paid API for AI agents from api.strale.io, paid per call via x402, $0.0216/call, status unknown (last checked 2026-09-15).

Deduplicates records in a dataset by matching on specified fields, returning a deduplicated result with an audit trail

## Facts

- Endpoint: GET https://api.strale.io/x402/v2/deduplicate
- Price: $0.0216/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/strale-deduplicate-api-590ef744
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_XWU2kUwTJI3xxZK9lwwQ2

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 strale-deduplicate-api-590ef744
```

Example prompt: Can you deduplicate this list of customer records matching on the 'email' and 'company_name' fields? Here's the data: [{"email":"jane@acme.com","company_name":"Acme","id":1},{"email":"jane@acme.com","company_name":"Acme","id":2}]

## When to prefer this

Choose this endpoint when you need deduplicated data with a verifiable audit trail — particularly for compliance-sensitive workflows where cryptographic proof of the deduplication operation is required. Prefer this over simple client-side deduplication when you need an immutable record of the operation, or when deduplicating across 27-country regulated data environments.

## Known failure modes

- Invalid JSON in data field returns parse error
- match_fields references a field not present in the data causing no matches
- Empty dataset returns empty result with no deduplication performed
- Malformed match_fields string causes field parsing failure
- Very large datasets may exceed payload limits

## How this service works

Deduplicate a JSON array of objects using fuzzy string matching (Levenshtein + token sort). Specify match fields and threshold.

## Output

Returns the deduplicated dataset with duplicate records removed or flagged, along with an audit record containing a cryptographic chain hash for traceability and compliance verification.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "required": [
  "data"
 ],
 "properties": {
  "data": {
   "type": "array",
   "description": "Array of objects to deduplicate"
  },
  "threshold": {
   "type": "number",
   "description": "Match threshold 0-1 (default 0.8)"
  },
  "match_fields": {
   "type": "array",
   "description": "Fields to compare"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "deduplicated": {
  "type": "array"
 },
 "original_count": {
  "type": "integer"
 },
 "duplicates_found": {
  "type": "array"
 },
 "deduplicated_count": {
  "type": "integer"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/strale-deduplicate-api-590ef744/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.strale.io](https://www.zero.xyz/host/api.strale.io/llms.txt)
