POSThttps://api.contractag.dev/fieldsx-api-key: YOUR_API_KEY (optional)file — Required. PDF file upload.application/pdf| Property | Description |
|---|---|
name | Machine-friendly field name (see Reference → Fields Included). |
page | 1-indexed page where the field was detected. |
bbox | Bounding box { x, y, w, h } in PDF points. |
confidence | Float 0–1 describing model confidence. |
Contractag does not return raw text; overlay bounding boxes on the original PDF to display values.
200 — Extraction completed and results returned.400 — Invalid file or request parameters.401 — Missing/invalid API key.413 — File size exceeds limit.