Text summarization API: summary and key points, pay per call
Summarize up to 12,000 characters of text you send into a few sentences plus bullet key points. Use for long emails, documents, transcripts and tool outputs (for a web page by URL, use /summarize).
When to use it
- Summarize long emails, documents, transcripts and tool outputs
- Choose the summary length, 1-8 sentences
- Get bullet key points with the summary
Inputs
| Name | Type | Description |
|---|---|---|
text (required) | string | Text to summarize, up to 12,000 characters |
sentences | integer | Summary length in sentences, 1-8 (default 3) |
Request
Over HTTP, with a card key from /credits:
curl -H "Authorization: Bearer adt_…" "https://tools.funwords.eu/ai/summarize-text?text=x402%20is%20an%20open%20protocol%20for%20internet-native%20payments.%20A%20server%20answers%20402%20Payment%20Required%20with%20the%20price%3B%20the%20client%20pays%20in%20stablecoins%20and%20retries.%20No%20accounts%20or%20API%20keys%20are%20needed."
Or one of your 25 free calls, no key:
curl "https://tools.funwords.eu/ai/summarize-text?text=x402%20is%20an%20open%20protocol%20for%20internet-native%20payments.%20A%20server%20answers%20402%20Payment%20Required%20with%20the%20price%3B%20the%20client%20pays%20in%20stablecoins%20and%20retries.%20No%20accounts%20or%20API%20keys%20are%20needed.&trial=1"
Without a key, the same URL answers 402 Payment Required with x402 and MPP terms, so an agent with a wallet pays per call in USDC (Base, Polygon, Arbitrum or Solana over x402; Base or Tempo over MPP) and retries.
Example result
{
"summary": "x402 lets clients pay per request with stablecoins after a 402 challenge, without accounts.",
"keyPoints": [
"Server returns 402 with the price",
"Client pays and retries"
],
"model": "@cf/meta/llama-3.1-8b-instruct-fp8"
}
From an AI agent (MCP)
Add the MCP server to Claude, Cursor or any MCP client. This tool is ai_summarize_text, and the first 25 successful calls are free:
https://tools.funwords.eu/mcp
Questions
How much text?
Up to 12,000 characters that you send; for a web page by URL use /summarize.
How do I pay?
Each successful call costs $0.01; failed calls are not charged. The first 25 calls are free. Then pay with card credits (from $1; the key goes in an Authorization header or, for clients that can only fetch a URL, as api_key= in the URL) or per call in USDC over x402 or MPP. No account is needed.