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

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

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

OptionFitsTrade-off
An LLM API with a "TL;DR in 2 sentences" promptYou already have clean textYou fetch pages and handle PDFs yourself
Chat assistant by handA few links a weekCopy 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