convertfilefast-com PDF Operations API
The PDF Operations API from convertfilefast-com — 7 operation(s) for pdf operations.
The PDF Operations API from convertfilefast-com — 7 operation(s) for pdf operations.
Every API here is available over the APIs.io API and to AI agents over MCP.
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
find_apisBrowse and filter every API in the catalog.get_api_artifactsOne API's artifacts, grouped by type.get_openapiThe primary OpenAPI for this API.find_similar_apisAPIs that look like this one.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.curl "https://apis.io/api/v1/apis/convertfilefast-com:convertfilefast-com-pdf-operations-api"
curl "https://apis.io/api/v1/apis?limit=25"
Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.
openapi: 3.2.0
info:
title: ConvertFileFast PDF Operations API
description: '## ConvertFileFast API
API for converting files to PDF format.
### Supported Formats
| Format | Extension | Description |
|--------|-----------|-------------|
| Excel | .xlsx | Excel spreadsheets |
| Word | .doc, .docx | Word documents |
| PowerPoint | .pptx | PowerPoint presentations |
| ZIP | .zip | Batch conversion of multiple files |
| Text | .txt | Plain text files |
| RTF | .rtf | Rich Text Format |
| ODT | .odt | OpenDocument Text |
### Authentication
All conversion endpoints require an API Key.
**Option 1: X-API-Key header**
```
X-API-Key: your-api-key
```
**Option 2: Authorization Bearer**
```
Authorization: Bearer your-api-key
```
### Quick Example
```bash
curl -X POST "https://api.convertfilefast.com/v1/convert" \
-H "X-API-Key: your-api-key" \
-F "file=@document.docx" \
-o document_converted.pdf
```'
contact:
name: API Support
email: support@convertfilefast.com
license:
name: MIT License
url: https://opensource.org/licenses/MIT
version: 1.0.0
tags:
- name: PDF Operations
paths:
/v2/pdf/merge:
post:
tags:
- PDF Operations
summary: Merge multiple PDFs into one
description: 'Merge two or more PDF files into a single PDF document.
Requires at least 2 PDF files. The plan limit for merge is checked against `v2_merge_max_files`.'
operationId: merge_pdfs_v2_pdf_merge_post
requestBody:
content:
multipart/form-data:
schema:
$ref: '#/components/schemas/Body_merge_pdfs_v2_pdf_merge_post'
required: true
responses:
'200':
description: Successful Response
content:
application/pdf: {}
'400':
description: Less than 2 files, plan limit exceeded, or invalid PDF
'401':
description: Unauthorized
'500':
description: Internal error
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
security:
- HTTPBearer: []
- APIKeyHeader: []
/v2/pdf/split:
post:
tags:
- PDF Operations
summary: Split PDF pages into individual files
description: 'Extract specific pages from a PDF and return them as individual PDF files in a ZIP archive.
The `pages` parameter accepts formats like: `1,3,5-7` or `1-3,8,10-12`.'
operationId: split_pdf_v2_pdf_split_post
requestBody:
content:
multipart/form-data:
schema:
$ref: '#/components/schemas/Body_split_pdf_v2_pdf_split_post'
required: true
responses:
'200':
description: Successful Response
content:
application/zip: {}
'400':
description: Invalid pages or non-PDF file
'401':
description: Unauthorized
'500':
description: Internal error
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
security:
- HTTPBearer: []
- APIKeyHeader: []
/v2/pdf/compress:
post:
tags:
- PDF Operations
summary: Compress a PDF file
description: 'Reduce the file size of a PDF.
Quality presets:
- `low`: aggressive compression (image_quality=40)
- `medium`: balanced (image_quality=65)
- `high`: better quality (image_quality=80)
- `maximum`: minimal compression (image_quality=95)
Response includes `X-Original-Size`, `X-Compressed-Size`, and `X-Compression-Ratio` headers.'
operationId: compress_pdf_v2_pdf_compress_post
requestBody:
content:
multipart/form-data:
schema:
$ref: '#/components/schemas/Body_compress_pdf_v2_pdf_compress_post'
responses:
'200':
description: Successful Response
content:
application/pdf: {}
'400':
description: Invalid quality or non-PDF file
'401':
description: Unauthorized
'500':
description: Internal error
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
security:
- HTTPBearer: []
- APIKeyHeader: []
/v2/pdf/rotate:
post:
tags:
- PDF Operations
summary: Rotate pages in a PDF
description: 'Rotate pages in a PDF by 90, 180, or 270 degrees.
If `pages` is omitted, all pages are rotated. The `pages` parameter accepts formats like: `1,3,5-7`.'
operationId: rotate_pdf_v2_pdf_rotate_post
requestBody:
content:
multipart/form-data:
schema:
$ref: '#/components/schemas/Body_rotate_pdf_v2_pdf_rotate_post'
required: true
responses:
'200':
description: Successful Response
content:
application/pdf: {}
'400':
description: Invalid angle, pages, or non-PDF file
'401':
description: Unauthorized
'500':
description: Internal error
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
security:
- HTTPBearer: []
- APIKeyHeader: []
/v2/pdf/protect:
post:
tags:
- PDF Operations
summary: Add password protection to a PDF
description: 'Add password protection to a PDF file.
The `password` field is required and must not be empty.'
operationId: protect_pdf_v2_pdf_protect_post
requestBody:
content:
multipart/form-data:
schema:
$ref: '#/components/schemas/Body_protect_pdf_v2_pdf_protect_post'
required: true
responses:
'200':
description: Successful Response
content:
application/pdf: {}
'400':
description: Missing password, or non-PDF file
'401':
description: Unauthorized
'500':
description: Internal error
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
security:
- HTTPBearer: []
- APIKeyHeader: []
/v2/pdf/unlock:
post:
tags:
- PDF Operations
summary: Remove password protection from a PDF
description: 'Remove password protection from a PDF file.
Returns 400 if the PDF is not encrypted, or if the password is incorrect.'
operationId: unlock_pdf_v2_pdf_unlock_post
requestBody:
content:
multipart/form-data:
schema:
$ref: '#/components/schemas/Body_unlock_pdf_v2_pdf_unlock_post'
required: true
responses:
'200':
description: Successful Response
content:
application/pdf: {}
'400':
description: PDF not protected, wrong password, or non-PDF file
'401':
description: Unauthorized
'500':
description: Internal error
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
security:
- HTTPBearer: []
- APIKeyHeader: []
/v2/pdf/extract-text:
post:
tags:
- PDF Operations
summary: Extract text and tables from a PDF
description: 'Extract text content and optionally tables from a PDF file.
Returns a JSON response with the `ExtractTextResponse` structure.
`page_number` in the response starts at 1 (1-based). `total_pages` reflects the total number of pages in the PDF, not just the requested pages.'
operationId: extract_text_from_pdf_v2_pdf_extract_text_post
requestBody:
content:
multipart/form-data:
schema:
$ref: '#/components/schemas/Body_extract_text_from_pdf_v2_pdf_extract_text_post'
responses:
'200':
description: Successful Response
content:
application/json:
schema: {}
'400':
description: Invalid pages or non-PDF file
'401':
description: Unauthorized
'500':
description: Internal error
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
security:
- HTTPBearer: []
- APIKeyHeader: []
components:
schemas:
ValidationError:
properties:
loc:
items:
anyOf:
- type: string
- type: integer
type: array
title: Location
msg:
type: string
title: Message
type:
type: string
title: Error Type
type: object
required:
- loc
- msg
- type
title: ValidationError
HTTPValidationError:
properties:
detail:
items:
$ref: '#/components/schemas/ValidationError'
type: array
title: Detail
type: object
title: HTTPValidationError
Body_extract_text_from_pdf_v2_pdf_extract_text_post:
properties:
file:
anyOf:
- type: string
format: binary
- type: 'null'
title: File
description: PDF file to extract text from
url:
anyOf:
- type: string
- type: 'null'
title: Url
description: URL of PDF file to extract text from
pages:
anyOf:
- type: string
- type: 'null'
title: Pages
description: Pages to extract (e.g. '1-5'). If omitted, extracts all pages.
extract_tables:
type: boolean
title: Extract Tables
description: If true, also extract tables from each page
default: true
type: object
title: Body_extract_text_from_pdf_v2_pdf_extract_text_post
Body_unlock_pdf_v2_pdf_unlock_post:
properties:
file:
anyOf:
- type: string
format: binary
- type: 'null'
title: File
description: PDF file to unlock
url:
anyOf:
- type: string
- type: 'null'
title: Url
description: URL of PDF file to unlock
password:
type: string
title: Password
description: Password to unlock the PDF
type: object
required:
- password
title: Body_unlock_pdf_v2_pdf_unlock_post
Body_split_pdf_v2_pdf_split_post:
properties:
file:
anyOf:
- type: string
format: binary
- type: 'null'
title: File
description: PDF file to split
url:
anyOf:
- type: string
- type: 'null'
title: Url
description: URL of PDF file to split
pages:
type: string
title: Pages
description: Page range string, e.g. '1,3,5-7' or '1-5'
type: object
required:
- pages
title: Body_split_pdf_v2_pdf_split_post
Body_merge_pdfs_v2_pdf_merge_post:
properties:
files:
items:
type: string
format: binary
type: array
title: Files
description: PDF files to merge (minimum 2)
type: object
required:
- files
title: Body_merge_pdfs_v2_pdf_merge_post
Body_compress_pdf_v2_pdf_compress_post:
properties:
file:
anyOf:
- type: string
format: binary
- type: 'null'
title: File
description: PDF file to compress
url:
anyOf:
- type: string
- type: 'null'
title: Url
description: URL of PDF file to compress
quality:
type: string
title: Quality
description: 'Compression quality: low, medium, high, maximum'
default: medium
remove_metadata:
type: boolean
title: Remove Metadata
description: Remove PDF metadata to reduce size further
default: false
type: object
title: Body_compress_pdf_v2_pdf_compress_post
Body_rotate_pdf_v2_pdf_rotate_post:
properties:
file:
anyOf:
- type: string
format: binary
- type: 'null'
title: File
description: PDF file to rotate
url:
anyOf:
- type: string
- type: 'null'
title: Url
description: URL of PDF file to rotate
angle:
type: integer
title: Angle
description: 'Rotation angle: 90, 180, or 270 degrees'
pages:
anyOf:
- type: string
- type: 'null'
title: Pages
description: Pages to rotate (e.g. '1,3,5-7'). If omitted, all pages are rotated.
type: object
required:
- angle
title: Body_rotate_pdf_v2_pdf_rotate_post
Body_protect_pdf_v2_pdf_protect_post:
properties:
file:
anyOf:
- type: string
format: binary
- type: 'null'
title: File
description: PDF file to protect
url:
anyOf:
- type: string
- type: 'null'
title: Url
description: URL of PDF file to protect
password:
type: string
title: Password
description: Password to protect the PDF
type: object
required:
- password
title: Body_protect_pdf_v2_pdf_protect_post
securitySchemes:
HTTPBearer:
type: http
scheme: bearer
APIKeyHeader:
type: apiKey
in: header
name: X-API-Key