Skip to main content
The same document intelligence that powers The Drive AI, available as an API. Upload a PDF, spreadsheet, image, or URL — get back typed JSON matching your schema.
This is not a full API for The Drive AI product. These are standalone document intelligence endpoints — the same ones we use internally — exposed for developers and AI agents that need to process documents programmatically.

Extract

Pull structured fields from a document. Fast, schema-enforced, type-safe.

Analyze

Compute, reason, and derive answers that aren’t explicitly written in the document.

Cross-Analyze

Validate and cross-reference across 2-5 documents simultaneously.

How it works

  1. Define a schema — describe the fields you want, with types
  2. Send a document — upload a file or pass a URL
  3. Get structured data — typed JSON, confidence scores, source citations

Define schemas your way

Write raw JSON, or use Pydantic (Python) and Zod (TypeScript) to define schemas with the tools you already use.
The SDK converts your Pydantic models and Zod schemas to the typed format automatically — including nested objects, arrays, enums, and optional fields.

Supported formats

Authentication

All requests require an X-API-Key header. Get your key at dev.thedrive.ai.

Install

Pricing

Free tier includes 100 credits/month. Purchase more.