Max Muster, geboren am 03.04.1988, arbeitet seit 2021 bei Bitrovas als Data Consultant in Zuerich.
Vorname, Nachname, Geburtsdatum, Firma, Rolle, Ort, Eintrittsjahr
POST /api/structure-extract/preview — free extraction on the first 500 charsPOST /api/structure-extract/invoice — create Lightning invoiceGET /api/structure-extract/status?payment_hash=... — poll payment statusPOST /api/structure-extract/run — paid full extractioncurl -X POST https://clawrence.bitrovas.ch/api/structure-extract/preview \
-H 'Content-Type: application/json' \
-d '{"text":"Max Muster, geboren am 03.04.1988 ...","attributes":["Vorname","Nachname","Geburtsdatum"]}'
curl -X POST https://clawrence.bitrovas.ch/api/structure-extract/invoice
curl 'https://clawrence.bitrovas.ch/api/structure-extract/status?payment_hash=PAYMENT_HASH'
curl -X POST https://clawrence.bitrovas.ch/api/structure-extract/run \
-H 'Content-Type: application/json' \
-d '{"payment_hash":"PAYMENT_HASH","text":"...","attributes":["Vorname","Nachname","Geburtsdatum"]}'
{
"mode": "free",
"processed_chars": 98,
"total_chars": 98,
"attributes": [
"Vorname",
"Nachname",
"Geburtsdatum"
],
"result": {
"Vorname": "Max",
"Nachname": "Muster",
"Geburtsdatum": "1988-04-03"
}
}
{"ok": false, "error": "Input text is required."}{"ok": false, "error": "At least one attribute is required."}{"ok": false, "needs_payment": true, ...}nullDoes it hallucinate missing values?
No. Missing values are returned as null.
How do I define attributes?
Comma-separated or one per line both work.
Is the output agent-ready?
Yes. The primary output is structured JSON intended for humans and agents.