{"uid":"cap_U6VhRnCXXT_9T6SKXrGUU","slug":"delx-word-count-ff118bfb","name":"Delx Word Count","description":"Count words, characters, lines and paragraphs for $0.001 USDC. Call when you need this bounded result without an API key or subscription. Returns machine-readable JSON via x402 on Base or Solana. Limitation: results cover only the supplied input or one bounded public endpoint at request time; callers must verify before acting.","url":"https://api.delx.ai/api/v1/x402/word-count","method":"POST","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input","output"],"properties":{"input":{"type":"object","required":["type","bodyType","body"],"properties":{"body":{"type":"object","additionalProperties":true},"type":{"type":"string","const":"http"},"method":{"enum":["POST","PUT","PATCH"],"type":"string"},"bodyType":{"enum":["json","form-data","text"],"type":"string"}},"additionalProperties":false},"output":{"type":"object","required":["type","example"],"properties":{"type":{"type":"string","const":"json"},"example":{"type":"object","additionalProperties":true}}}}},"responseSchema":{"type":"json","example":{}},"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_msXkUdpyXkoMdhees2prr","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":"Counts words, characters, lines, and paragraphs in submitted text for $0.001 USDC per call.","exampleAgentPrompt":"Can you count the words, characters, lines, and paragraphs in this text: 'The quick brown fox jumps over the lazy dog. It was a bright cold day in April.'?","exampleUseCases":[{"title":"Check essay word count before submission","prompt":"I need to know exactly how many words, characters, and paragraphs are in this essay draft before I submit it — here's the text: 'Technology has transformed modern society in profound ways. From smartphones to artificial intelligence, our daily lives are shaped by digital innovation. Yet with these advances come new challenges around privacy, equity, and human connection. We must navigate these changes thoughtfully to ensure technology serves humanity rather than the reverse.'"},{"title":"Validate article length for publishing","prompt":"Can you count the words and lines in this article excerpt so I can confirm it meets the 500-word minimum for our blog? Here's the content: 'Artificial intelligence is reshaping the job market at an unprecedented pace. Automation tools once reserved for manufacturing are now entering white-collar professions. Writers, analysts, and even lawyers are finding that AI can replicate portions of their work with surprising accuracy.'"},{"title":"Measure social caption character count","prompt":"Count the characters and words in this caption I'm drafting so I know if it fits within platform limits: 'Excited to announce our new product launch happening this Friday! Join us live at 3pm EST for an exclusive first look. Tag a friend who needs to see this.'"}],"resultDescription":"Returns a breakdown of the submitted text including total word count, character count (with and/or without spaces), line count, and paragraph count as numeric values.","failureModes":["Empty or missing text body returns an error","Text too large may exceed payload limits","Payment failure or insufficient USDC balance prevents processing","Malformed request body returns a 400 error","Network timeout on very large text inputs"],"whenToPreferThis":"Choose this endpoint when you need a fast, inexpensive, per-call text metric computation (words, characters, lines, paragraphs) without setting up a full NLP pipeline. Ideal for agents that need to validate content length, enforce word limits, or report document statistics on-demand with micropayment-per-use billing.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-16T12:43:27.199Z","isFirstParty":false}