Text Similarity + Dedup

Compute pairwise text similarity, find near-duplicates, and cluster a batch of texts (2–300 items). Character n-gram cosine similarity: language-agnostic, robust to small edits, no model calls. Returns similar pairs above a threshold, connected-component clusters, and the full matrix for small batches. POST a JSON body like: {"texts":["hello world","hello world!","unrelated"],"threshold":0.8}

InferenceLiveeip155:8453Exactvia cdp
SimilarityDedupClusteringTextNlp
Settlements · 30d
59↓ 22%
No per-endpoint history for this service yet, so this is payments indexed to its PROVIDER's wallet over 30 days.
$2.52
Verified settled volume
915 settlements proven x402 by their on-chain EIP-3009 marker.
$0.0020
Listed price
As published in the catalog. Always read the live 402 before paying.
6
Calls · 30d
Upstream's own call count for this endpoint, not ours.
1
Unique payers · 30d
Last called 2026-07-16 08:36Z
Upstream on-chain volume
Reported by the source catalog.
Paid to
0xB86F95EF5FA904318Ea9Df3b59AdCe099b478fC4

The wallet the 402 directs payment to. Its whole payment record — every payer, every chain — is on the merchant page.

Asset 0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913

Provider

The payTo wallet does not resolve to a registered ERC-8004 agent. That is not a verdict on the service — most of the catalog is unregistered.

Live 402 challenge

Captured by the enrichment pass, not read just now. Prices can change — always read the 402 the endpoint answers with.

{
  "error": "PAYMENT-SIGNATURE header is required",
  "accepts": [
    {
      "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
      "extra": {
        "name": "USD Coin",
        "version": "2"
      },
      "payTo": "0xB86F95EF5FA904318Ea9Df3b59AdCe099b478fC4",
      "amount": "2000",
      "scheme": "exact",
      "network": "eip155:8453",
      "maxTimeoutSeconds": 60
    }
  ],
  "resource": {
    "url": "https://keyronne.com/api/similarity",
    "tags": [
      "similarity",
      "dedup",
      "clustering",
      "text",
      "nlp"
    ],
    "mimeType": "application/json",
    "description": "Compute pairwise text similarity, find near-duplicates, and cluster a batch of texts (2–300 items). Character n-gram cosine similarity: language-agnostic, robust to small edits, no model calls. Returns similar pairs above a threshold, connected-component clusters, and the full matrix for small batches. POST a JSON body like: {\"texts\":[\"hello world\",\"hello world!\",\"unrelated\"],\"threshold\":0.8}",
    "serviceName": "Text Similarity + Dedup"
  },
  "extensions": {
    "bazaar": {
      "info": {
        "input": {
          "body": {
            "texts": [
              "hello world",
              "hello world!",
              "unrelated"
            ],
            "threshold": 0.8
          },
          "type": "http",
          "method": "POST",
          "bodyType": "json"
        },
        "output": {
          "type": "json",
          "example": {
            "count": 3,
            "pairs": [
              {
                "a": 0,
                "b": 1,
                "score": 0.9487
              }
            ],
            "clusters": [
              [
                0,
                1
              ]
            ]
          }
        }
      },
      "schema": {
        "type": "object",
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "required": [
          "input"
        ],
        "properties": {
          "input": {
            "type": "object",
            "properties": {
              "body": {
                "type": "object",
                "required": [
                  "texts"
                ],
                "properties": {
                  "ngram": {
                    "type": "integer",
                    "default": 3,
                    "maximum": 5,
                    "minimum": 2,
                    "description": "Character n-gram size."
                  },
                  "texts": {
                    "type": "array",
                    "items": {
                      "type": "string"
                    },
                    "maxItems": 300,
                    "minItems": 2,
                    "description": "Texts to compare (each up to 20,000 characters)."
                  },
                  "threshold": {
                    "type": "number",
                    "default": 0.8,
                    "maximum": 1,
                    "minimum": 0,
                    "description": "Similarity threshold for pairs and clustering."
                  }
                }
              },
              "type": {
                "type": "string",
                "const": "http"
              },
              "method": {
                "enum": [
                  "POST"
                ],
                "type": "string"
              },
              "bodyType": {
                "enum": [
                  "json"
                ],
                "type": "string"
              }
            }
          },
          "output": {
            "type": "object",
            "properties": {
              "count": {
                "type": "integer"
              },
              "pairs": {
                "type": "array",
                "items": {
                  "type": "object",
                  "properties": {
                    "a": {
                      "type": "integer"
                    },
                    "b": {
                      "type": "integer"
                    },
                    "score": {
                      "type": "number"
                    }
                  }
                },
                "description": "Pairs with similarity >= threshold, sorted descending."
              },
              "matrix": {
                "type": "array",
                "items": {
                  "type": "array",
                  "items": {
                    "type": "number"
                  }
                },
                "description": "Full similarity matrix (only when count <= 50)."
              },
              "clusters": {
                "type": "array",
                "items": {
                  "type": "array",
                  "items": {
                    "type": "integer"
                  }
                },
                "description": "Groups of indices connected at the threshold."
              }
            }
          }
        }
      }
    }
  },
  "x402Version": 2
}

