# FynePDF API

PDF tools for apps and AI agents, over HTTP or MCP. The same engines as fynepdf.com, with a receipt for every job.

## What you can do

- **Compress, merge, split and organize PDFs**: [compress to a target size](https://fynepdf.com/developers/docs/api/compress), [merge](https://fynepdf.com/developers/docs/api/merge), [split by ranges or size](https://fynepdf.com/developers/docs/api/split), rotate, crop, reorder.
- **Convert both ways**: [PDF to Word](https://fynepdf.com/developers/docs/api/pdf-to-word), [PDF to Excel](https://fynepdf.com/developers/docs/api/pdf-to-excel), Markdown, images, EPUB and LaTeX; [Office files](https://fynepdf.com/developers/docs/api/office-to-pdf), images, EPUB and [web pages](https://fynepdf.com/developers/docs/api/html-to-pdf) to PDF.
- **Create documents**: [generate a PDF](https://fynepdf.com/developers/docs/api/create-pdf) from Markdown, HTML, or an invoice's, resume's or letter's fields.
- **Make files safe**: [redact](https://fynepdf.com/developers/docs/api/redact) text for real, [OCR](https://fynepdf.com/developers/docs/api/ocr) scans, convert to [PDF/A](https://fynepdf.com/developers/docs/api/to-pdfa), add or remove passwords.
- **Read with AI**: [ask a question](https://fynepdf.com/developers/docs/api/ask-pdf) with page citations, [summarize](https://fynepdf.com/developers/docs/api/summarize-pdf), [extract invoices, statements and tables](https://fynepdf.com/developers/docs/api/extract-data), or [edit by instruction](https://fynepdf.com/developers/docs/api/edit-pdf).

## How it works

1. [Add a file](https://fynepdf.com/developers/docs/files): upload it, point at a URL, or send it in the request.
2. Run a [job](https://fynepdf.com/developers/docs/jobs): one action, or up to eight chained ("compress, then add page numbers").
3. Get the result: in the same call, by polling, or by [webhook](https://fynepdf.com/developers/docs/webhooks). Every job comes with a **receipt**: what each step did and what it cost.

```bash title="curl"
curl https://api.fynepdf.com/v1/pdf/compress \
  -H "Authorization: Bearer $FYNEPDF_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"file_id":"file_01jc8x4m2k9q7r3t5vwy6z","target_size_bytes":5000000}'
```

## Start here

- [Quickstart](https://fynepdf.com/developers/docs/quickstart): your first compressed PDF in five minutes.
- [Keys and authentication](https://fynepdf.com/developers/docs/authentication): live and test keys.
- [Limits and pricing](https://fynepdf.com/developers/docs/limits): credits, rate limits and file sizes.

## From an assistant

FynePDF is also an MCP server at `https://api.fynepdf.com/mcp`. Claude, ChatGPT, Cursor and other assistants sign in with a FynePDF account and use its plan; no API key needed.


---

Open this page in a browser: https://fynepdf.com/developers/docs

More: [All tools](https://fynepdf.com/tools) · [AI agents](https://fynepdf.com/ai/agents) · [llms.txt](https://fynepdf.com/llms.txt) · [Sitemap](https://fynepdf.com/sitemap.xml)
