SayPDF REST API
Ship PDF-to-Office, OCR, and invoice extraction in your product. Experience our lightning-fast API with zero risk. Try a free real conversion, test in sandbox, or start a 3-day free trial on any plan (Mini $1 included).
Quick start
Create an account
Use Login in the header (Google or email). No subscription is required to create API keys.
Create an API key
Open Dashboard → API Keys → create a key and copy it once.
Call the API
Send Authorization: Bearer <your_key>
with a multipart upload to POST /api/v1/convert. Poll status, then
fetch the result URL.
Optional: sandbox
Add header X-Sandbox: true for mock responses
that do not use credits—ideal for CI and local dev.
Try the real API before you pay
You do not need a paid plan to generate an API key. For production traffic you will need a subscription or credits—but you can validate quality first.
- One free real conversion per API key and client IP every rolling 24 hours (not a fixed calendar midnight—think “about once per day” from your last free call).
- Unlimited sandbox calls with
X-Sandbox: trueto exercise your integration without spending quota. - Web tools on saypdf.com stay free for manual tries; the API is billed separately.
Create your first API key (checklist)
- Click Login → sign in.
- Go to Dashboard.
- Open the API Keys section → Create → copy the secret (shown once).
- Run a sandbox request, then one real conversion to see end-to-end behavior.
- When you are ready, pick a plan or credits below—checkout opens on this page.
Authentication
API key
All /api/v1 endpoints expect:
Never expose keys in browsers or public repos.
Sandbox mode
Add:
Validates the request and returns a mock success response—no credits consumed.
API endpoints
/api/v1/convert
Convert PDF or image. Usage is based on PDF pages processed.
Request
Response
/api/v1/convert/:id/status
Poll job status using the fileId from the convert response.
/api/v1/convert/:id/result
Download URL and final payload when processing completes.
/api/v1/usage
Quota, usage, and credit balance for the authenticated account.
/api/v1/health
Queue depth, workers, and latency hints for monitoring.
Code examples
Node.js
Python
cURL
Conversion types
These typeConvert values match the OpenAPI/Swagger schema for
POST /api/v1/convert.
PDF → Office & documents
pdf_to_wordpdf_to_docpdf_to_excelpdf_to_xlspdf_to_pptpdf_to_pptxpdf_to_rtfpdf_to_odtpdf_to_epubpdf_to_fb2pdf_to_csvpdf_to_txt
PDF → image
Use optional imageFormat: png,
jpg, or tiff (see Swagger).
pdf_to_pngpdf_to_jpgpdf_to_tiff
OCR, text & invoices
image_to_texthandwriting_to_texttext_from_pdfpdf_to_invoiceinvoice_to_excelimage_to_invoice
PDF passwords
pdf_remove_passwordpdf_add_password
Convert to PDF
Office documents, images, and web pages → PDF. Processed locally via LibreOffice / Puppeteer — no ABBYY required.
word_to_pdfexcel_to_pdfppt_to_pdfrtf_to_pdfodt_to_pdf
ods_to_pdfodp_to_pdfhtml_to_pdftxt_to_pdfimage_to_pdf
svg_to_pdfvsd_to_pdfxps_to_pdf
API subscriptions
Choose a monthly plan and complete checkout here (same flow as Pricing). Log in if prompted.
Every subscription plan includes a 3-day free trial—including Mini ($1/month). Scale with confidence.
- 3,000 pages/month
- 900 bonus credits/month (30% of pages)
- 3-day free trial
- All conversion types
- Unlimited API keys
- Email support
- 42,500 pages/month
- 12,750 bonus credits/month (30% of pages)
- All conversion types
- Unlimited API keys
- Email support
- 3-day free trial
- 100,000 pages/month
- 30,000 bonus credits/month (30% of pages)
- All conversion types
- Unlimited API keys
- Email support
- 3-day free trial
- 375,000 pages/month
- 112,500 bonus credits/month (30% of pages)
- All conversion types
- Unlimited API keys
- Priority support
- 3-day free trial
- 2,000,000 pages/month
- 600,000 bonus credits/month (30% of pages)
- Unlimited API keys
- Priority support
- 3-day free trial
Pay-as-you-go credits
Credits never expire. Click a pack to pay via Paddle (log in if required). Full comparison: Pricing.
Credit usage (per page)
*Basic rate applies to PDF-to-Office and Convert-to-PDF (Word/Excel/Image/HTML→PDF). For Convert-to-PDF, every 10 actual output pages = 1 billed page.
Error handling
400— bad input or quota401— missing/invalid key404— unknown resource500— server error
Support
- Email: support@saypdf.com
- Swagger: Interactive docs
- Health:
GET /api/v1/health