API Quick Start
Try the API immediately without an API key (5 requests/minute free tier), or include your X-API-Key header for higher limits and monthly quotas.
Endpoint
POST https://fileapp.uk/api/v1/convert Content-Type: multipart/form-data X-API-Key: your_api_key_here # optional on free tier
cURL Example
curl -X POST https://fileapp.uk/api/v1/convert \ -H "X-API-Key: YOUR_API_KEY" \ -F "[email protected]" \ --output invoice.pdf
Python Example
import requests
with open("report.xlsx", "rb") as f:
res = requests.post(
"https://fileapp.uk/api/v1/convert",
headers={"X-API-Key": "YOUR_API_KEY"},
files={"file": f},
timeout=30,
)
res.raise_for_status()
with open("report.pdf", "wb") as out:
out.write(res.content)
Node.js Example
import fs from "node:fs";
const form = new FormData();
const blob = new Blob([fs.readFileSync("deck.pptx")]);
form.append("file", blob, "deck.pptx");
const res = await fetch("https://fileapp.uk/api/v1/convert", {
method: "POST",
headers: { "X-API-Key": "YOUR_API_KEY" },
body: form,
});
if (!res.ok) throw new Error(await res.text());
fs.writeFileSync("deck.pdf", Buffer.from(await res.arrayBuffer()));
Check Your Quota & Health
GET https://fileapp.uk/api/v1/account # with X-API-Key header GET https://fileapp.uk/api/v1/health
Supported extensions: csv, doc, docx, odt, ppt, pptx, rtf, txt, xls, xlsx. Errors are returned as structured JSON ({"error": "...", "code": "..."}) with standard HTTP status codes (400, 401, 402, 429, 503, 504).