The Drive AI API
The Drive AI API One API for screenshots, markdown extraction, structured data extraction, and more. 107+ file formats supported. [Developer Guide & SDK…
Developer tools#documents--productivity
Fork copies the collection into your workspace, without the publisher's secrets, so you can add your own key and send requests. Star saves it to your starred APIs (Account › Marketplace) and helps others find it.
Overview
The Drive AI API
One API for screenshots, markdown extraction, structured data extraction,
and more. 107+ file formats supported.
Developer Guide & SDK Docs — Quickstart, guides, Pydantic/Zod examples, webhook verification.
This page is the interactive API reference. For tutorials and SDK usage, see the developer guide.
Endpoints
| Endpoint | Credits | Description |
|---|---|---|
GET /{url} | 1 | Screenshot any URL |
GET /md/{url} | 1 | Convert any URL to markdown |
POST /api/v1/thumbnails/generate | 1 | Generate thumbnail from file or URL |
POST /api/v1/markdown/convert | 1 | Convert file/URL to markdown |
POST /api/v1/extract | 1/page or 5/site | Extract structured data |
POST /api/v1/analyze | 2/page or 10/site | Analyze — compute, reason, derive |
POST /api/v1/analyze/cross | 5/doc + 3/page | Cross-reference multiple documents |
Authentication
All protected endpoints require an X-API-Key header:
curl https://dev.thedrive.ai/stripe.com \
-H "X-API-Key: tda_live_your_key_here"Get your API key at https://dev.thedrive.ai/login
Pricing
- Free: 100 credits/month, no card required
- Pro: $0.01/credit, pay-as-you-go
- Enterprise: Volume pricing, contact us
Endpoints 23
screenshots
- GETScreenshot / Thumbnail
/:urlGenerate a thumbnail by simply appending a URL to the service path. Usage Examples: Without scheme (https:// is assumed)…
markdown
- POSTConvert to Markdown
/api/v1/markdown/convertConvert a file or URL to markdown. File Upload: Use multipart/form-data with a file field. URL Fetch: Provide a url field. For websites (HTML), uses a… - GETSupported Markdown Conversion Types
/api/v1/markdown/supportedList all file types supported for markdown conversion. - GETURL to Markdown
/md/:urlConvert any URL to markdown by prepending /md/. Usage Examples: Website dev.thedrive.ai/md/example.com PDF document…
extraction
- POSTExtract Structured Data
/api/v1/extractExtract structured data from a file or URL using AI. Upload a file (or provide a URL) along with a typed JSON schema describing the fields you want extracted.…
thumbnails
- POSTGenerate Thumbnail
/api/v1/thumbnails/generateGenerate a thumbnail from a file upload or URL. File Upload: Use multipart/form-data with a file field. URL Fetch: Use JSON body with url field. Optionally… - POSTGenerate Thumbnail (JSON)
/api/v1/thumbnails/generate/jsonGenerate a thumbnail from a URL using JSON request body. - GETGet Job Status
/api/v1/thumbnails/jobs/:job_idGet the status of an async thumbnail generation job. - DELETEDelete Job
/api/v1/thumbnails/jobs/:job_idDelete a job and its associated thumbnail. - GETGet Thumbnail Image
/api/v1/thumbnails/jobs/:job_id/imageGet the raw thumbnail image bytes. - GETList Supported Types
/api/v1/thumbnails/supported-typesGet a list of all supported file types grouped by handler. - GETPreview URL (Direct Image)
/api/v1/thumbnails/preview?url=stringGenerate and return a thumbnail image directly from a URL. Usage: Perfect for embedding in <img> tags or direct browser access. <img…
health
- GETHealth Check
/api/v1/healthCheck the health status of the service. - GETLiveness Check
/api/v1/health/liveLiveness probe. - GETReadiness Check
/api/v1/health/readyReadiness probe.
analysis
- POSTCross-Document Analysis
/api/v1/analyze/crossAnalyze and cross-reference multiple documents together. Unlike /analyze (single document) or /analyze/batch (many documents independently), this endpoint… - POSTAnalyze Document
/api/v1/analyzeAnalyze a document by asking questions. Unlike /extract, this endpoint can compute, reason, and derive values that aren't explicitly written in the document.…
decision
- POSTMake a Decision
/api/v1/decideMake one coherent decision about a document (or pure context), guided by explicit instructions and caller-supplied context. Unlike /analyze — which researches…
batch
- POSTBatch Extract
/api/v1/extract/batchExtract the same fields from up to 20 files or URLs in one request. Upload files as repeated files parts, pass URLs as a JSON array in urls, or mix both; one… - POSTBatch Analyze
/api/v1/analyze/batchAsk the same questions of up to 10 files or URLs in one request. Upload files as repeated files parts, pass URLs as a JSON array in urls, or mix both; one…
jobs
- GETGet Task Status
/api/v1/jobs/:task_idPoll an async task until it finishes. Any /extract, /analyze, /decide or /analyze/cross call made with sync=false returns a task_id at once; pass it here.… - GETGet Batch Status
/api/v1/jobs/batch/:batch_idPoll a batch from /extract/batch or /analyze/batch. Each item runs as its own task; this endpoint reports them together. status is pending until an item… - GETGet Webhook Deliveries
/api/v1/jobs/:task_id/deliveriesCheck the delivery status of webhooks for a task. Returns a list of delivery attempts with status, response code, and timestamps. Useful for debugging "I…
API details
- Authentication
- None declared in the description
- Operations
- 23 operations on 22 pathsGET 13POST 9DELETE 1
- Main resources
- thumbnails 7health 3jobs 3markdown 3analysis 2batch 2decision 1extraction 1screenshots 1
- Response formats
application/jsonimage/jpegtext/markdown- Description format
- OpenAPI 3.1.0, API version
1.5.0 - Links
- OpenAPI document
- Listed from
- Thedrive's published OpenAPI description
How to test the The Drive AI API in Swastik Codes
- Open the APISelect “Fork & run in Swastik Codes” on this page. Sign in or create a free account if asked.
- Fork it into your workspaceChoose a workspace. You get your own copy of the The Drive AI API collection, without the publisher's secrets.
- Add your credentialsOpen the collection's variables or an environment and enter your API key or token, if the API needs one.
- Send a requestPick an endpoint, for example “Screenshot / Thumbnail” (GET /:url), and press Send. Check the response, add tests and run the whole collection with the runner.
Frequently asked questions
What is the The Drive AI API?
The Drive AI API One API for screenshots, markdown extraction, structured data extraction, and more. 107+ file formats supported. [Developer Guide & SDK… It is listed under Developer tools and has 23 endpoints.
Who publishes the The Drive AI API?
It is listed from Thedrive's public API description (an OpenAPI document), not published by Thedrive on Swastik Codes. Anyone who controls thedrive.ai can claim the profile by adding a DNS TXT record.
How do I authenticate with the The Drive AI API?
Its OpenAPI description does not declare an authentication scheme. Some endpoints may be open; check the provider's documentation before relying on that.
How many endpoints does the The Drive AI API have?
23 operations on 22 paths (13 GET, 9 POST, 1 DELETE). The largest groups are thumbnails, health, jobs, markdown.
Is forking the The Drive AI API free?
Yes. Forking copies the collection into your workspace for free. It has been starred 0 times and forked 0 times.