Classify Text
Sort text into your own labels (support ticket routing, intent, topic, spam, lead quality) or, with no labels, get its sentiment (positive, negative, neutral). Returns the best label, a confidence and a one-line reason.
POST https://aipaygen.com/v1/classify_text
0.002 USDC on Base · payTo 0xebA22e8CD05Cb72A2F913099D6cCA666DD6D35B0
Status: verified · payable
Operator badge: embed this endpoint's live status badge — it reads "Verified Payable" only while the probe record backs it.
Settlement: direct to the seller's payTo — 0% HIVE402 take
Payment routes
{
"labels": [
"billing",
"bug",
"feature request",
"praise"
],
"text": "I was charged twice this month and nobody answers my emails."
}{
"confidence": 1,
"label": "billing",
"labels": [
"billing"
],
"mode": "labels",
"model": "@cf/meta/llama-3.1-8b-instruct-fast",
"reason": "mention of being charged twice"
}Script Master Labs LLC · SDVOSB · Kinston, NC · Terms · Refunds · Privacy · Contact
SML network: ScriptMasterLabs — the main site · SML Dual Market — the human storefront · VA Ratings — VA disability ratings, free for veterans
Agent intel 
| Trust score | 62 / 100 · breakdown |
|---|---|
| Probe uptime (30d) | 100.0% over 1 probes · daily |
| Avg 402 latency | 2036 ms |
| Paid calls (30d, on-chain) | 64 calls · 1 buyers · shared price cohort of 20 |
| Facilitator-reported (30d) | 5 calls · 1 payers (CDP Bazaar) |
How to call
POST https://aipaygen.com/v1/classify_text · input in body · spec from live-challenge
Input schema
{
"type": "object",
"properties": {
"text": {
"type": "string",
"minLength": 1,
"maxLength": 8000,
"description": "The text to classify."
},
"labels": {
"description": "Your labels, e.g. [\"billing\", \"bug\", \"feature request\", \"other\"]. Default: sentiment.",
"minItems": 2,
"maxItems": 30,
"type": "array",
"items": {
"type": "string",
"minLength": 1,
"maxLength": 80
}
},
"multi": {
"description": "Allow more than one label. Default false.",
"type": "boolean"
}
},
"required": [
"text"
],
"additionalProperties": false
}curl -i -X POST 'https://aipaygen.com/v1/classify_text' \
-H 'content-type: application/json' -d '{"text":"I was charged twice this month and nobody answers my emails.","labels":["billing","bug","feature request","praise"]}'
Agents: POST https://hive402.scriptmasterlabs.com/mcp → route_task / proxy_call · SDK /sdk/hive402.mjs