Assign text to one of YOUR labels — spam, sentiment, urgency, topic, ticket category, lead
Assign text to one of YOUR labels — spam, sentiment, urgency, topic, ticket category, lead quality, intent, moderation — with a confidence and a one-line rationale. The label is constrained to your list by schema enum, so it cannot return a category you did not define. Priced per call. For high-volume use, buy prepaid credits (POST /x402/credits/buy) and send X-Animica-Credits on each request — no settlement, no gas, no per-call payment round trip. Paying in ANM on the animica:1 lane is also ~25% cheaper because we sponsor no gas there.
5955 (raw units)
price
5
calls / 30d
3
unique payers
2026-08-24
updated
Provider
animica.dev · discovered, not yet claimed by its owner
Payment (x402 accepts[])
[
{
"scheme": "exact",
"network": "eip155:8453",
"payTo": "0x5D17c40FD6b119dc6006C4Ab3C20a917FCaB2aCD",
"asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
"amount": "5955",
"maxTimeoutSeconds": 60
},
{
"scheme": "exact",
"network": "animica:1",
"payTo": "anim1zqpsmegc0qcvzjfukm89xs0zeu3eqyyyel7kelehuszvwfarqypky2gr946ga",
"asset": "ANM",
"amount": "67259036144",
"maxTimeoutSeconds": 60
}
]Output schema
{
"animica": {
"catalog": "https://animica.dev/.well-known/x402",
"content_type": "application/json",
"currency": "USDC",
"description": "Assign text to one of YOUR labels — spam, sentiment, urgency, topic, ticket category, lead quality, intent, moderation — with a confidence and a one-line rationale. The label is constrained to your list by schema enum, so it cannot return a category you did not define. Priced per call. For high-volume use, buy prepaid credits (POST /x402/credits/buy) and send X-Animica-Credits on each request — no settlement, no gas, no per-call payment round trip. Paying in ANM on the animica:1 lane is also ~25% cheaper because we sponsor no gas there.",
"documentation": "https://animica.dev/x402#product-classify",
"free_trial": {
"endpoint": "POST /x402/classify/trial",
"limit_per_day": 5,
"note": "Same code and same response shape as the paid endpoint. No payment, no payment headers. Quota is per client per UTC day; when it is spent this endpoint says so and points back here.",
"price": "0",
"url": "https://animica.dev/x402/classify/trial"
},
"name": "Text classification",
"openapi": "https://animica.dev/x402/openapi.json",
"price": "0.005955",
"product": "classify",
"provider": "Animica",
"terms": {
"amount_atomic": "5955",
"asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
"chain_id": 8453,
"network": "eip155:8453",
"pay_to": "0x5D17c40FD6b119dc6006C4Ab3C20a917FCaB2aCD",
"scheme": "exact"
},
"x402_version": 2
},
"bazaar": {
"discoverable": true,
"info": {
"input": {
"body": {
"input": "I really loved this product.",
"labels": [
"positive",
"negative"
]
},
"bodyType": "json",
"method": "POST",
"type": "http"
},
"output": {
"type": "json"
}
},
"schema": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"input": {
"properties": {
"body": {
"properties": {
"input": {
"description": "the text to classify",
"type": "string"
},
"labels": {
"description": "2..50 candidate labels",
"type": "array"
},
"multi": {
"description": "allow multiple labels (default false)",
"type": "boolean"
}
},
"required": [
"input",
"labels"
],
"type": "object"
},
"bodyType": {
"enum": [
"json"
],
"type": "string"
},
"method": {
"enum": [
"POST"
],
"type": "string"
},
"type": {
"const": "http",
"type": "string"
}
},
"required": [
"type",
"method"
],
"type": "object"
},
"output": {
"properties": {
"example": {},
"type": {
"type": "string"
}
},
"required": [
"type"
],
"type": "object"
}
},
"required": [
"input"
],
"type": "object"
}
},
"discovery": {
"discoverable": true,
"info": {
"input": {
"bodyFields": {
"input": {
"description": "the text to classify",
"required": true,
"type": "string"
},
"labels": {
"description": "2..50 candidate labels",
"required": true,
"type": "array"
},
"multi": {
"description": "allow multiple labels (default false)",
"required": false,
"type": "boolean"
}
},
"bodyType": "json",
"method": "POST",
"type": "http"
},
"output": {
"description": "label (or labels), confidence 0..1, rationale, model",
"type": "json"
}
}
}
}Use it
curl
curl "https://animica.dev/x402/classify" # -> 402 Payment Required, accepts[] lists how to pay # retry with a PAYMENT-SIGNATURE (or PAYMENT header) once paid
JavaScript
const res = await fetch("https://animica.dev/x402/classify");
if (res.status === 402) {
const { accepts } = await res.json();
// pay one of accepts[] via an x402 client, then retry with the payment header
}Python
import httpx
res = httpx.get("https://animica.dev/x402/classify")
if res.status_code == 402:
accepts = res.json()["accepts"]
# pay one of accepts[] via an x402 client, then retry with the payment headerMachine-readable
Everything on this page is also available as clean JSON at /resources/7502.json, and this resource appears in /discovery/resources and /discovery/search.