{"uid":"cap_vVOnCqafIVm3ao1qo8uqg","slug":"text-statistics-tool-gpt-5-5-x402-gateway-a8b6740e","name":"Text Statistics Tool (GPT-5.5 x402 Gateway)","description":"Analyze text length, words, lines, sentences, paragraphs, bytes, and estimated reading time without calling an upstream model. GET variant for agents, crawlers, and wallets that prefer query parameters over a JSON body. Pay up to $0.0001 per request with x402 USDC on Base.","url":"https://gpt55.558686.xyz/v1/tools/text-stats","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","maxLength":20000,"minLength":1}},"additionalProperties":false}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object","properties":{"ok":{"type":"boolean"},"tool":{"type":"string"},"fetchedAt":{"type":"string"}},"additionalProperties":true}}}}},"responseSchema":null,"example":{"request":{"input":{"type":"http","method":"GET","queryParams":{"text":"Artificial intelligence has rapidly transformed industries across the globe, from healthcare to finance. Machine learning algorithms now power recommendation systems, diagnostic tools, and autonomous vehicles. As AI continues to evolve, organizations must consider both the opportunities and challenges it presents."}}},"response":{"ok":true,"tool":"textStats","bytes":315,"chars":315,"lines":1,"words":40,"fetchedAt":"2026-06-18T06:31:33.541Z","sentences":3,"paragraphs":1,"readingTimeMinutes":0.2}},"exampleRequest":{"text":"Artificial intelligence has rapidly transformed industries across the globe, from healthcare to finance. Machine learning algorithms now power recommendation systems, diagnostic tools, and autonomous vehicles. As AI continues to evolve, organizations must consider both the opportunities and challenges it presents."},"tags":["x402"],"displayCostAmount":"0.0001","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"settled","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"down","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.0001/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.0001","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.0001","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_WPlslM85eynmDapPL1-oI","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.0001","costPer":"request","priority":0,"asset":null,"unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Counts words, lines, bytes, and estimated reading time for a given text input, paid per-call via x402 USDC on Base.","exampleAgentPrompt":"Can you get me the word count, line count, byte size, and estimated reading time for this article text: 'Artificial intelligence has rapidly transformed industries across the globe, from healthcare to finance...'?","exampleUseCases":[{"title":"Reading time for blog post","prompt":"Hey, can you figure out how long it would take someone to read this blog post draft I wrote? Here's the text: 'Remote work has fundamentally changed how teams collaborate, communicate, and build culture together. Over the past five years...' I want to know the reading time and word count before I publish it."},{"title":"Word count for freelance invoice","prompt":"I need to count the exact number of words in this client document so I can calculate my per-word freelance rate. Can you run the stats on this text: 'The company was founded in 2015 with a mission to deliver sustainable packaging solutions to small businesses across North America...'?"},{"title":"Measure essay length before submission","prompt":"Can you check the word count, line count, and byte size of my essay before I submit it? The text is: 'Climate change represents one of the most pressing challenges of our generation, requiring coordinated global action across governments, industries, and communities...' I want to make sure it meets the 500-word minimum."}],"resultDescription":"Returns a JSON object with ok status, tool name ('textStats'), and a summary including word count, line count, byte count, and estimated reading time for the submitted text.","failureModes":["Missing 'text' query parameter returns an error","Text exceeding 20,000 characters is rejected","Payment failure via x402/USDC results in 402 response","Empty text string (minLength:1 violated) returns validation error","Network or gateway timeout for large inputs"],"whenToPreferThis":"Use this endpoint when you need lightweight, deterministic text statistics (word count, lines, bytes, reading time) without spinning up a full NLP pipeline, and want per-call micropayment billing with no subscription. Ideal for agents that need quick content length metrics as part of a larger workflow.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T12:28:13.854Z","isFirstParty":false}