Summarize text API: short summary and key points from any text

$0.01 per call · failed calls are never charged · no account or subscription: pay per call with a card key or USDC

Summarize text with an LLM: send up to 12,000 characters and get a short summary plus bullet key points. Use for long emails, articles, transcripts, meeting notes and tool outputs; for a web page by URL use /summarize.

Run it free (25 free calls) Buy credits by card (from $1) Example result (JSON)

Try it with your own inputs

Text to summarize, up to 12,000 characters

Uses one of your 25 free calls. Nothing is charged, and a call that fails is not counted.

Inputs

NameTypeDescription
text (required)stringText to summarize, up to 12,000 characters
sentencesintegerSummary length in sentences, 1-8 (default 3)

Request

Over HTTP, with a card key from /credits:

curl -H "Authorization: Bearer adt_…" "https://agent-data-tools.revmesh2074.workers.dev/ai/summarize?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://agent-data-tools.revmesh2074.workers.dev/ai/summarize?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, and the first 25 successful calls are free:

https://agent-data-tools.revmesh2074.workers.dev/mcp

Related tools