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

Extract & structure

Field extraction

Pull a field set you define out of any block of text. You name the fields; you get typed values with confidence.

POST/v1/extract$0.04/call, 4 credits, charged only on success120 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/extract
{
  "text": "Order 5561 ships Jul 8 to Denver, CO. Total $412.",
  "fields": [
    "order number",
    "ship date",
    "destination",
    "total"
  ]
}
The responsepublished example
// sending the call
// 0 credits charged so far
curl https://api.thecompound.tech/v1/extract \
  -H "Authorization: Bearer $COMPOUND_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"text":"Order 5561 ships Jul 8 to Denver, CO. Total $412.","fields":["order number","ship date","destination","total"]}'

Scored

7 of 7 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