{"uid":"cap_N4tzm-zrbg1fdXB1I1A1q","slug":"saylor-innovations-data-desk-extractive-text-summarizer-21459535","name":"Saylor Innovations Data Desk – Extractive Text Summarizer","description":"Extractive summary of a text - the most representative sentences by word frequency in original order, with scores, compression ratio and top terms","url":"https://saylorinnovations.com/api/text/summary?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":{"text":{"type":"string","description":"Text to summarise, 200-5000 characters"},"sentences":{"type":"string","description":"optional 1-10, default 3"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string","const":"json"},"example":{"type":"object","required":["summary","key_sentences"],"properties":{"note":{"type":"string","description":"Caveat or context for reading the result"},"source":{"type":"string","description":"Data source the values come from"},"summary":{"type":"string","description":"Short summary"},"top_terms":{"type":"array","description":"Top terms"},"key_sentences":{"type":"array","items":{"type":"object","properties":{"score":{"description":"Score from 0 (worst) to 100 (best)"},"position":{"type":["number","null"],"description":"Position of the sentence in the original text"},"sentence":{"type":["string","null"],"description":"The selected sentence"}}},"description":"Key sentences"},"compression_ratio":{"type":"number","description":"Compression ratio"},"sentences_in_text":{"type":"number","description":"Sentences in text"},"sentences_selected":{"type":"number","description":"Sentences selected"}}}}}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.01","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.01/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_PYgpcvtbz333rjFc0nlOa","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.01","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns the most representative sentences from a text using word-frequency scoring, in original order, with scores, compression ratio, and top terms","exampleAgentPrompt":"Can you summarize this article for me and pull out the 5 most important sentences? Here's the text: 'Artificial intelligence is transforming industries at an unprecedented rate. Companies across sectors are investing heavily in machine learning research. Early adopters are reporting significant productivity gains, though challenges around data privacy and model bias remain. Regulators in Europe and North America are drafting new frameworks to govern AI deployment. Experts predict that within five years, most knowledge work will involve AI assistance in some form.'","exampleUseCases":[{"title":"Research abstract compression","prompt":"Here's a 1,200-word academic paper abstract — can you pull out the 4 most representative sentences by word frequency so I can quickly grasp the core findings?"},{"title":"News article quick digest","prompt":"I've got this long news article about EU climate policy — give me an extractive summary with the top 3 key sentences, their scores, and the most common terms used."},{"title":"Meeting notes distillation","prompt":"Here are the raw notes from our team meeting — extract the 5 most important sentences in their original order so I can paste them into the recap email."}],"resultDescription":"A JSON object containing a short summary string, an array of key sentences each with its score (0–100) and original position in the text, the total number of sentences in the source text, the number selected, a compression ratio, and an array of top terms by frequency.","failureModes":["Text shorter than 200 characters or longer than 5000 characters returns a validation error","Sentences parameter outside 1–10 range returns an error","Missing required 'text' query parameter returns a 400 bad request","Non-text or binary content passed as text may produce meaningless output","Payment not included or rejected returns a 402 Payment Required"],"whenToPreferThis":"Choose this endpoint when you need fast, deterministic extractive summarization — selecting actual sentences from the source text rather than generating new ones. Ideal when fidelity to the original wording matters, when you want scored and ranked sentences for further filtering, or when you need compression metrics. Prefer over abstractive summarizers when hallucination risk is unacceptable.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-18T12:56:38.862Z","isFirstParty":false,"canonicalSlug":"saylor-innovations-data-desk-extractive-text-summarizer-21459535"}