← Back to directory

Longest common subsequence and longest common substring of two texts, with their...

https://text-similarity.x402tookit.com/lcs

Overview

Longest common subsequence and longest common substring of two texts, with their lengths and a 0 to 1 ratio.

Protocol x402
Price $0.02
Payment Asset USD Coin
Payment Network eip155:8453
Category uncategorized
Provider Text Similarity
Source bazaar
Indexed 2026-10-20 21:22:34

Health

Status healthy
Latency (p50) 561ms
Uptime (30d) 87.5%
Reliability Score 83.8/100
Last Checked 2026-10-28 06:44:55
Last Healthy 2026-10-28 06:44:55
Consecutive Failures 0

x402 Payment Validation

Payment Requirements Valid
Asset Verified Known USDC
Facilitator —

Input Schema

{ "method": "GET", "queryParams": { "a": "AGGTAB", "b": "GXTXAYB" }, "type": "http" }

Output Schema

{ "example": { "asOf": "2026-10-12T00:50:07.672Z", "degraded": false, "disclaimer": "Screening signal computed from the named public source. Not financial, legal or investment advice; provided as is. Verify at the source before acting.", "ignoreCase": false, "lengthA": 6, "lengthB": 7, "notChecked": [ "when several longest answers tie, only one is returned (the earliest in the first text for the substring)", "meaning: shared characters are not shared ideas", "…1 more" ], "ratio": 0.5714, "reasons": [ "Ratio is subsequence length divided by the longer text's length." ], "source": "computed locally (classic dynamic programming)", "subsequence": "GTAB", "subsequenceLength": 4, "substring": "A", "substringLength": 1, "substringStartA": 0, "substringStartB": 4, "summary": "Longest common subsequence 4 (\"GTAB\"), longest common substring 1 (\"A\").", "verdict": "SHARED" }, "type": "json" }