# Api

> Compare text using deterministic, case-insensitive bag-of-words token-overlap similarity for lexical duplicate screening. Lowercase each input and tokenize with Python Unicode regex \w+ (letters, digits and underscores). Count repeated tokens. Similarity = sum(min(count_a(token),count_b(token))) / max(words_a,words_b,1), rounded to four decimal places. Returns exactly similarity in [0,1], words_a and words_b. Word order and punctuation are ignored; both token-empty inputs score 0, even when equal. Does not measure semantic similarity, Levenshtein edit distance, cosine similarity, or produce a text diff. POST application/json with a and b. Limit: 50000 input Unicode characters per request; for comparison, the lengths of a and b are added. Empty strings are accepted. Extra JSON properties ar

- **Domain**: `api.pay-forge.online`
- **Provider**: api.pay-forge.online (https://api.pay-forge.online/)
- **Kind**: paid_api
- **Live-responds (last probe)**: None
- **Signed card**: False
- **Streaming**: False
- **Quality score**: 70%
- **Payment protocol**: x402 · network `eip155:8453` · ≥ $0.004
- **Wallet**: `0xd8dd9fc8c143207ddbe84e1e9237f11a69814cb5`

## URLs
- Agent card: https://api.pay-forge.online/
- Page (HTML): https://agenstry.com/agents/api.pay-forge.online
- Documentation: https://api.pay-forge.online/v1/compare-text
