Server-side LibreOffice, no Microsoft licence, no client install. DOCX, DOC, XLSX, XLS, PPTX, PPT, ODT, ODS, ODP, RTF, CSV, TXT in – PDF out. Billed per page.
Get a key first – no signup: curl -X POST https://api.bigapi.dev/v1/keys (100 free operations, 7 days).
curl -X POST https://api.bigapi.dev/v1/office/pdf -H 'Authorization: Bearer $KEY' -F 'file=@report.docx' -o report.pdf
Add BiGapi to Claude Desktop, Cursor or any MCP client – the server fetches its own key on first use:
{
"mcpServers": {
"bigapi": { "command": "npx", "args": ["-y", "@bigapi/mcp"] }
}
}
Then simply ask: “Convert this DOCX to PDF.” – the model calls the office_to_pdf tool.
| Param | Type | Required | Notes |
|---|---|---|---|
file | file | yes | DOCX, DOC, XLSX, XLS, PPTX, PPT, ODT, ODS, ODP, RTF, CSV or TXT. |
X-BigAPI-Cost)Idempotency-Key are free · prepaid credit from $5, never expires.Every response carries X-BigAPI-Cost, X-BigAPI-Balance and X-BigAPI-Free-Ops – your agent can budget on its own; X-BigAPI-Pages reports the page count.
| Status | Meaning | Agent action |
|---|---|---|
401 | missing/invalid key | POST /v1/keys for a fresh one |
402 | credit exhausted | show the upgrade_url from the response to a human |
413 | file too large | split the input (limit 100 MB) |
422 | conversion failed | check the detail field – costs $0 |
429 | rate limited | wait retry_after seconds |
LibreOffice is very good with standard documents; exotic fonts fall back to metric-compatible substitutes (Carlito for Calibri, Caladea for Cambria).
1 cent per output page – X-BigAPI-Pages tells you the count.
Not supported – remove protection first; the call fails with 422 and costs $0.