{"uid":"cap_oR_esH6segSSgKVwaVlpk","slug":"whatchuneed-tempest-condense-text-compression-endpoint-dfeea273","name":"Whatchuneed Tempest Condense — Text Compression Endpoint","description":"320+ pay-per-call API endpoints across accommodation, LLM, code execution, crypto, medical, finance, and more. One API, one payment. Powered by x402 protocol.","url":"https://whatchuneed.vercel.app/api/tempest/condense","method":"POST","headers":{},"bodySchema":{"type":"object","required":["text"],"properties":{"text":{"type":"string"},"maxLength":{"type":"integer"}}},"responseSchema":{"type":"object","properties":{"condensed":{"type":"string"},"original_words":{"type":"integer"},"condensed_words":{"type":"integer"},"compression_ratio":{"type":"number"}}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.2","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.2/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.2","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.2","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_xHLLnFLWM_8Ao7H7zw8_y","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.2","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Condenses and compresses input text to a shorter form while preserving meaning, returning the condensed text along with word count statistics and compression ratio.","exampleAgentPrompt":"Can you condense this 800-word blog post for me into something much shorter — maybe around 150 words max — while keeping the main points intact? Here's the text: [paste text here]","exampleUseCases":[{"title":"Shorten long research notes","prompt":"I've got a really long set of research notes here and I need them condensed to under 200 words so I can paste them into a slide deck. Can you compress them for me and tell me how much shorter the result is?"},{"title":"Compress prompt for LLM token limit","prompt":"This system prompt I wrote is way too long and eating up too many tokens. Can you condense it down as much as possible while keeping all the key instructions, and show me the before and after word counts?"},{"title":"Tighten up a draft email","prompt":"I wrote this email to a client but it's way too wordy — can you condense it to something more concise and tell me what the compression ratio ended up being?"}],"resultDescription":"Returns a JSON object containing: 'condensed' (the shortened text as a string), 'original_words' (integer word count of input), 'condensed_words' (integer word count of output), and 'compression_ratio' (float indicating how much the text was reduced, e.g. 0.4 means condensed to 40% of original length).","failureModes":["Missing required 'text' field returns a validation error","Text too long may cause timeouts or truncation without a maxLength cap","Payment failure via x402 protocol returns HTTP 402 before processing begins","Very short input text may yield minimal compression or ratio near 1.0","Non-English text may produce poor condensation quality depending on underlying LLM"],"whenToPreferThis":"Choose this endpoint when you need quantified text compression with explicit word count statistics and a compression ratio, not just a free-form summary. It is well-suited for agentic pipelines that need to measure or log how much content was reduced, enforce length budgets programmatically, or pass condensed content downstream. Prefer it over generic summarization when the numeric metadata (original_words, condensed_words, compression_ratio) is needed, or when you want an optional hard maxLength cap enforced server-side.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T12:45:41.425Z","isFirstParty":false}