{"uid":"cap_HiDfQZYc5kLk4CuF0AXXy","slug":"agent-extraction-api-text-summarizer-f302366e","name":"Agent Extraction API – Text Summarizer","description":"Invoice-to-JSON, on-chain tools (transaction explainer + payment check, wallet profile, contract ABI, ERC-20 token risk), company contacts and web-to-RAG for AI agents. Pay per call with x402 (USDC on Base). No signup, no API key.","url":"https://freetier-agent-api.pages.dev/api/summarize?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":{"lang":{"type":"string","description":"optional output language"},"text":{"type":"string","description":"text to summarize (max 12,000 chars)"},"style":{"enum":["bullets","paragraph"],"type":"string"},"max_words":{"type":"string","description":"20-250, default 80"}}}}},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":{"type":"json","example":{"style":"bullets","summary":"- Q3 revenue $562M, +28% YoY\n- 3,000 new large customers\n- Full-year guidance raised"}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.004","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.004/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.004","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.004","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_MFf-9raWuJDvKpOUEvNE_","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.004","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Summarizes up to 12,000 characters of text into 3–6 bullet points or a single paragraph using a small LLM (Llama 3.1 8B), with optional output language and word count control.","exampleAgentPrompt":"Can you summarize the following article into 4–5 bullet points, max 120 words, in English: [paste article text here]?","exampleUseCases":[{"title":"Earnings call digest for analyst","prompt":"Summarize this earnings call transcript into 5 bullet points, max 150 words — just the key financial highlights, no fluff: [transcript text]"},{"title":"Multilingual news brief","prompt":"Take this English news article and summarize it into a short paragraph of about 80 words in Spanish: [article text]"},{"title":"Meeting notes condensed","prompt":"I have these meeting notes — can you condense them into 3–6 bullet points, max 100 words, so I can share a quick recap with the team? [meeting notes text]"}],"resultDescription":"A JSON object containing the chosen style ('bullets' or 'paragraph') and the generated summary string — e.g. a newline-separated list of bullet points or a concise prose paragraph, derived strictly from the input text.","failureModes":["Input text exceeds 12,000 characters — request rejected or truncated","max_words value outside 20–250 range — may return error or use default","LLM inference timeout on Cloudflare Workers AI — returns 5xx error","Invalid style enum value — may return default or error","Empty or missing 'text' query parameter — returns 400 bad request","Non-text or binary input — LLM produces nonsensical output"],"whenToPreferThis":"Choose this endpoint when you need a fast, cheap ($0.004/call), facts-only summary of a text block up to 12,000 characters, especially when output language control or bullet-vs-paragraph style selection is needed. Prefer it over larger LLM-based summarizers when cost and latency matter more than nuanced reasoning. Not suitable for documents longer than 12,000 characters or when summarization must cite sources or perform multi-document synthesis.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-11-01T06:56:16.425Z","isFirstParty":false,"canonicalSlug":"agent-extraction-api-text-summarizer-f302366e"}