Text summarization API: pick the key sentences (extractive)

Updated 2026-10-08

Use when an agent needs the most central sentences of a long text, quoted verbatim.

From an MCP client, add https://tanod.dev/mcp and call text_summarize; its free daily calls are applied automatically, no key or signup.

Get a short summary of an article, a ticket thread or meeting notes without an LLM and without hallucination risk. The endpoint ranks sentences by LexRank centrality and returns the top ones verbatim, in their original order. In the example, the off-topic sentence about the cat is dropped.

Request

curl, using the free tier
curl -s -X POST https://tanod.dev/v1/text/summarize \
  -H 'content-type: application/json' -H 'X-Tanod-Free: 1' \
  -d '{"text": "Solar panels convert sunlight into electricity. My cat likes milk. Electricity from solar power reduces emissions. Panels work best in direct sunlight. Solar power is growing fast.", "sentences": 2}'

Response

Response (from the live code, trimmed)
{
  "summary": "Solar panels convert sunlight into electricity. Electricity from solar power reduces emissions.",
  "sentences": [
    {
      "index": 0,
      "text": "Solar panels convert sunlight into electricity.",
      "score": 1.7093
    },
    {
      "index": 2,
      "text": "Electricity from solar power reduces emissions.",
      "score": 1.3202
    }
  ],
  "sentences_total": 5,
  "sentences_selected": 2,
  "method": "lexrank"
}

How it compares

Other pay-per-call summarizers that the Agent402 router returned for "summarize a text" on 13 October 2026, with their listed price per call:

Those are generative: a language model writes new sentences. This route costs USD 0.003 and is extractive: it returns the most central sentences of your text unchanged (LexRank), so every sentence in the summary is a quote you can find in the source and nothing is invented. Choose a generative one when you need a rewrite or a different length or tone. Prices are as listed on that date and change; check each 402.

Limits and caveats

Price and free allowance

USD 0.003 per call, paid in USDC on Base, Polygon, Solana, BNB Chain or Arbitrum with x402. 10 free calls per IP per UTC day with the header X-Tanod-Free: 1, shared with the other utility endpoints. MCP tool: text_summarize at https://tanod.dev/mcp (or the focused text server at https://tanod.dev/mcp/text), where the free tier is automatic. No signup and no API key.

Use it from Claude without writing code: in claude.ai or Claude Desktop, add https://tanod.dev/mcp/text?via=text-summarization-api as a custom connector (steps), then ask in plain words, for example "Pick the three most central sentences of this long article." The free daily allowance is applied automatically over MCP. Beyond it a call needs an x402 payment, which these clients can make.

Updated 2026-10-08. Related guides: What text summarization APIs cost over x402, Sentiment analysis API, Keyword extraction API, Spell check API. All guides, or back to tanod.dev.