In a hurry? Open the API Playground from the
Fields: All
endpoint page,
click Set token, and send the same request directly in the browser.1. Request an API Key
Emailsupport@contractag.dev
with:
- Company name and contact
- Expected volume (PDFs per day)
- Intended use case (e.g., tagging contracts for CRM ingest)
2. Prepare Your Contract
- Accepts PDF files up to 25 MB.
- Multi-page documents supported; fields return with page indices.
- For image-only scans, ensure text is legible (DPI ≥ 200 recommended).
3. Call the Fields API
documentId
, page count, and field list with bounding boxes.
If processing is asynchronous for large files, poll the GET /fields/{document_id}
endpoint.
4. Overlay Results
Each field contains{ x, y, w, h }
coordinates in PDF points with the origin at the bottom-left of the page.
The API omits text values for privacy. Read content directly from the PDF beneath each bounding box if you need to display it.
Need help? Reply to the onboarding email or ping support for implementation guidance.