Introduction
The SmartPDF API offers 47 PDF and image operations over HTTP: conversion to and from PDF (Word, Excel, PowerPoint, JPG, PNG, Markdown, DjVu, FB2, EPUB), compression, merging and splitting, text recognition (OCR), a PDF editor, finding and removing personal data, page tools, signatures, watermarks, passwords and image tools. The same tools as on smartpdf.ru, for your code and AI agents.
How to connect
- REST API — base URL
https://api.smartpdf.ru/v1, the key goes in theX-API-Keyheader. Start with the quick start. - MCP server —
https://mcp.smartpdf.ru/mcpfor Claude Code, Claude Desktop, Cursor, VS Code, Codex CLI, Gemini CLI and other agents: MCP server. - No code — automations in n8n and Make.
The API and MCP use the same keys and share one balance.
Request flow
All operations are asynchronous and take four requests:
POST /v1/upload— upload a file and get afile_id.POST /v1/pdf/<operation>— start an operation and get atask_id.GET /v1/tasks/{task_id}— wait for thedonestatus or receive a webhook.GET /v1/tasks/{task_id}/download— get a link to the result and download it.
Details: How it works.
Pricing
Each request is paid from the account’s API balance in rubles: currently 0.25 ₽ per file up to 10 MB (up-to-date price: GET /v1/pricing/api); for heavy operations, pages count too. There’s no subscription, and the balance never expires. Once you sign up and confirm your email, 300 ₽ is credited to your balance. Details: Billing.
Data
Servers and backups are located in Moscow. Uploaded files are deleted after an hour; results are kept for the storage period of the account’s plan. Results obtained via the API and MCP have no watermark.