{"uid":"cap_EMKHrWwynhvrTUJpBIrwA","slug":"agent-dev-tools-text-analyze-205b89b5","name":"Agent Dev Tools – Text Analyze","description":"Fast deterministic developer utilities for AI agents, paid per call in USDC via x402 (no account, no API key): UUID v4/v7, secure random numbers, dice, MD5/SHA/HMAC hashing, base64/hex/URL/HTML encoding, JSON validation/formatting, QR code SVG, password generation, JWT decoding and text statistics. Pure computation, nothing stored. Errors are never charged.","url":"https://agent-dev-tools.frcompanycheck.workers.dev/v1/text/analyze?utm_source=zero.xyz","method":"GET","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method"],"properties":{"type":{"type":"string","const":"http"},"method":{"enum":["GET"],"type":"string"},"queryParams":{"type":"object","required":["text"],"properties":{"text":{"type":"string","example":"Bonjour le monde ! Ceci est un test.","description":"Text to analyze"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":{"type":"json","example":{"slug":"bonjour-le-monde-ceci-est-un-test","words":7,"sentences":2,"characters":36,"approx_llm_tokens":9,"reading_time_seconds":2}},"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_wPQf3yPEGv1_7VWwE3Mja","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":"Analyzes a text string and returns word count, sentence count, character count, approximate LLM token count, reading time, and a URL slug — all computed deterministically per call.","exampleAgentPrompt":"Can you analyze this text for me — 'Bonjour le monde ! Ceci est un test.' — and tell me the word count, sentence count, character count, approximate LLM tokens, reading time, and a URL-friendly slug?","exampleUseCases":[{"title":"Estimate LLM token usage before API call","prompt":"Before I send this paragraph to GPT-4, can you estimate how many LLM tokens it will consume? Here's the text: 'Artificial intelligence is transforming how we work, communicate, and solve problems across every industry.'"},{"title":"Generate SEO slug from article title","prompt":"I need a clean URL slug for my blog post titled 'The Future of Remote Work in 2025: Challenges and Opportunities' — can you generate one?"},{"title":"Compute reading time for newsletter copy","prompt":"How long will it take someone to read this newsletter section? Here's the text: 'Welcome to our monthly update. This month we shipped three new features, fixed a dozen bugs, and onboarded our first enterprise customer. We're excited about what's coming next quarter.'"}],"resultDescription":"Returns a JSON object with: 'slug' (URL-friendly version of the text), 'words' (integer word count), 'sentences' (integer sentence count), 'characters' (integer character count), 'approx_llm_tokens' (estimated LLM token count as integer), and 'reading_time_seconds' (estimated reading time as integer).","failureModes":["Missing 'text' query parameter returns an error (not charged)","Empty string input may return zero counts","Very long texts may hit Cloudflare Worker request size limits","Non-UTF-8 or malformed text may produce unexpected counts"],"whenToPreferThis":"Choose this endpoint when you need fast, cheap, deterministic text statistics (word count, token estimation, slug, reading time) without storing data or requiring an API key — especially useful for pre-processing content before sending to LLMs or publishing to the web. Prefer it over heavyweight NLP APIs when you only need surface-level metrics, not semantic analysis.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-16T06:40:59.997Z","isFirstParty":false,"canonicalSlug":"agent-dev-tools-text-analyze-205b89b5"}