Skip to content
clusters: prooflayer · edgemarket · edgefinance · synthforge · mediakit · wordmint · webprobe · locale · comppoint · rollforge · bestiary · statline · matchpoint · retail · agentops · browserworkflow · modelrouter · compose
$ man classify

/classify

agentutility / wordmint / classify
PRICE / CALL
$0.02
USDC · base mainnet · scheme: exact
METHOD
POST
CLUSTER
wordmint
CATEGORY
ai
STATUS
live
NAME
classify sort text into categories you define on the spot, no training run required
SYNOPSIS
POST https://x402.agentutility.ai/classify
     Content-Type: application/json
     X-PAYMENT:    <signed-transferWithAuthorization>

     { ... }
↳ first call → 402 Payment Required. Sign USDCtransferWithAuthorization, retry with theX-PAYMENT header.
DESCRIPTION

Sort text into categories you define on the spot, no training run required. Send text and a labels array (2-25 options), with optional label_descriptions for extra context and a multi_label flag for cases where more than one tag applies, and get back a results array with calibrated confidence scores, a top_label, and a one-sentence reasoning string explaining the call. Confidence is honest rather than inflated: ambiguous text gets scored lower instead of forced into a category. Use it as a zero-shot text classifier, content moderation filter, or intent/topic tagging API for routing tickets, labeling feedback, or sorting incoming messages.

INPUTrequest schema
propertytypedescriptionreq?
textstringText to classify. Max 15k chars.required
labelsarrayCandidate labels the model picks from. 2-25 items, each a string up to 80 chars.required
multi_labelbooleanBoolean, default false. When true, returns every label that applies instead of just the top one.optional
label_descriptionsobjectOptional object mapping each label to a short description to guide classification.optional
OUTPUTresponse shape
fieldtypedescription
resultsarrayArray of {label, confidence}.
top_labelstringHighest-confidence label from the caller-supplied set.
reasoningstringShort explanation of why the chosen label(s) fit the input text.
multi_labelbooleanTrue if more than one label was assigned above threshold.
labelsarrayArray of {label, score} pairs with calibrated confidences for each caller-supplied label.
input_charsnumberCharacter count of the classified input text.
modelstringIdentifier of the underlying LLM used for classification.
EXAMPLEStwo ways to call
EXAMPLE 1 · curl
curl -X POST https://x402.agentutility.ai/classify \
  -H 'Content-Type: application/json' \
  -d '{ }'
first response = 402 Payment Required with payment requirements; sign + retry with X-PAYMENT.
EXAMPLE 2 · mcp
# Install the MCP package for this endpoint's cluster
npx -y @agentutility/mcp-<cluster>

# Required: EVM private key with USDC on Base
export X402_PRIVATE_KEY=0x...

# Then call the classify tool from your MCP-aware agent.
MCP server handles payment automatically — your coding agent just calls the tool by name.
METADATA
tags
classifycategorizemoderationroutingaillm
env
VENICE_API_KEY
methods
POST
cluster
wordmint
price
$0.02 USDC per call
ADJACENTother endpoints in wordmint
endpointdescriptionprice
alt-text-generatorTurns a public image URL into ready-to-use text: concise alt text for screen readers, a natural-language description, OCR text pulled fro…$0.02
classify-textSorts a piece of text into categories you define on the fly, no training or fixed label set required.$0.02
describe-imageDescribes images with a vision LLM across five modes: describe, alt_text (accessibility, <=125 chars), OCR (extract visible text), tags (…$0.02
detect-piiDetects PII in text: emails, phones, SSNs, credit cards, addresses, names, IPs, and API tokens.$0.02
email-draftWrites emails with AI: subject, body, salutation, and sign-off.$0.02
extractPull structured entities out of raw text instead of hand-parsing it yourself.$0.02
image-describeGet a vision model's read on an image: a description, alt text, extracted text, tags, or a caption.$0.02
image-descriptionTakes a public image URL and returns an AI vision description, alt text, OCR text, tags, or caption depending on mode.$0.02
SEE ALSO
agentutility · wordmint · x402 · mcp · llms.txt · registry.json · bazaar.x402.org