Accepts

The payment requirements as published to the catalog. Read the live 402 before paying — a price here is a claim, not a quote.

0.002USDC≈ $0.002 USD
on Base · exact scheme

Pay 0.002 USDC on Base to 0xB86F…78fC4. The signed payment is good for 1 minute.

USD Coin contract
0x8335…02913
Payment window
1 minute
As published
2000 smallest units
The catalog’s raw entry
[
  {
    "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
    "extra": {
      "name": "USD Coin",
      "version": "2"
    },
    "payTo": "0xB86F95EF5FA904318Ea9Df3b59AdCe099b478fC4",
    "amount": "2000",
    "scheme": "exact",
    "network": "eip155:8453",
    "maxTimeoutSeconds": 60
  }
]

Extensions

{
  "bazaar": {
    "info": {
      "input": {
        "body": {
          "texts": [
            "hello world",
            "hello world!",
            "unrelated"
          ],
          "threshold": 0.8
        },
        "type": "http",
        "method": "POST",
        "bodyType": "json"
      },
      "output": {
        "type": "json",
        "example": {
          "count": 3,
          "pairs": [
            {
              "a": 0,
              "b": 1,
              "score": 0.9487
            }
          ],
          "clusters": [
            [
              0,
              1
            ]
          ]
        }
      }
    },
    "schema": {
      "type": "object",
      "$schema": "https://json-schema.org/draft/2020-12/schema",
      "required": [
        "input"
      ],
      "properties": {
        "input": {
          "type": "object",
          "properties": {
            "body": {
              "type": "object",
              "required": [
                "texts"
              ],
              "properties": {
                "ngram": {
                  "type": "integer",
                  "default": 3,
                  "maximum": 5,
                  "minimum": 2,
                  "description": "Character n-gram size."
                },
                "texts": {
                  "type": "array",
                  "items": {
                    "type": "string"
                  },
                  "maxItems": 300,
                  "minItems": 2,
                  "description": "Texts to compare (each up to 20,000 characters)."
                },
                "threshold": {
                  "type": "number",
                  "default": 0.8,
                  "maximum": 1,
                  "minimum": 0,
                  "description": "Similarity threshold for pairs and clustering."
                }
              }
            },
            "type": {
              "type": "string",
              "const": "http"
            },
            "method": {
              "enum": [
                "POST"
              ],
              "type": "string"
            },
            "bodyType": {
              "enum": [
                "json"
              ],
              "type": "string"
            }
          }
        },
        "output": {
          "type": "object",
          "properties": {
            "count": {
              "type": "integer"
            },
            "pairs": {
              "type": "array",
              "items": {
                "type": "object",
                "properties": {
                  "a": {
                    "type": "integer"
                  },
                  "b": {
                    "type": "integer"
                  },
                  "score": {
                    "type": "number"
                  }
                }
              },
              "description": "Pairs with similarity >= threshold, sorted descending."
            },
            "matrix": {
              "type": "array",
              "items": {
                "type": "array",
                "items": {
                  "type": "number"
                }
              },
              "description": "Full similarity matrix (only when count <= 50)."
            },
            "clusters": {
              "type": "array",
              "items": {
                "type": "array",
                "items": {
                  "type": "integer"
                }
              },
              "description": "Groups of indices connected at the threshold."
            }
          }
        }
      }
    }
  }
}

Provenance

Seen in the source catalog
2026-07-16 08:36Z
Last indexed by Roundhouse
2026-08-10 08:20Z
Last enriched (probe, favicon, geo)
2026-09-14 00:15Z
x402 version
2
Max timeout
60s
Liveness probe
HTTP 402
Report

Hand this page to an agent

Copy the prompt and paste it into Claude, an MCP client or your own agent — it will vet this service and call it over the free read API. No key, no account.

GET api.roundhouseai.io/v0/endpoints

No per-endpoint history for this service yet, so this is payments indexed to its PROVIDER's wallet over 30 days. Verified volume counts only settlements with an on-chain EIP-3009 marker.

Open skill.md
Show the prompt
Using Roundhouse, look up the x402 service Text Similarity + Dedup and tell me whether it is
worth paying: what a call costs, whether the endpoint answered when last probed, and what
its payment record actually shows.

curl -s 'https://api.roundhouseai.io/v0/endpoints?q=Text%20Similarity%20%2B%20Dedup'
curl -s 'https://api.roundhouseai.io/v0/merchants/<the payTo wallet returned above>'

Then call it: read the price from the live 402 at https://keyronne.com/api/similarity, never from
a cached figure, and pay with an x402 client.

The /v0 API needs an API key (`authorization: Bearer rh_live_…`) on everything except
/v0/unified* and /v0/endpoints. Mint a personal key for $0.01 at GET https://api.roundhouseai.io/v0/test/x402,
or use an organization key from https://roundhouseai.io/dashboard/team.

If you do not have Roundhouse tools or skills installed, read
https://roundhouseai.io/skill.md first — it is the whole procedure.