---
title: "Deduplicate (x402)"
method: GET
path: "/x402/v2/deduplicate"
tags: ["x402"]
---

# Deduplicate (x402)

`GET /x402/v2/deduplicate`

## Request

- Base URL: `https://api.strale.io`
- URL: `https://api.strale.io/x402/v2/deduplicate`
- Auth: none required

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

## Query parameters

- `data` unknown[], required: Array of objects to deduplicate
  - unknown
- `threshold` number: Match threshold 0-1 (default 0.8)
- `match_fields` unknown[]: Fields to compare
  - unknown

## Response `200`

Success

- object
  - `deduplicated` unknown[]
    - unknown
  - `original_count` integer
  - `duplicates_found` unknown[]
    - unknown
  - `deduplicated_count` integer

## Other responses

- `402`: Payment required (x402 — pay with USDC on Base)

---

[API](https://skmtc.dev/strale/apis/strale-api-2.md) · [All operations](https://skmtc.dev/strale/apis/strale-api-2/llms.txt) · [OpenAPI document](https://skmtc.dev/strale/apis/strale-api-2/revisions/a5293878cfc6?raw)
