{"uid":"cap_g3vDRbdyAq1wL1Fsx_w7I","slug":"delx-keyword-density-a91a7308","name":"Delx Keyword Density","description":"Measure keyword density inside caller-supplied text — call when measuring keyword density in held text. Use on text/URLs the agent already holds—adjacent to high-volume extract demand, never advertised as general web or X search. Returns deterministic machine-readable JSON for $0.003 USDC via x402 on Base. Execution is first-party, local-only, stateless, and memory-only with no paid upstream, no input retention, and no claim of live chain tip, web search, or media generation. Results are adviso…","url":"https://api.delx.ai/api/v1/x402/keyword-density","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"text":{"type":"string","description":"UTF-8 text to encode, chunk, index, or analyze (caller-supplied only)."},"keywords":{"type":"array","description":"Keywords or phrases to measure inside the supplied text."}}},"responseSchema":{"type":"json","example":{"schema":"delx/util-keyword-density/v1","keywords":[{"count":2,"keyword":"agent","density_percent":40},{"count":1,"keyword":"commerce","density_percent":20}],"word_count":5}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.003","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.003/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.003","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.003","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_7XxD9eke6uifkLxzouLHP","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.003","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Measures the density of specified keywords or phrases within caller-supplied text, returning machine-readable JSON results.","exampleAgentPrompt":"Can you measure the keyword density of 'machine learning' and 'neural network' in this article text I have: 'Machine learning models have transformed how neural networks are trained. Neural network architectures vary widely...'?","exampleUseCases":[{"title":"SEO content saturation check","prompt":"I've written a blog post and I want to know how densely the keywords 'cloud storage' and 'data backup' appear throughout it — can you calculate their density in this text: [article text]?"},{"title":"Academic keyword frequency audit","prompt":"Can you analyze how frequently the terms 'climate change', 'global warming', and 'carbon emissions' appear in this research excerpt I'm reviewing, and give me their density percentages?"},{"title":"Spam filter keyword ratio check","prompt":"Check the keyword density of 'buy now', 'free offer', and 'click here' in this email body text — I need to know if the ratios are high enough to trigger spam filters."}],"resultDescription":"Returns a deterministic JSON object containing per-keyword density metrics — including occurrence counts, frequency ratios, and density percentages — for each keyword or phrase measured against the supplied text. Results are stateless and advisory.","failureModes":["Empty or missing text field returns an error or zero results","Empty keywords array returns no density metrics","Extremely short text may produce unreliable or zero density values","Very long text inputs may hit payload size limits","Malformed JSON request body returns a 400-level error"],"whenToPreferThis":"Choose this endpoint when you already hold the text and need a fast, deterministic, stateless measurement of keyword frequency and density. It is ideal for SEO audits, content quality checks, spam analysis, or any NLP pipeline step that requires knowing how prominently specific terms appear in a document. It does not fetch URLs or search the web — the caller must supply the text directly.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-13T18:55:58.651Z","isFirstParty":false}