{"uid":"cap_DrXI9kfSRpbPa2xWYNw8k","slug":"netintel-dev-text-summarize-79d5751f","name":"netintel.dev Text Summarize","description":"Text summarizer / summarization API — condense text, Markdown, or a URL into a TL;DR plus key bullet points using Claude Haiku. Accepts raw text or a URL (fetched and extracted), enforces an input cap, and returns a clean structured summary so agents can compress documents and articles in one call.","url":"https://netintel.dev/text-summarize","method":"POST","headers":{},"bodySchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"input":{"type":"object","properties":{"type":{"type":"string","const":"http"},"method":{"type":"string","enum":["POST"]},"bodyType":{"type":"string","enum":["json","form-data","text"]},"body":{"type":"object","properties":{"text":{"type":"string","description":"Raw text to summarize. Provide exactly one of text or url. Max 10000 words or 50KB."},"url":{"type":"string","description":"URL to fetch, extract readable text from, and summarize. Provide exactly one of text or url. The page must yield ≥50 words of extractable paragraph text (fetch capped at 500KB/10s) — thin or JS-rendered pages 400 without charging."},"max_points":{"type":"number","description":"Number of key bullet points to return (default 5, max 10)."}}}},"required":["type","method","bodyType","body"],"additionalProperties":false},"output":{"type":"object","properties":{"type":{"type":"string"},"example":{"type":"object","properties":{"source":{"type":"string","description":"text or url"},"summary":{"type":"string","description":"Concise 2-4 sentence summary"},"key_points":{"type":"array","items":{"type":"string"},"description":"Key bullet points extracted from the content"},"original_word_count":{"type":"number","description":"Word count of the input content"},"summary_word_count":{"type":"number","description":"Word count of the generated summary"},"compression_ratio":{"type":"number","description":"summary_word_count / original_word_count, rounded to 2 decimals"},"score":{"type":"number","description":"Quality score 0-100"},"grade":{"type":"string","description":"Letter grade A-F"},"findings":{"type":"array","description":"Reserved — currently always [] on success"}}}},"required":["type"]}},"required":["input"]},"responseSchema":{"type":"json","example":{"grade":"A","score":100,"source":"text","summary":"The James Webb Space Telescope captured its deepest infrared image yet, revealing thousands of galaxies. Known as Webb's First Deep Field, it shows galaxy cluster SMACS 0723 acting as a gravitational lens to magnify far more distant galaxies. The image will help astronomers study galaxy formation in the early universe.","findings":[],"key_points":["Webb captured its deepest infrared image to date","The image shows galaxy cluster SMACS 0723 as it appeared 4.6 billion years ago","The cluster's mass acts as a gravitational lens magnifying distant galaxies","It will aid the study of early-universe galaxy formation"],"compression_ratio":0.67,"summary_word_count":52,"original_word_count":78}},"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_2AEids_TiFXntvmi-PE8L","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 a block of text into a concise, graded summary with key points, compression ratio, and word counts","exampleAgentPrompt":"Can you summarize this article for me and pull out the key points: 'The James Webb Space Telescope has completed its first year of science operations, delivering breakthroughs across exoplanet atmospheres, the early universe, and stellar nurseries. Scientists say the data has already overturned several long-held assumptions about galaxy formation.'","exampleUseCases":null,"resultDescription":"Returns a JSON object with a letter grade (A-F), numeric score (0-100), the source label, a concise prose summary, an array of key points, a findings array, the compression ratio, summary word count, and original word count.","failureModes":["Empty or missing text body returns a 400 error","Text too short to meaningfully summarize may return a low-quality or trivial summary","Payment not included or insufficient USDC triggers a 402 Payment Required response","Very long texts may exceed token limits and return a truncation or error response","Non-English or mixed-language input may degrade summary quality"],"whenToPreferThis":"Choose this endpoint when you need a quick, graded prose summary with structured key points and compression metrics from arbitrary text. Prefer it over generic LLM summarization when you want a consistent JSON schema including grade, score, and compression ratio, and when cost-per-call micropayment pricing is acceptable.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T12:58:20.945Z","isFirstParty":false}