{"uid":"cap_ftRgywZ_OdDgopFJJKojn","slug":"agentindex-x402-summarize-6c2286ce","name":"AgentIndex x402 Summarize","description":"Process the files and content an agent gives you. Nothing else. A pay-per-call kit for AI agents in USDC on Base (x402/MPP): pdf, web-read, extract, summarize, and the free detect-language entry point - see GET /capabilities. Plus two tools outside the kit: translate and jobs.","url":"https://x402.agentindex.world/summarize","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"url":{"type":"string","description":"URL to fetch and summarize. Provide exactly one of url, text or html."},"html":{"type":"string","description":"Raw HTML to summarize. Provide exactly one of url, text or html."},"text":{"type":"string","description":"Raw text to summarize. Provide exactly one of url, text or html."},"length":{"enum":["short","medium","long"],"type":"string","description":"Requested summary length - short (~2 sentences), medium (~1 paragraph), long (~3-4 paragraphs). Defaults to medium."}}},"responseSchema":{"type":"json","example":{"length":"short","sources":["https://example.com/photosynthesis"],"summary":"The article explains how photosynthesis converts light energy into chemical energy in plants."}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.03","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.03/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.03","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.03","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_ziXSVl9r-tFfafLDQXOLK","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.03","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Fetches and summarizes a URL, raw HTML, or plain text into a concise summary of configurable length","exampleAgentPrompt":"Can you give me a short summary of the article at https://example.com/article — just two sentences will do.","exampleUseCases":[{"title":"Quick news article digest","prompt":"Summarize this news article for me in one short paragraph: https://www.bbc.com/news/world-us-canada-12345678"},{"title":"Research paper overview","prompt":"Give me a long summary of the content at https://arxiv.org/abs/2301.00000 — I want about 3-4 paragraphs covering the key findings."},{"title":"Paste text for condensing","prompt":"Here's a big block of text I copied from a report — can you condense it into a medium-length summary? [long pasted text here]"}],"resultDescription":"A JSON object containing the generated summary string, the requested length label (short/medium/long), and a list of source URLs that were fetched and summarized.","failureModes":["URL is unreachable or returns non-200 status — endpoint may return an error or empty summary","Paywalled or login-gated URLs may yield incomplete or no content","Extremely long documents may be truncated before summarization","Providing more than one of url/text/html simultaneously is invalid and will return an error","Empty or near-empty input content produces a trivially short or error summary"],"whenToPreferThis":"Choose this endpoint when you need to turn a URL, raw HTML, or a blob of text into a human-readable summary of configurable length (short/medium/long), especially in an agent pipeline that pays per call in USDC via x402. Prefer it over general LLM summarization when you want a dedicated, pay-per-use microservice that also returns cited source URLs and handles web fetching automatically.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-16T00:43:19.285Z","isFirstParty":false}