Developer API
The ConvertStream API allows developers to programmatically access our powerful file conversion and optimization engines. Build custom workflows and integrate state-of-the-art tools directly into your applications.
Quick Start Guide
Get Token
Go to your Profile settings to copy your API Key.
Choose Op
Pick an ID like 'merge-pdf' from our tool list.
Go Live
Send a POST request with your file and options.
Authentication
All API requests require a Bearer Token obtained via your ConvertStream profile. Include this token in the Authorization header for every request.
Authorization: Bearer <your_api_token>Core Endpoints
/api/operations
Perform file conversions (PDF, Image, Video, Audio).
/api/profile/usage
Retrieve current usage stats and history.
Available Tool IDs
When calling the /api/operations endpoint, you must specify an operation ID. Below is the full directory of supported tools for the current API version.
| Tool Name | Operation ID | Category |
|---|---|---|
| Merge PDF | merge-pdf | |
| Split PDF | split-pdf | |
| Compress PDF | compress-pdf | |
| Word to PDF | word-to-pdf | |
| Excel to PDF | excel-to-pdf | |
| PDF to Excel | pdf-to-excel | |
| Rotate PDF | rotate-pdf | |
| Unlock PDF | unlock-pdf | Security |
| Protect PDF | protect-pdf | Security |
| PDF to JPG | pdf-to-jpg | |
| HTML to PDF | html-to-pdf | |
| Text to PDF | txt-to-pdf | |
| JPG to PNG | jpg-to-png | Image |
| PNG to JPG | png-to-jpg | Image |
| WebP to JPG | webp-to-jpg | Image |
| Image to PDF | image-to-pdf | Image |
| Remove Background | remove-bg | Image |
| Compress Image | compress-image | Image |
| Crop Image | crop-image | Image |
| Rotate Image | rotate-image | Image |
| Flip Image | flip-image | Image |
| BMP to JPG | bmp-to-jpg | Image |
| GIF to JPG | gif-to-jpg | Image |
| Video to GIF | video-to-gif | Video |
| Mute Video | mute-video | Video |
| MP4 to AVI | mp4-to-avi | Video |
| AVI to MP4 | avi-to-mp4 | Video |
| MKV to MP4 | mkv-to-mp4 | Video |
| Compress Video | compress-video | Video |
| Trim Video | trim-video | Video |
| Resize Video | video-resolution | Video |
| Change FPS | video-fps | Video |
| Extract Audio | extract-audio | Video |
| Video Thumbnail | video-thumbnail | Video |
| MP3 to WAV | mp3-to-wav | Audio |
| WAV to MP3 | wav-to-mp3 | Audio |
| FLAC to MP3 | flac-to-mp3 | Audio |
| AAC to MP3 | aac-to-mp3 | Audio |
| OGG to MP3 | ogg-to-mp3 | Audio |
| Compress Audio | compress-audio | Audio |
| Trim Audio | trim-audio | Audio |
| Merge Audio | merge-audio | Audio |
| Normalize Audio | normalize-audio | Audio |
| Change Bitrate | change-audio-bitrate | Audio |
| Fade In/Out | audio-fade | Audio |
| JSON to CSV | json-to-csv | Document |
| CSV to JSON | csv-to-json | Document |
| XML to JSON | xml-to-json | Document |
| JSON to XML | json-to-xml | Document |
| YAML to JSON | yaml-to-json | Document |
| JSON to YAML | json-to-yaml | Document |
| Markdown to HTML | markdown-to-html | Document |
| Add Signature | pdf-signature | |
| PDF Watermark | pdf-watermark | |
| Resize Image | resize-image | Image |
| Change DPI | image-dpi | Image |
| Image Watermark | image-watermark | Image |
| Image Effects | image-effects | Image |
| EXIF Editor | image-exif | Image |
| Video Watermark | video-watermark | Video |
| Social Downloader | social-downloader | Social Downloader |
| AI PDF Summarizer | pdf-summarizer | |
| AI Image Upscaler | image-upscaler | Image |
Usage Limits
| Tier | Rate Limit | Max Size |
|---|---|---|
| Free Tier | 60 requests / min | 100 MB / file |
| Pro API | Unlimited | 2 GB / file |
Code Example (Node.js)
const response = await fetch('https://convertstream.vercel.app/api/operations', {
method: 'POST',
headers: {
'Content-Type': 'application/json',
'Authorization': 'Bearer YOUR_TOKEN'
},
body: JSON.stringify({
operation: 'merge-pdf',
files: [fileA, fileB],
options: { optimize: true }
})
});
const result = await response.json();