x402

Deduplicate (x402)

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

get/x402/v2/deduplicate

Request

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

Query parameters

unknown required
thresholdnumber

Match threshold 0-1 (default 0.8)

unknown

Response

Success

original_countinteger
deduplicated_countinteger

Example response

{
  "threshold": 0.8,
  "deduplicated": [
    "test"
  ],
  "match_fields": [
    "0",
    "1",
    "2",
    "3"
  ],
  "removed_count": 0,
  "original_count": 1,
  "duplicates_found": [],
  "deduplicated_count": 1
}

Changes

No recorded changes to this operation across all 1 revision of this API.