summarize $0.05 per call
Faithful summary of a URL or text in the style, length and language you choose.
For AI agents: call summarize
POST https://toll402.dev/v1/summarize
{
"url": "https://en.wikipedia.org/wiki/HTTP_402",
"style": "tldr",
"language": "es"
}Answers 402 with x402 payment requirements; pay with any x402 client (@x402/fetch, x402 for Python, toll402-client, toll402-mcp) or send a prepaid-credits key as x-toll402-key (https://toll402.dev/credits). Paid per call via x402 (USDC on Base) or with a prepaid-credits key (x-toll402-key, card at /credits); charged only on success. Start at /llms.txt or connect the MCP server:
npx -y toll402-mcp · remote https://toll402.dev/mcp.Input schema
{
"type": "object",
"properties": {
"url": {
"type": "string",
"format": "uri"
},
"text": {
"type": "string",
"maxLength": 400000
},
"style": {
"type": "string",
"enum": [
"bullets",
"paragraph",
"tldr",
"detailed"
],
"default": "bullets"
},
"maxWords": {
"type": "integer",
"minimum": 20,
"maximum": 1500,
"default": 200
},
"language": {
"type": "string",
"maxLength": 40,
"default": "same as source",
"description": "Output language, e.g. 'es', 'en'"
},
"focus": {
"type": "string",
"maxLength": 1000,
"description": "What to focus on"
}
},
"additionalProperties": false
}
Example output
{
"summary": "HTTP 402 es un código de estado reservado para pagos...",
"title": "HTTP 402"
}
MCP
{"mcpServers":{"toll402":{"command":"npx","args":["-y","toll402-mcp"],"env":{"TOLL402_WALLET_KEY":"0x..."}}}}