API Documentation

Integrate our document conversion service into your applications

Your API Key

POST /api/v1/convert

Convert a document from one format to another.

Headers:
X-API-Key: your-api-key
Body (FormData):
file: File
from: string (e.g., "pdf")
to: string (e.g., "docx")
Response:
{
  "success": true,
  "conversion": "pdf-docx",
  "fileName": "document.pdf",
  "fileSize": 12345,
  "rateLimit": {
    "remaining": 99,
    "resetTime": "2025-10-26T..."
  }
}

POST /api/v1/batch

Process multiple files in a single request (up to 50 files).

Headers:
X-API-Key: your-api-key
Body (FormData):
files: File[] (multiple files)
from: string
to: string

GET /api/v1/formats

List all supported input and output formats.

GET /api/v1/formats

POST /api/v1/metadata

Extract metadata from a document file.

Headers:
X-API-Key: your-api-key
Body (FormData):
file: File

POST /api/v1/ai/summarize

Generate an AI-powered summary of text content using Gemini 2.5 Pro.

Headers:
X-API-Key: your-api-key
Content-Type: application/json
Body (JSON):
{ text: string, length: "short" | "medium" | "long" }

POST /api/v1/ai/translate

Translate text to 20+ languages using Gemini 2.5 Pro.

Headers:
X-API-Key: your-api-key
Content-Type: application/json
Body (JSON):
{ text: string, targetLanguage: string (e.g., "es", "fr") }

POST /api/v1/webhooks

Register a webhook URL for conversion completion notifications (Pro/Lifetime only).

Headers:
X-API-Key: your-api-key
Body (JSON):
{ url: string }

GET /api/v1/status/:id

Check the status of a conversion job.

Headers:
X-API-Key: your-api-key
URL:
GET /api/v1/status/conv_1234567890

GET /api/v1/health

Health check endpoint to verify API availability.

GET /api/v1/health

POST /api/v1/auth

API key management endpoint. Generate, register, or verify API keys (Pro/Lifetime only).

Body (JSON):
{ action: "generate" | "register" | "verify", apiKey?: string, userId?: string }
Actions:
  • generate: Create a new API key
  • register: Register an existing API key
  • verify: Verify an API key and get its details

POST /api/v1/capture

Capture a website URL and convert it to PDF (requires Puppeteer server-side rendering).

Headers:
X-API-Key: your-api-key
Content-Type: application/json
Body (JSON):
{ url: string, options?: { delay?: number } }

⚠️ Note: This endpoint requires Puppeteer and may not be available in all environments. For client-side capture, use the website-to-pdf conversion feature.

Rate Limits

Free Plan:10 requests/minute
Pro Plan:100 requests/minute
Lifetime Plan:1,000 requests/minute