81trust / 100
Classify
by support-ticket-classifier in Onchain & crypto
x402 APIPassing, checked 31 min ago
Text classification with your own custom labels (2-20) - categorize a support ticket, a review, or any text into the best-fitting label, with a confidence score and an alternate label. Powered by Jev, falling back to a Groq-hosted LLM if Jev is slow or unavailable - under 4.5s guaranteed. Try GET /classify/sample.
POST https://x402.agentindex.world/classify
Last 30 days
All checks passedSome failedAll failedNot checked
- Uptime
- 100%
- Response time
- 54 ms typical, 54 ms slowest 5%
- Last check
- 31 min ago
- Next check
- any minute now
How to call it
# See the payment challenge (nothing is charged)
curl -i -X POST "https://x402.agentindex.world/classify" \
-H "content-type: application/json" \
-d '{"labels":["billing","technical","account","other"],"text":"Not sure if this is a billing thing or a setup issue, but I got charged and the feature still isn't active."}'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.agentindex.world%2Fclassify
const res = await pay("https://x402.agentindex.world/classify", {
method: "POST",
headers: { "content-type": "application/json" },
body: JSON.stringify({"labels":["billing","technical","account","other"],"text":"Not sure if this is a billing thing or a setup issue, but I got charged and the feature still isn't active."}),
});
console.log(await res.json());Example input
{
"labels": [
"billing",
"technical",
"account",
"other"
],
"text": "Not sure if this is a billing thing or a setup issue, but I got charged and the feature still isn't active."
}Example output
{
"alternate_label": "account",
"alternate_probability": 0.07,
"engine": "jev",
"input": "Not sure if this is a billing thing or a setup issue, but I got charged and the feature still isn't active.",
"label": "billing",
"probability": 0.84
}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 |
|---|---|---|---|---|
| 31 min ago | Passed | 402 | 54 ms | $0.003 |
| 6 h ago | Passed | 402 | 140 ms | $0.003 |