{"uid":"cap_K6qMoRNJgAo2vVtuYouEt","slug":"netintel-classify-76bbf45b","name":"NetIntel Classify","description":"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.","url":"https://netintel.dev/classify","method":"POST","headers":{},"bodySchema":{"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)"},"labels_provided":{"type":"array","items":{"type":"string"},"description":"Echo of the candidate labels supplied by the caller"}}}}}}},"responseSchema":{"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"]}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.005","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":1,"rating":{"score":"1.00","successRate":"1.00","reviews":1,"stars":"5.0","state":"rated"},"availabilityStatus":"healthy","priceObserved":{"p10Cents":"0.5000","medianCents":"0.5000","p90Cents":"0.5000","minCents":"0.5000","maxCents":"0.5000","p95Cents":"0.5000","sampleCount":1,"varies":false,"failureChargeRate":1},"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.005/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_OUEsTjjEO2GegFMnl_5_-","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.005","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Classifies text into one or more user-provided labels with confidence scores using a single-label or multi-label classification mode","exampleAgentPrompt":"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.'","exampleUseCases":null,"resultDescription":"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}","failureModes":["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"],"whenToPreferThis":"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.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":1,"lastUsedAt":"2026-08-20T20:21:10.988Z","lastSuccessfullyRanAt":"2026-08-20T20:21:10.988Z","lastHealthCheckAt":"2026-09-14T12:53:49.728Z","isFirstParty":false}