{"uid":"cap_jKzBqicWQzmSegzxbcW0w","slug":"text-to-html-ratio-decision-a0e75b11","name":"Text-to-HTML Ratio Decision","description":"Text-to-HTML ratio decision fetches current public evidence from the supplied target and evaluates the documented criterion. It returns the observation, threshold, verdict, exact evidence source, limitations and a mode-specific action. The check is passive: no login attempt, payload injection, exploit, purchase, form submission or load test is performed.","url":"https://webtechnik.halowerk.com/v1/text-html-ratio-decision?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"target":{"type":"string","maxLength":2048,"minLength":3,"description":"Public HTTP(S) URL or domain to inspect. A bare domain is normalized to HTTPS."},"context":{"type":"object","description":"Optional non-secret correlation labels returned unchanged only in the request lifecycle.","maxProperties":12,"additionalProperties":{"type":["string","number","boolean","null"]}},"baseline":{"type":["object","null"],"description":"Optional baseline returned by a previous snapshot call.","additionalProperties":true},"compare_url":{"type":"string","maxLength":2048,"minLength":3,"description":"Optional public comparison URL. Used by change and monitoring services."}}},"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__TV6M5jJp7MJSQTJ8QV2n","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":"Passively fetches a public URL and evaluates whether its text-to-HTML ratio meets an accepted threshold, returning an observation, verdict, evidence source, limitations, and recommended action.","exampleAgentPrompt":"Can you check the text-to-HTML ratio for https://example.com and tell me whether it passes the standard threshold, with the actual observation and what I should do about it?","exampleUseCases":[{"title":"SEO content density audit","prompt":"Run a text-to-HTML ratio check on https://myblog.com and tell me whether the ratio passes, what the actual measured value is, and what I should fix if it fails."},{"title":"Pre-launch site quality gate","prompt":"Before we go live, can you evaluate the text-to-HTML ratio on https://staging.myapp.io and give me a verdict along with any recommended actions if it doesn't meet the threshold?"},{"title":"Competitor content comparison","prompt":"Check the text-to-HTML ratio on https://competitor.com and compare it against https://mysite.com — I want to know which one has a better content-to-markup balance and what the verdicts are."}],"resultDescription":"Returns an observation of the measured text-to-HTML ratio, the accepted threshold, a pass/fail verdict, the exact evidence source (the fetched URL), any limitations of the passive check, and a mode-specific recommended action to remediate or confirm the finding.","failureModes":["Target URL is unreachable or returns a non-200 status — check will fail with no observation","Target is behind authentication or a paywall — passive check cannot access content","Highly JavaScript-rendered pages may yield inaccurate ratios since only static HTML is fetched","Malformed or non-HTTP(S) URL input causes validation error","Very large pages may hit fetch timeouts or size limits"],"whenToPreferThis":"Use this endpoint when you need a lightweight, passive, single-criterion verdict on whether a public webpage's text-to-HTML ratio meets an established threshold — without crawling, login, or side effects. Prefer it over a full site audit when you only need this specific metric, or as part of a checklist-style pipeline that assembles individual quality signals. It is especially useful in CI/CD pre-launch gates, SEO content checks, or agent-driven monitoring loops for content density regressions.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-11-17T00:36:04.601Z","isFirstParty":false,"canonicalSlug":"text-to-html-ratio-decision-a0e75b11"}