16trust / 100

Extractive Summary

by Vextorium in Search & web

x402 APIFailing, checked 31 min ago

Extractive summary without AI: picks the most representative sentences (term frequency and position scoring) and returns them in original order, with the reduction percentage. Deterministic and instant.

POST https://api.vextorium.com/v1/extractive-summary

Last 30 days

All checks passedSome failedAll failedNot checked
Uptime
0.0%
Response time
- typical, - slowest 5%
Last check
31 min ago: Amount "0.003" is not in atomic token units
Next check
in 24 min

How to call it

# bash or zsh: see the payment challenge (nothing is charged)
curl -g -i -X POST 'https://api.vextorium.com/v1/extractive-summary' \
  -H 'content-type: application/json' \
  --data-raw '{"sentences":2,"text":"Artificial intelligence agents are transforming the digital economy. AI agents pay for data with micropayments. The x402 protocol lets agents pay per call without accounts. Many companies already offer pay-per-use APIs for agents. USDC micropayments make this business model viable."}'
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.vextorium.com%2Fv1%2Fextractive-summary
const res = await pay("https://api.vextorium.com/v1/extractive-summary", {
  method: "POST",
  headers: { "content-type": "application/json" },
  body: "{\"sentences\":2,\"text\":\"Artificial intelligence agents are transforming the digital economy. AI agents pay for data with micropayments. The x402 protocol lets agents pay per call without accounts. Many companies already offer pay-per-use APIs for agents. USDC micropayments make this business model viable.\"}",
});
console.log(await res.json());

Example input

{
  "sentences": 2,
  "text": "Artificial intelligence agents are transforming the digital economy. AI agents pay for data with micropayments. The x402 protocol lets agents pay per call without accounts. Many companies already offer pay-per-use APIs for agents. USDC micropayments make this business model viable."
}

Example output

{
  "language": "en",
  "note": "Extractive summary (it copies sentences from the original, it does not rewrite them).",
  "original_sentences": 5,
  "reduction_pct": 54.3,
  "summary": "Artificial intelligence agents are transforming the digital economy. The x402 protocol lets agents pay per call without accounts.",
  "summary_sentences": 2
}

Security scan

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

Recent checks

WhenResultHTTPTimePrice
31 min agoAmount "0.003" is not in atomic token units40294 ms$0.003
5 h agoAmount "0.003" is not in atomic token units40282 ms$0.003
9 h agoAmount "0.003" is not in atomic token units40286 ms$0.003
13 h agoAmount "0.003" is not in atomic token units402123 ms$0.003
18 h agoAmount "0.003" is not in atomic token units40283 ms$0.003
22 h agoAmount "0.003" is not in atomic token units40285 ms$0.003
26 h agoAmount "0.003" is not in atomic token units402102 ms$0.003
30 h agoAmount "0.003" is not in atomic token units40275 ms$0.003
34 h agoAmount "0.003" is not in atomic token units40277 ms$0.003
38 h agoAmount "0.003" is not in atomic token units40284 ms$0.003
42 h agoAmount "0.003" is not in atomic token units40282 ms$0.003
47 h agoAmount "0.003" is not in atomic token units40287 ms$0.003
2 days agoAmount "0.003" is not in atomic token units40285 ms$0.003
2 days agoAmount "0.003" is not in atomic token units40281 ms$0.003
2 days agoAmount "0.003" is not in atomic token units40281 ms$0.003