80trust / 100

Classify

by Combify Compute in AI models & inference

x402 APIPassing, checked 4 h ago

Quick opinion triage: labels text POSITIVE or NEGATIVE with confidence plus all scores (DistilBERT SST-2), fixed price $0.005 USDC. Use this for sentiment only, not nuanced moderation or answers (use /chat). POST JSON body {text (required, max 2000 chars)}. Returns {label, score, scores}. Unpaid calls get 402; paid calls settle only on success.

POST https://compute.combify.app/classify

Last 30 days

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

How to call it

# See the payment challenge (nothing is charged)
curl -i -X POST "https://compute.combify.app/classify" \
  -H "content-type: application/json" \
  -d '{"text":"This pizza is great!"}'
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%2Fcompute.combify.app%2Fclassify
const res = await pay("https://compute.combify.app/classify", {
  method: "POST",
  headers: { "content-type": "application/json" },
  body: JSON.stringify({"text":"This pizza is great!"}),
});
console.log(await res.json());

Example input

{
  "text": "This pizza is great!"
}

Example output

{
  "est_cost_usd": 0.00001,
  "label": "POSITIVE",
  "model": "@cf/huggingface/distilbert-sst-2-int8",
  "score": 0.98,
  "scores": [
    {
      "label": "POSITIVE",
      "score": 0.98
    }
  ]
}

Security scan

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

Recent checks

WhenResultHTTPTimePrice
4 h agoPassed402207 ms$0.005