API documentation
Tutorial-style reference for the Omnicap Developer API. All requests are server-side; use API keys from the dashboard.
1. Authentication
Send Authorization: Bearer omni_live_… on every request. Browser origins are rejected — call the API from your backend only.
2. Security
- Never call the API from a browser or mobile app with a live key. Requests that include an Origin header are rejected.
- Store keys in a secret manager or server environment variable. Rotate and revoke compromised keys from the developer dashboard.
- Optional Idempotency-Key header on POST requests deduplicates billing for retries within the same calendar month.
- Uploaded files and job exports are kept for a limited TTL on the server. Source files are removed when a job finishes; downloads typically up to 24 hours. Full detail: https://omnicap.app/trust. Do not send data you are not allowed to process.
- Signing URLs and envelope IDs are secrets. Anyone with the link can view the unsigned PDF until it expires. The sender chooses that deadline, up to 30 days.
Errors return JSON: statusCode, message, code.
3. Base URL
https://api.omnicap.app/v1
Local sandbox: http://localhost:4000/v1
4. Limits & billing
- 100 successful calls included per month
- 60 requests per minute per key
- Max upload 20 MB per file
- Overage $0.01 USD per call with billing enabled
- Send optional
Idempotency-Keyon POST to avoid double billing on retries. PDF to Excel bills when the job finishes; sign-send bills when the envelope is sent; other tools bill on a successful response.
5. Errors
| Code | HTTP | Meaning |
|---|---|---|
| INVALID_API_KEY | 401 | Missing, revoked, or invalid API key. |
| RATE_LIMITED | 429 | Too many requests for this key in the current window. |
| API_QUOTA_EXCEEDED | 403 | Monthly included calls used; add billing for overage. |
| BILLING_REQUIRED | 403 | Subscribe to the Developer plan to continue past the free tier. |
| FILE_TOO_LARGE | 400 | Upload exceeds the per-file size limit. |
| BATCH_LIMIT | 403 | Too many files in one request. |
| CREDITS_EXHAUSTED | 403 | Not used on the Developer API (page credits are web-only). |
6. Async convert jobs
PDF to Excel and Credit card to Excel return a job handle. Poll GET /v1/jobs/{id} until ready, then download.
POST /v1/jobs/from-url— JSON body{ "url", "password?", "filename?" }fetches an HTTPS PDF into a convert job (no multipart upload).POST /v1/jobs/from-drive— JSON body{ "accessToken", "fileId", "password?", "filename?" }pulls a Google Drive file with the caller's OAuth token.GET /v1/jobs/{id}/download?format=xlsx|csv|ofx|qbo|qfx— spreadsheets always; OFX/QBO/QFX when transactions were extracted (bank id and masked account applied when detected).- Job status may include
validationPassedfor ledger tie-out plus bank/period metadata used by the statement studio UI.
curl — from-url
curl -X POST "https://api.omnicap.app/v1/jobs/from-url" \
-H "Authorization: Bearer $OMNICAP_API_KEY" \
-H "Content-Type: application/json" \
-d '{"url":"https://example.com/statement.pdf"}'Node SDK
import OmnicapClient from "@omnicap/sdk";
const client = new OmnicapClient({ apiKey: process.env.OMNICAP_API_KEY! });
const job = await client.createJobFromUrl("https://example.com/statement.pdf");
// or: await client.createJobFromDrive(accessToken, fileId);7. Tools
Each live product tool has a dedicated endpoint page with request fields and copy-paste examples. OpenAPI also lists job helpers under /v1/jobs/*.
- Bates Numbering APIPOST /bates-stamp
- Check Extract APIPOST /check-extract
- Compress PDF APIPOST /compress-pdf
- Credit Card to Excel APIPOST /credit-card-to-excel
- CSV Fill PDF APIPOST /csv-fill-pdf
- CSV to JSON APIPOST /csv-to-json
- CSV to OFX APIPOST /csv-to-ofx
- Edit PDF APIPOST /edit-pdf
- Flatten PDF APIPOST /flatten-pdf
- JPG to PDF APIPOST /jpg-to-pdf
- JSON to CSV APIPOST /json-to-csv
- Merge PDF APIPOST /merge-pdf
- PDF OCR APIPOST /pdf-ocr
- PDF Tamper Check APIPOST /pdf-tamper-check
- PDF to Excel APIPOST /pdf-to-excel
- PDF to JPG APIPOST /pdf-to-jpg
- PDF to Word APIPOST /pdf-to-word
- Protect PDF APIPOST /protect-pdf
- Receipt Extract APIPOST /receipt-extract
- Redact PDF APIPOST /redact-pdf
- Self-sign PDF APIPOST /sign-self
- Send for signature APIPOST /sign-send
- Split PDF APIPOST /split-pdf
- Statement Reconcile APIPOST /statement-reconcile
- Bank Statement to OFX APIPOST /statement-to-ofx
- Strip PDF Metadata APIPOST /strip-pdf-metadata
- Unlock PDF APIPOST /unlock-pdf