{"slug":"api-kakerapetit-dev-v1-text-similarity-66626a","title":"Compute similarity between two texts","host":"api.kakerapetit.dev","method":"POST","resource":"https://api.kakerapetit.dev/v1/text/similarity","category":"other","description":"Compute similarity between two texts. Returns Jaccard, Dice, cosine and overlap scores for two strings. Use to deduplicate documents, match names or titles, and detect near-identical text.","price_listed":0.002,"price_asked":0.002,"state":"answering","state_label":"Answering","checks_7d":1,"answered_7d":1,"latency_ms_median":1005,"reported_calls_30d":8,"reported_payers_30d":4,"networks":["eip155:8453"],"badge":"unverified","paid_checks_7d":0,"paid_ok_7d":0,"example_input":{"body":{"text_a":"The quick brown fox jumps over the lazy dog","text_b":"A quick brown fox jumped over a lazy dog"},"bodyType":"json","method":"POST","type":"http"},"output_schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"properties":{"text_a":{"description":"First text to compare.","type":"string"},"text_b":{"description":"Second text to compare.","type":"string"}},"required":["text_a","text_b"]},"bodyType":{"enum":["json","form-data","text"],"type":"string"},"method":{"enum":["POST"],"type":"string"},"type":{"const":"http","type":"string"}},"required":["type","method","bodyType","body"],"type":"object"},"output":{"properties":{"example":{"type":"object"},"type":{"type":"string"}},"required":["type"],"type":"object"}},"required":["input"],"type":"object"},"history":[{"day":"2026-09-24","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.002,"price_match":true,"latency_ms":1005,"error":null}],"description_full":"Compute similarity between two texts. Returns Jaccard, Dice, cosine and overlap scores for two strings. Use to deduplicate documents, match names or titles, and detect near-identical text.","last_updated":"2026-09-21T00:30:32.145Z","schemes":["exact"]}