CardinalCardinal
⌘K
Contact usTry the playground
Cardinal
API Documentation

Getting Started

QuickstartPlayground

Core Functions

Process DocumentOutput Formats

Enterprise

SecurityOn-Premise Setup
Contact usTry the playground
Get Started

Overview

Welcome to Cardinal! We help AI teams and companies extract structured data from complex documents like PDFs, images, invoices, contracts, and medical records with industry-leading accuracy and security.

This guide provides an overview of our flexible toolkit of API endpoints, example use cases, and configuration best practices. Cardinal specializes in extracting not just text, but also bounding boxes, image metadata, barcodes, QR codes, signatures, and annotations from your documents.

If you have any questions unanswered, feel free to reach out to our team at team@trycardinal.ai

Core Features

These API endpoints are the building blocks for all your document processing needs. You can use them individually, or in conjunction to make powerful end-to-end OCR pipelines.

Document Processing
Extract text and structured data from any document format with high accuracy OCR
Multiple Output Formats
Get results in JSON, Markdown, or HTML formats with preserved semantic structure
Advanced Element Detection
Extract bounding boxes, images, barcodes, QR codes, signatures, redlines, and annotations
Smart Retry Logic
Built-in retry mechanisms ensure reliable processing even with complex documents

Output Formats

Cardinal supports three primary output formats, each optimized for different use cases:

JSON
Structured Data
Perfect for programmatic use, APIs, and data processing pipelines
Markdown
Human-Readable
Clean, formatted text that's easy to read and edit

Frequently Asked Questions

What unique elements can Cardinal extract?

Cardinal goes beyond basic OCR to extract specialized document elements:

Machine-Readable Codes

  • • Barcodes (Code 128, Code 39, UPC, etc.)
  • • QR codes with decoded content
  • • Data Matrix codes

Document Annotations

  • • Handwritten signatures
  • • Redlines and markup
  • • Sticky notes and comments
  • • Stamps and seals

Precision Data: All extracted elements include bounding box coordinates, confidence scores, and metadata for precise positioning and validation.

How does Cardinal handle sensitive documents?

Cardinal is built with enterprise security and compliance in mind:

  • • Zero Data Retention: Documents are processed and immediately deleted
  • • HIPAA Compliance: Business Associate Agreements available
  • • SOC 2 Type II: Certified for security, availability, and confidentiality
  • • On-premise deployment: Keep data within your infrastructure
  • • End-to-end encryption: Data encrypted in transit and at rest

On-Premise Deployment

Need to keep your data on-premise? Cardinal offers flexible deployment options for enterprise customers with strict security and compliance requirements.

Contact us to learn our structureTry the playground
On this page
Core FeaturesOutput FormatsRetry LogicOn-Premise SetupFAQ