Vertopal
Developer API

Vertopal API

Reliable & High-Performance File Conversion API

Create reliable desktop, mobile, and web applications using our powerful file conversion API.

Code Snippets

Our file conversion API can be seamlessly integrated into your project using the code snippets we provide for different programming languages. Get started with our libraries today and streamline your file conversion process.

HTTP
cURL
CLI
Python
PHP
# -- AFTER UPLOAD TASK --
POST https://api.vertopal.com/v1/convert/file
Authorization: Bearer [APP_TOKEN]

data={
    "app": "[APP_ID]",
    "connector": "[CONNECTOR]",
    "include": ["entity", "payload", "result"],
    "parameters": {
        "output": "jpg"
    }
}
# -- BEFORE DOWNLOAD TASK --
# -- AFTER UPLOAD TASK --
curl -L -X POST 'https://api.vertopal.com/v1/convert/file' \
-H 'Authorization: Bearer [APP_TOKEN]' \
-F 'data={
    "app": "[APP_ID]",
    "connector": "[CONNECTOR]",
    "include": ["entity", "payload", "result"],
    "parameters": {
        "output": "jpg"
    }
}'
# -- BEFORE DOWNLOAD TASK --
# -- AFTER UPLOAD TASK --
vertopal api -v 1 convert/file \
--app "[APP_ID]" \
--token "[APP_TOKEN]" \
-F data='{
    "app": "%app-id%",
    "connector": "[CONNECTOR]",
    "include": ["entity", "result"],
    "mode": "async",
    "parameters": {
        "output": "jpg"
    }
}'
# -- BEFORE DOWNLOAD TASK --
import vertopal

converter = vertopal.Converter(
    "sample.png",
    app="[APP_ID]",
    token="[APP_TOKEN]",
)
converter.convert("jpg")
converter.wait()
if converter.is_converted():
    converter.download()
use Vertopal\API\Credential;
use Vertopal\API\Converter;

require "vendor/autoload.php";

$credential = new Credential("[APP_ID]", "[APP_TOKEN]");

$converter = new Converter("sample.png", $credential);
$converter->convert("jpg");
$converter->wait();
if ($converter->isConverted()) {
    $converter->download();
}

Vertopal API Features

Top Security

HTTPS, SSL, and TLS are used to securely encrypt communication and file transfers to our servers.

Data Protection & Privacy

Vertopal is based in Switzerland and we are bound to strict European data protection rules (GDPR), the toughest privacy and security law in the world.

+350 Formats

Supporting more than 350 formats and tens of thousands different conversions, Vertopal is your Swiss Army Knife.

Try It Free

Take advantage of our daily free vCredits and development mode to entirely test the Vertopal API platform before making any payments.

{
    "entity": {
        "id": "[ENTITY_ID]",
        "type": "task",
        "endpoint": "v1/convert/file",
        "status": "running",
        "vcredits": 0,
        "created_at": "2023-03-23 15:20:05",
        "started_at": "2023-03-23 15:20:07",
        "completed_at": null
    },
    "result": {
        "output": {},
        "error": {},
        "warning": {}
    }
}

Developer Friendly

Async or Sync

Choose between asynchronous or synchronous file conversion API on the go. Design more flexible applications depending on your needs.

Well Documented

Get started quickly with our extensive API Documentation and free technical support.

API Library & Tools

We try to provide code snippets and open source libraries for different programming languages to help you get started even faster.

Vertopal API Libraries

Vertopal offers client libraries and tools to simplify the implementation of file conversion in your projects.

Vertopal CLI

Python Library

Install using pip:
python -m pip install --upgrade vertopal

PHP Library

Install using Composer:
composer require vertopal/vertopal-php
0
0$ / one-time

These vCredits do not expire.

You can then spend vCredits on premium plans per each minute of conversion.

Would you like to try it out first without payment? Join and collect daily vCredits for free.

Loading, Please Wait...