{"uid":"cap_0BMn2wwBXy6GMq28j4Fun","slug":"text-summarizer-api-8fa08671","name":"Text Summarizer API","description":"Exact EVM address, calldata, Uniswap V2/V3 and impermanent-loss math. Pay per call in USDC on Base via x402.","url":"https://golf-evm-math.x402-evm-math.workers.dev/ai/summarize?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method","bodyType","body"],"properties":{"body":{"properties":{}},"type":{"type":"string","const":"http"},"method":{"enum":["POST"],"type":"string"},"bodyType":{"enum":["json","form-data","text"],"type":"string"}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":{"type":"json","example":{"summary":"Uniswap V3 lets LPs concentrate liquidity in ranges for higher fees but more risk."}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.005","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.005/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_c4bgLBSZbUybzXkCZec5k","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.005","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Summarizes long text into a faithful short summary using Llama 3.1 8B, with a configurable maximum word count.","exampleAgentPrompt":"Can you summarize the following article in no more than 80 words? [paste of long article text]","exampleUseCases":[{"title":"Research paper quick digest","prompt":"I have this 3,000-word research paper — can you condense it into a faithful summary of no more than 100 words so I can decide if it's worth reading in full?"},{"title":"SEC filing plain-English summary","prompt":"Summarize this SEC 8-K filing text in under 60 words so I can quickly understand what the company announced."},{"title":"Meeting notes condensed for email","prompt":"Here are my raw meeting notes from today — can you boil them down to a clean summary of 50 words or fewer that I can paste into a follow-up email?"}],"resultDescription":"A JSON object containing a 'summary' field with a concise, faithful plain-text summary of the input text, constrained to the requested maximum word count. The summary preserves the key meaning and facts from the original content.","failureModes":["Missing or empty 'input' body returns a validation error","Text too long for context window may be truncated or error","max_words not respected precisely — model may slightly exceed the limit","No internet access for real-time content; raw text must be provided","Model hallucination risk on ambiguous or complex source text","Payment failure (402) if USDC balance is insufficient"],"whenToPreferThis":"Choose this endpoint when you need a fast, low-cost text summarization with a word-count constraint and don't want to manage your own LLM inference. Ideal for agents processing documents, filings, or articles where a faithful condensed version is needed. The Llama 3.1 8B model offers good quality for general summarization at $0.005 per call — significantly cheaper than GPT-4-class APIs for bulk summarization tasks.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-30T15:39:29.749Z","isFirstParty":false,"canonicalSlug":"text-summarizer-api-8fa08671"}