{"uid":"cap_ciVsHjeN9JxeZ7WCCDjfp","slug":"sableforge-text-analysis-api-731c886b","name":"SableForge Text Analysis API","description":"12 pay-per-call HTTP APIs settled in USDC on Base via x402 v2. No API keys, no accounts, no signup — $0.0005–$0.0020 per call. Includes a locally hosted 27B LLM endpoint.","url":"https://sableforge.servehttp.com/api/text?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","HEAD","DELETE"],"type":"string"},"queryParams":{"type":"object","properties":{"text":{"type":"string"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":{"type":"json","example":{"bytes":11,"chars":11,"lines":1,"words":2}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.0005","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.0005/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.0005","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.0005","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_4b_tr60-Mhr3uTGTztm-K","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.0005","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 byte count, character count, line count, and word count statistics.","exampleAgentPrompt":"Can you count the words, characters, bytes, and lines in the following text: 'Hello world, this is a test sentence for analysis'?","exampleUseCases":[{"title":"Word count for content submission","prompt":"I need to know exactly how many words and characters are in this paragraph before I submit it: 'The quick brown fox jumps over the lazy dog near the riverbank at sunset.'"},{"title":"Byte size check before storage","prompt":"How many bytes will this string take up: 'Autonomous agents can now pay for APIs using USDC on Base with no signup required.'?"},{"title":"Line count verification for log snippet","prompt":"Tell me how many lines and words are in this log excerpt: 'Error: connection timeout\nRetrying...\nSuccess'"}],"resultDescription":"Returns a JSON object with four numeric fields: bytes (byte size of the input text), chars (character count), lines (number of newline-delimited lines), and words (number of whitespace-separated words).","failureModes":["Missing 'text' query parameter returns an error or empty/zero metrics","Very large text strings may hit URL length limits for GET requests","Non-UTF8 or binary text may produce unexpected byte vs char discrepancies","Payment failure via x402 (insufficient USDC balance) results in HTTP 402 with no analysis performed","Service unavailable if the self-hosted server at servehttp.com is offline"],"whenToPreferThis":"Choose this endpoint when you need a lightweight, pay-per-call text statistics computation with no account setup, especially in autonomous agent workflows already using x402/USDC micropayments on Base. Ideal for quick one-off word/char/byte/line counts without provisioning a full NLP service or managing API keys.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-12T18:37:37.944Z","isFirstParty":false,"canonicalSlug":"sableforge-text-analysis-api-731c886b"}