81trust / 100
Keywords
by Keyword extraction in Search & web
x402 APIPassing, checked 3 h ago
Top keywords and two-word phrases by frequency (stopwords removed). Cheap, deterministic signal for routing, tagging, and dedup.
POST https://agent402.tools/api/keywords
Last 30 days
All checks passedSome failedAll failedNot checked
- Uptime
- 100%
- Response time
- 188 ms typical, 188 ms slowest 5%
- Last check
- 3 h ago
- Next check
- any minute now
How to call it
# See the payment challenge (nothing is charged)
curl -i -X POST "https://agent402.tools/api/keywords" \
-H "content-type: application/json" \
-d '{"limit":10,"text":"The x402 protocol lets an agent pay for a single request. A server answers with payment terms, the agent signs a stablecoin authorization, and the request is retried with the payment attached. Payment settles on chain, so the server needs no account and the agent needs no subscription. The x402 protocol prices each request on its own, and payment terms travel with the request itself."}'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%2Fagent402.tools%2Fapi%2Fkeywords
const res = await pay("https://agent402.tools/api/keywords", {
method: "POST",
headers: { "content-type": "application/json" },
body: JSON.stringify({"limit":10,"text":"The x402 protocol lets an agent pay for a single request. A server answers with payment terms, the agent signs a stablecoin authorization, and the request is retried with the payment attached. Payment settles on chain, so the server needs no account and the agent needs no subscription. The x402 protocol prices each request on its own, and payment terms travel with the request itself."}),
});
console.log(await res.json());Example input
{
"limit": 10,
"text": "The x402 protocol lets an agent pay for a single request. A server answers with payment terms, the agent signs a stablecoin authorization, and the request is retried with the payment attached. Payment settles on chain, so the server needs no account and the agent needs no subscription. The x402 protocol prices each request on its own, and payment terms travel with the request itself."
}Example output
{
"keywords": [
{
"count": 4,
"term": "request"
},
{
"count": 4,
"term": "payment"
},
{
"count": 3,
"term": "agent"
}
],
"phrases": [
{
"count": 2,
"term": "x402 protocol"
},
{
"count": 2,
"term": "payment terms"
}
]
}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 |
|---|---|---|---|---|
| 3 h ago | Passed | 402 | 184 ms | $0.002 |
| 6 h ago | Passed | 402 | 188 ms | $0.002 |
| 11 h ago | Passed | 402 | 196 ms | $0.002 |