{"uid":"cap_djL9Js0oLkzbDfKjK14YR","slug":"autocash-text-metrics-605d02db","name":"Autocash Text Metrics","description":"Deterministic text metrics: counts, Flesch readability, word frequency","url":"https://autocash-text-metrics.benjamindorey.workers.dev/v1/metrics","method":"GET","headers":{},"bodySchema":{"properties":{"input":{"type":"object","required":["type","method"],"properties":{"type":{"type":"string","const":"http"},"method":{"enum":["GET"],"type":"string"}},"additionalProperties":false}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.001","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.001/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_Hukem5C5ki82MK7_2rKlj","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.001","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns deterministic text metrics including character/word/sentence counts, Flesch readability score, and word frequency distribution for a given text input.","exampleAgentPrompt":"Can you get the readability score, word count, and top word frequencies for this paragraph: 'The quick brown fox jumps over the lazy dog. Simple sentences help readers understand content faster.'?","exampleUseCases":[{"title":"Content readability audit for blog","prompt":"Analyze this blog post draft and tell me its Flesch readability score, total word count, and which words appear most often: 'Writing clearly is a skill. Good writers use short sentences. They avoid jargon when possible. Readers appreciate simplicity.'"},{"title":"Academic paper complexity check","prompt":"Run text metrics on this abstract from my research paper — I need the sentence count, Flesch readability score, and word frequency breakdown to see if it's too dense for a general audience."},{"title":"SEO keyword density analysis","prompt":"Give me the word frequency distribution and total word count for this landing page copy so I can check my keyword density and reading level before publishing."}],"resultDescription":"Returns a structured object containing deterministic counts (words, characters, sentences), a Flesch readability score (0–100 scale indicating ease of reading), and a word frequency map listing each unique word and how many times it appears in the input text.","failureModes":["Empty or missing text input returns an error or zeroed metrics","Extremely long text may hit Cloudflare Worker request size limits","Non-UTF-8 or binary input may produce incorrect counts","GET method required; sending POST or other methods returns a method-not-allowed error","No text body provided returns an error response"],"whenToPreferThis":"Choose this endpoint when you need fast, deterministic, reproducible text statistics — word count, sentence count, Flesch readability score, and word frequency — without any AI inference or probabilistic output. Ideal for pipelines that require consistent results on repeated calls with the same text, such as content auditing workflows, SEO analysis, or automated readability gating. Prefer over LLM-based analysis when accuracy, cost-efficiency ($0.001/call), and determinism matter more than nuanced interpretation.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T18:30:22.905Z","isFirstParty":false}