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 success

Send this

{
  "text": "Order 5561 ships Jul 8 to Denver, CO. Total $412.",
  "fields": [
    "order number",
    "ship date",
    "destination",
    "total"
  ]
}

Every response carries usage — the credits burned and your remaining balance. A failed call never burns credits.

Try it live against your own key in the interactive reference; every account gets 500 free credits a month, no card.

Get this back

{
  "results": [
    {
      "field": "order number",
      "value": "5561",
      "confidence": 0.99
    },
    {
      "field": "ship date",
      "value": "2026-07-08",
      "confidence": 0.9
    }
  ],
  "usage": {
    "credits": 4,
    "balanceRemaining": 486
  }
}

Four ways in. Same $0.04/call.

curl
curl https://api.kynth.studio/v1/extract \
  -H "Authorization: Bearer ksk_live_…" \
  -H "Content-Type: application/json" \
  -d '{"text":"Order 5561 ships Jul 8 to Denver, CO. Total $412.","fields":["order number","ship date","destination","total"]}'
TypeScript
import { KynthCore } from "@kynth/api";

const kynth = new KynthCore({ apiKey: process.env.KYNTH_API_KEY! });
const result = await kynth.extract({
  "text": "Order 5561 ships Jul 8 to Denver, CO. Total $412.",
  "fields": [
    "order number",
    "ship date",
    "destination",
    "total"
  ]
});
Python
from kynth import Kynth

client = Kynth(api_key=os.environ["KYNTH_API_KEY"])
result = client.extract(
    text="Order 5561 ships Jul 8 to Denver, CO. Total $412.",
    fields=[
    "order number",
    "ship date",
    "destination",
    "total"
  ],
)
MCP
// One-time setup in your MCP client (Claude, Cursor, …):
{ "mcpServers": { "kynth-core": {
    "command": "npx", "args": ["@kynth/api-mcp"],
    "env": { "KYNTH_API_KEY": "ksk_live_…" } } } }

// Then the agent just calls the kynth_extract tool.

More from extract & structure