ParseRail
api.thecompound.tech/v1
39 endpoints1 paused242/242 checks passingcredits from $20

Extract & structure

Classification

Route or tag text against your own taxonomy, a label, a confidence, and a one-line rationale.

POST/v1/classify$0.02/call, 2 credits, charged only on success300 calls a minute per key

The example in the published schema

charged 0 credits
  1. auth (bearer key)
  2. per-key throttle
  3. validate body
  4. balance precheck
  5. run the capability
  6. charge credits ON SUCCESS ONLY
  7. JSON
The request body/v1/classify
{
  "text": "My card was charged twice for one order.",
  "labels": [
    "billing",
    "shipping",
    "technical",
    "refund"
  ]
}
The responsepublished example
// sending the call
// 0 credits charged so far
curl https://api.thecompound.tech/v1/classify \
  -H "Authorization: Bearer $COMPOUND_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"text":"My card was charged twice for one order.","labels":["billing","shipping","technical","refund"]}'

Scored

4 of 4 field checks passed when the eval suite last ran against production, on 2026-07-08. Every endpoint's score

The Extract & structure guide has this endpoint with its example response. The reference has every parameter.

More from Extract & structure

Get a key and buy credits