81trust / 100
Content Summarize
by agentbit.app in Search & web
x402 APIPassing, checked 2 h ago
Extractive summary of any text, computed offline (no LLM): ranks sentences by term significance and returns the top ones in reading order. Set how many sentences you want. Key-less, instant, $0.002.
POST https://agentbit.app/v1/content/summarize
Last 30 days
All checks passedSome failedAll failedNot checked
- Uptime
- 100%
- Response time
- 77 ms typical, 77 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://agentbit.app/v1/content/summarize" \
-H "content-type: application/json" \
-d '{"sentences":2,"text":"The x402 protocol lets AI agents pay for API calls with stablecoins. Each request carries a payment header. Sellers price per call. This removes the need for accounts, API keys and monthly subscriptions. Agents discover tools, pay, and get results in one round trip."}'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%2Fagentbit.app%2Fv1%2Fcontent%2Fsummarize
const res = await pay("https://agentbit.app/v1/content/summarize", {
method: "POST",
headers: { "content-type": "application/json" },
body: JSON.stringify({"sentences":2,"text":"The x402 protocol lets AI agents pay for API calls with stablecoins. Each request carries a payment header. Sellers price per call. This removes the need for accounts, API keys and monthly subscriptions. Agents discover tools, pay, and get results in one round trip."}),
});
console.log(await res.json());Example input
{
"sentences": 2,
"text": "The x402 protocol lets AI agents pay for API calls with stablecoins. Each request carries a payment header. Sellers price per call. This removes the need for accounts, API keys and monthly subscriptions. Agents discover tools, pay, and get results in one round trip."
}Example output
{}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 |
|---|---|---|---|---|
| 2 h ago | Passed | 402 | 242 ms | $0.002 |
| 7 h ago | Passed | 402 | 77 ms | $0.002 |