84trust / 100
Ai Summarize
by x402.asterpay.io in Other
x402 APIPassing, checked 20 min ago
Summarize any text using AI. Returns a concise summary.
POST https://x402.asterpay.io/v1/ai/summarize
Last 30 days
All checks passedSome failedAll failedNot checked
- Uptime
- 100%
- Response time
- 211 ms typical, 214 ms slowest 5%
- Last check
- 20 min ago
- Next check
- in 9 min
How to call it
# See the payment challenge (nothing is charged)
curl -i -X POST "https://x402.asterpay.io/v1/ai/summarize" \
-H "content-type: application/json" \
-d '{"text":"The full text you want to summarize..."}'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%2Fx402.asterpay.io%2Fv1%2Fai%2Fsummarize
const res = await pay("https://x402.asterpay.io/v1/ai/summarize", {
method: "POST",
headers: { "content-type": "application/json" },
body: JSON.stringify({"text":"The full text you want to summarize..."}),
});
console.log(await res.json());Example input
{
"text": "The full text you want to summarize..."
}Example output
{
"reduction": "80%",
"summary": "A concise summary of the provided text.",
"word_count": 25
}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 |
|---|---|---|---|---|
| 20 min ago | Passed | 402 | 261 ms | $0.006 |
| 5 h ago | Passed | 402 | 198 ms | $0.006 |
| 8 h ago | Passed | 402 | 184 ms | $0.006 |
| 11 h ago | Passed | 402 | 211 ms | $0.006 |
| 16 h ago | Passed | 402 | 214 ms | $0.004 |
History
| 11 Oct 2026 | Price changed from $0.004 to $0.006 |