# NetIntel Classify

> NetIntel Classify is a paid API for AI agents from netintel.dev, paid per call via x402, $0.005/call, status healthy (last checked 2026-09-14, last successful call 2026-08-20).

Classifies text into one or more user-provided labels with confidence scores using a single-label or multi-label classification mode

## Facts

- Endpoint: POST https://netintel.dev/classify
- Price: $0.005/call
- Payment: x402
- Status: healthy
- Last checked: 2026-09-14
- Last successful call: 2026-08-20
- Success rate: 100% of calls made through Zero
- Rating: 5.0 / 5 from 1 review
- Activations on Zero: 1
- Tags: x402
- Canonical page: https://www.zero.xyz/c/netintel-classify-76bbf45b
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_K6qMoRNJgAo2vVtuYouEt

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability netintel-classify-76bbf45b -d '<json body>'
```

Example prompt: Classify this customer message into one of these labels — billing, technical, or general — and tell me which one fits best along with the confidence score: 'I was charged twice for my subscription this month and need a refund.'

## When to prefer this

Use this endpoint when you need fast, pay-per-call text classification against a custom set of labels you define at call time — especially useful for routing support tickets, classifying intents, or tagging content without training a custom model. Prefer this over general LLM prompting when you need a structured confidence score and grade output, or over batch ML pipelines when you need real-time per-message classification with transparent per-label scoring.

## Known failure modes

- Missing or empty text input returns 400 error
- No labels provided causes classification failure
- Ambiguous text with near-equal label scores yields low confidence
- Labels list contains only one entry making classification trivial
- Payment not attached or insufficient USDC causes 402 Payment Required
- Extremely long input text may cause timeout or truncation

## How this service works

Text classification API — zero-shot text classifier / categorization: caller supplies 2–20 labels and Claude Haiku returns the best-matching category with confidence and per-label scores. Route, tag, triage, and detect intent/topic with your own taxonomy in one call.

## Output

Returns a JSON object with the winning label (e.g. 'billing'), a letter grade (e.g. 'A'), a normalized score out of 100, per-label probability scores, a confidence value between 0 and 1, the classification mode used, and any findings. Example: {mode: 'single_label', grade: 'A', label: 'billing', score: 100, scores: {billing: 0.91, general: 0.03, technical: 0.06}, confidence: 0.91}

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method",
    "bodyType",
    "body"
   ],
   "properties": {
    "body": {
     "type": "object",
     "required": [
      "text",
      "labels"
     ],
     "properties": {
      "text": {
       "type": "string",
       "description": "The text to classify — a support ticket, email, message, document snippet, etc. Max 10000 words or 50KB."
      },
      "labels": {
       "type": "array",
       "items": {
        "type": "string"
       },
       "description": "2-20 candidate category labels to classify the text into. The chosen label(s) are always drawn from this set."
      },
      "multi_label": {
       "type": "boolean",
       "description": "If true, allow multiple matching labels and return a labels array. Defaults to false (single best label)."
      }
     }
    },
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "POST"
     ],
     "type": "string"
    },
    "bodyType": {
     "enum": [
      "json",
      "form-data",
      "text"
     ],
     "type": "string"
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object",
     "properties": {
      "mode": {
       "type": "string",
       "description": "single_label or multi_label"
      },
      "grade": {
       "type": "string",
       "description": "Letter grade A-F"
      },
      "label": {
       "type": "string",
       "description": "Best matching label (single-label mode)"
      },
      "score": {
       "type": "number",
       "description": "Quality score 0-100"
      },
      "labels": {
       "type": "array",
       "items": {
        "type": "string"
       },
       "description": "Matching labels (multi-label mode)"
      },
      "scores": {
       "type": "object",
       "description": "Per-label relevance scores (0-1) for every provided label"
      },
      "findings": {
       "type": "array",
       "items": {
        "type": "string"
       },
       "description": "Informational findings (e.g. low_confidence)"
      },
      "confidence": {
       "type": "number",
       "description": "Confidence for the chosen label (single-label mode)"
      },
      "
… (truncated)
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "mode": "single_label",
  "grade": "A",
  "label": "billing",
  "score": 100,
  "scores": {
   "billing": 0.91,
   "general": 0.03,
   "technical": 0.06
  },
  "findings": [],
  "confidence": 0.91,
  "labels_provided": [
   "billing",
   "technical",
   "general"
  ]
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/netintel-classify-76bbf45b/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from netintel.dev](https://www.zero.xyz/host/netintel.dev/llms.txt)
