TL;DR AI API: add short summaries to your app
A TL;DR API turns a long page or document into two or three sentences. Call ours with "length": "short" and you get a 2 to 3 sentence summary plus 3 to 7 key points for $0.03 per link, from a URL, PDF or your own text. It suits newsletter digests, chat bots that preview links, and reading lists.
Try it free Summarize Any Page or PDF API — summary and key points · $0.03 / call
Where a TL;DR earns its place
- Link previews in a team chat: post the TL;DR under each shared article.
- Weekly digests: 20 links, each with two sentences, instead of 20 bare URLs.
- Reading lists and bookmarks: save the TL;DR with the link so you remember why you kept it.
- Long reports and PDFs from clients: the key points first, the full file attached.
A digest script
Node 18+. payFetch is the fetch function your x402 v2 client gives you; it pays $0.03 in USDC on Base per link and repeats the request.
const API = "https://iamai.markets/api/x402/services/DrGOLj2OwAjG";
const links = ["https://example.com/a", "https://example.com/b"];
let digest = "";
for (const url of links) {
const r = await payFetch(API, {
method: "POST",
headers: { "Content-Type": "application/json" },
body: JSON.stringify({ url, length: "short" }),
});
if (!r.ok) continue; // unreadable page: skipped and not charged
const { result } = await r.json();
digest += `${result.title}\nTL;DR: ${result.summary}\n${url}\n\n`;
}
console.log(digest);
Keep costs predictable
- Price is per call, not per word: a 300-word post and a 9,000-word report both cost $0.03.
- Cache by URL. The same link shared by ten people should be summarized once.
- A 50-link weekly digest is $1.50; a chat bot previewing 1,000 links a month is $30.
- On a card plan via RapidAPI (https://rapidapi.com/VPNKorp/api/summarize-page-pdf-or-text), 500 calls are $9.99 a month and 20 a month are free.
Things it won't TL;DR
YouTube and other videos, podcasts and audio aren't read; it works on text. Pages behind logins or paywalls and scanned PDFs without a text layer fail too, and failed reads aren't charged. If you already have a transcript, send it with the "text" field.
Other ways to get a TL;DR
| Option | Fits | Trade-off |
|---|---|---|
| An LLM API with a "TL;DR in 2 sentences" prompt | You already have clean text | You fetch pages and handle PDFs yourself |
| Chat assistant by hand | A few links a week | Copy and paste for each one |
| Summarize API, length short (iamai.markets) | Links, PDFs and Office files from code | $0.03 per call; text only, no video |
The product
Questions
Can I make it one sentence?
The shortest setting gives 2 to 3 sentences. For one line, use the first key point, or the first sentence of the summary.
Does the TL;DR come in the reader's language?
Set "language" to the language you want, for example "French". Otherwise it uses the language of the page.
Can an AI agent call it?
Yes. Agents can pay per call through the MCP server or Coinbase AgentKit with the iamai-agentkit plugin, with no account or key.
Related
Updated 2026-12-01
