▲HIGHLAND DOCS

Classify API

Picks one label from your list (2 to 20 labels) for a piece of text. This is one of 71 pay-per-call tools in the Highland Intel API, also available as an MCP tool named classify.

Price

3¢ per successful call (USD). 1 credit = 1 US cent. After the daily free allowance, pay with credits or per call with x402 (USDC on Base). Category: Text.

Try it

POST https://api.highlnd-intel.group/v1/api/classify with a Bearer key and a JSON body.

curl · API key
curl -s https://api.highlnd-intel.group/v1/api/classify \
  -H "authorization: Bearer $HIGHLAND_KEY" \
  -H "content-type: application/json" \
  -d '{"text":"My payment failed twice this morning","labels":["support","sales","billing"]}'
request body
{
  "text": "My payment failed twice this morning",
  "labels": [
    "support",
    "sales",
    "billing"
  ]
}

Request body

FieldTypeRequiredDescription
textstringYesText to process, 1 to 8,000 characters. Emails, phone numbers, card numbers, SINs and IPv4s are redacted before the model sees it. (min 1 chars; max 8000 chars)
labelsarrayYesCandidate labels, 2 to 20, each 1 to 40 characters; the answer is always one of these or null.

What it returns

{ label, labels }: the chosen label (one of yours, or null if none fit) and the labels sent. A successful response wraps that payload in the usual Highland envelope: api, priceCents, payment (for example free_tier or credits), balanceCents, freeUsedToday, freeLimit, freeRemaining, and result.

Get a free API key

No email, no card. The key is shown once.

bash
curl -s -X POST https://api.highlnd-intel.group/v1/keys
export HIGHLAND_KEY="hk_live_paste_yours_here"

Full walkthrough: Quickstart. Key management: API keys. Buy more credits: api.highlnd-intel.group/buy.

MCP and x402

The same tool is available over MCP (Streamable HTTP) at https://api.highlnd-intel.group/mcp as classify. Connect it in Claude, ChatGPT, Grok, or Cursor and other editors.

OpenAPI: /openapi.json. Catalog: /v1/catalog. This tool in the API reference.

  • Summarize API — Three-bullet summary of up to 8,000 characters. Input is PII-redacted first (4¢)
  • Translate (EN/FR and more) API — Translates text between languages; defaults to English to French for NS/NB customers (4¢)
  • PII redaction API — Strips emails, phone numbers, card numbers, SINs and IPv4s. Runs locally, no model (1¢)
  • Text statistics API — Word, sentence and character counts, reading time and a Flesch reading-ease score (1¢)
  • DNS records API — A, AAAA, MX, NS and TXT records for a domain over DNS-over-HTTPS (2¢)

See every tool on the tool pages index or the API reference.