80trust / 100

Summarize

by AllTheBot Text summarizer in News & content

x402 APIPassing, checked 2 h ago

Text summarization API: summarize any text or article (English, French, any language, 200 to 7,000 characters) into a faithful 5-8 sentence summary / TL;DR. No API key, pay per call.

POST https://api.zkrobotics.fr/x402/summarize

Last 30 days

All checks passedSome failedAll failedNot checked
Uptime
100%
Response time
161 ms typical, 161 ms slowest 5%
Last check
2 h ago
Next check
any minute now

How to call it

# See the payment challenge (nothing is charged)
curl -i -X POST "https://api.zkrobotics.fr/x402/summarize" \
  -H "content-type: application/json" \
  -d '{"text":"Remote work has become widespread since 2020 in many companies. Several studies show that it improves employee satisfaction and cuts commuting time, but it makes team cohesion and the onboarding of newcomers harder. Many companies now choose a hybrid model, with two or three days a week in the office and the rest at home."}'
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%2Fapi.zkrobotics.fr%2Fx402%2Fsummarize
const res = await pay("https://api.zkrobotics.fr/x402/summarize", {
  method: "POST",
  headers: { "content-type": "application/json" },
  body: JSON.stringify({"text":"Remote work has become widespread since 2020 in many companies. Several studies show that it improves employee satisfaction and cuts commuting time, but it makes team cohesion and the onboarding of newcomers harder. Many companies now choose a hybrid model, with two or three days a week in the office and the rest at home."}),
});
console.log(await res.json());

Example input

{
  "text": "Remote work has become widespread since 2020 in many companies. Several studies show that it improves employee satisfaction and cuts commuting time, but it makes team cohesion and the onboarding of newcomers harder. Many companies now choose a hybrid model, with two or three days a week in the office and the rest at home."
}

Example output

{
  "summary": "Remote work has spread widely since 2020. It raises employee satisfaction and cuts commuting time, but weakens team cohesion and onboarding. Many companies now use a hybrid model with two or three office days a week."
}

Security scan

  • No findings. We scan names, descriptions and tool definitions for hidden instructions and other prompt-injection patterns.

Recent checks

WhenResultHTTPTimePrice
2 h agoPassed402161 ms$0.005
5 h agoPassed402232 ms$0.005
10 h agoPassed40261 ms$0.005