Skip to main content

Base URL

https://api.classer.ai

Endpoints

MethodEndpointDescription
POST/v1/classifySingle-label classification
POST/v1/tagMulti-label classification
POST/v1/matchSemantic similarity scoring
POST/v1/scoreAttribute scoring

Authentication

All requests require a Bearer token in the Authorization header:
Authorization: Bearer your-api-key

Request format

All endpoints accept JSON with Content-Type: application/json.

Response format

All responses include:
FieldTypeDescription
latency_msnumberProcessing time in milliseconds
usageobjectToken usage (optional)

Usage object

{
  "prompt_tokens": 42,
  "completion_tokens": 1,
  "total_tokens": 43
}

Error responses

{
  "detail": "Error message describing what went wrong"
}
StatusDescription
400Bad request — invalid parameters
401Unauthorized — missing or invalid API key
422Validation error — check request body
429Rate limit exceeded
500Internal server error

Rate limits

PlanRequests/minute
Free60
Pro600
EnterpriseUnlimited