78trust / 100
Summarize
by Text Summarizer Agent in News & content
x402 APIPassing, checked 1 h ago
Summarize and compress text, Markdown, or JSON into a structured summary. Output as prose, bullets, headline, or TLDR, with optional exact target word count. Built for agent and document pipelines.
POST https://web-production-78e17.up.railway.app/v1/summarize
Last 30 days
All checks passedSome failedAll failedNot checked
- Uptime
- 100%
- Response time
- 342 ms typical, 395 ms slowest 5%
- Last check
- 1 h ago
- Next check
- any minute now
How to call it
# See the payment challenge (nothing is charged)
curl -i -X POST "https://web-production-78e17.up.railway.app/v1/summarize" \
-H "content-type: application/json" \
-d '{"explain":false,"format":"headline","input":"FastAPI is a modern, fast (high-performance) web framework for building APIs with Python based on standard Python type hints.","input_type":"text","length":"brief"}'import { wrapFetchWithPayment } from "@x402/fetch";
import { x402Client } from "@x402/core/client";
import { ExactEvmScheme } from "@x402/evm/exact/client";
import { privateKeyToAccount } from "viem/accounts";
const client = new x402Client().register(
"eip155:8453",
new ExactEvmScheme(privateKeyToAccount(process.env.AGENT_KEY)),
);
const pay = wrapFetchWithPayment(fetch, client);
// Not sure it's safe to pay? Preflight it first for $0.005:
// GET https://toolvet.app/api/v1/check?url=https%3A%2F%2Fweb-production-78e17.up.railway.app%2Fv1%2Fsummarize
const res = await pay("https://web-production-78e17.up.railway.app/v1/summarize", {
method: "POST",
headers: { "content-type": "application/json" },
body: JSON.stringify({"explain":false,"format":"headline","input":"FastAPI is a modern, fast (high-performance) web framework for building APIs with Python based on standard Python type hints.","input_type":"text","length":"brief"}),
});
console.log(await res.json());Example input
{
"explain": false,
"format": "headline",
"input": "FastAPI is a modern, fast (high-performance) web framework for building APIs with Python based on standard Python type hints.",
"input_type": "text",
"length": "brief"
}Example output
{
"compression_ratio": 2.5,
"format": "headline",
"meta": {
"format": "headline",
"input_length": 124,
"length_preset": "brief",
"model": "claude-haiku-4-5-20251001",
"target_words": null
},
"notes": null,
"summary": "FastAPI: high-performance Python web framework using type hints.",
"word_count": 8
}Security scan
- No findings. We scan names, descriptions and tool definitions for hidden instructions and other prompt-injection patterns.
Recent checks
| When | Result | HTTP | Time | Price |
|---|---|---|---|---|
| 1 h ago | Passed | 402 | 341 ms | $0.005 |
| 5 h ago | Passed | 402 | 348 ms | $0.005 |
| 9 h ago | Passed | 402 | 401 ms | $0.005 |
| 12 h ago | Passed | 402 | 373 ms | $0.005 |
| 16 h ago | Passed | 402 | 395 ms | $0.005 |
| 20 h ago | Passed | 402 | 335 ms | $0.005 |
| 23 h ago | Passed | 402 | 337 ms | $0.005 |
| 28 h ago | Passed | 402 | 342 ms | $0.005 |