# Text Analysis Tools Readability formulas, language guess, keywords, text similarity and diff, case conversion, SMS and tweet length limits. ## How to pay Machine-payable over x402. USDC on: Base (eip155:8453), Solana (solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp), Polygon (eip155:137), Arbitrum One (eip155:42161). No accounts. No API keys. No signup. The paying wallet is the account. ## Machine-readable - OpenAPI: https://text-metrics.x402tookit.com/openapi.json - x402 manifest: https://text-metrics.x402tookit.com/.well-known/x402 - Catalog (free): https://text-metrics.x402tookit.com/catalog - Health (free): https://text-metrics.x402tookit.com/health - Uptime (free): https://text-metrics.x402tookit.com/uptime ## Endpoints (7) ### GET /case-convert — $0.02 Convert text to camelCase, PascalCase, snake_case, kebab-case, CONSTANT_CASE, Title Case, sentence case and a URL slug. Params: text: string Example: https://text-metrics.x402tookit.com/case-convert?text=Hello%2C+World%21+parseHTTPResponse_v2 ### GET /keyword-extract — $0.02 Top keywords and two-word phrases in an English text by frequency after removing stopwords, with counts and share. Params: text: string, n?: integer Example: https://text-metrics.x402tookit.com/keyword-extract?text=Solar+panels+convert+sunlight+into+electricity.+Solar+energy+is+clean%2C+and+solar+panels+last+decades.+Battery+storage+makes+solar+energy+available+at+night.&n=6 ### GET /language-guess — $0.02 Guess whether text is English, Spanish, French, German, Italian, Portuguese, Dutch or Swedish, with a confidence margin. Params: text: string Example: https://text-metrics.x402tookit.com/language-guess?text=El+gato+est%C3%A1+en+la+casa+y+la+ni%C3%B1a+come+pan+con+mantequilla. ### GET /length-limits — $0.02 Check text against SMS segments (GSM-7 vs Unicode), tweet weight, meta description, title tag and push notification limits. Params: text: string Example: https://text-metrics.x402tookit.com/length-limits?text=Your+order+%234821+has+shipped%21+Track+it+at+https%3A%2F%2Fexample.com%2Ft%2F4821+-+thanks+for+shopping+with+us. ### GET /readability — $0.02 Readability of English text by Flesch ease, Flesch-Kincaid, Gunning fog, SMOG, Coleman-Liau and ARI, with a consensus grade. Params: text: string Example: https://text-metrics.x402tookit.com/readability?text=The+cat+sat+on+the+mat.+It+was+a+warm+day%2C+and+the+cat+was+happy+to+rest+in+the+sun. ### GET /text-diff — $0.02 Word-level diff of two texts: words added, removed and kept, the changed spans, and a percent changed. Params: old: string, new: string Example: https://text-metrics.x402tookit.com/text-diff?old=The+quick+brown+fox+jumps+over+the+lazy+dog.&new=The+quick+red+fox+leaps+over+the+lazy+dog+today. ### GET /text-similarity — $0.02 Similarity of two texts by edit distance, word overlap (Jaccard) and cosine, with a same, similar or different verdict. Params: a: string, b: string Example: https://text-metrics.x402tookit.com/text-similarity?a=kitten&b=sitting ## Terms Text analysis is computed locally on the text you send using standard formulas and word lists, provided as is. Heuristics such as language guessing and keyword extraction can be wrong on short or mixed-language text. Do not send secrets or personal data in a query string.