REST web API

The REST web API allows developers direct access to our online conversions. It provides easy access to all conversion functionalities available at aconvert.com. Please feel free to contact us if you have any questions, comments, bug reports or customized requests.

Our REST web API is designed as easy-to-use as possible. With this API you can easily integrate a file conversion service on your website, app or software in a few minutes.

API URL:

We provide REST web API on both Windows server and Linux server.

The API URL of Windows server: http://s2.aconvert.com/convert/api-win.php
The API URL of Linux server: http://s3.aconvert.com/convert/api-linux.php

API Input:

To start a conversion it requires basic inputs include source file and target format. Other inputs are optional.

Name Format Type Description
file file necessary The source file you want to convert.
targetformat text necessary The target format you want to convert to.
key text optional Enter your key to remove limitations.
url text optional The URL of online file you want to convert.
code number optional The code number to specify conversion type. The API will automatically determine conversion type based on source file format and target file format unless you specify the conversion type.
86000: Document; 87000: Ebook; 83000: Image; 84000: Icon; 81000: Video; 82000: Audio.

API Output:

Using the GET method to get information about the status of the conversion, either success or failed.

Status Result
Success Return the URL of output files.
Error Return the error message.

API Key:

The API is limited to convert file less than 1M and for personal use only. To remove limitations you much purchase a API key. You can click the button below to make a purchase. You will get an email with key information in 24 hours after purchasing.

Months

We also provide customized services. For example: Add a specific conversion function. API URL uses your company's domain or sub-domain, deploy API on a dedicated server or VPS that your company uses only. Contact us at support@aconvert.com if you need customized services.

Sample Form:

This is a sample form shows how to convert PDF file using REST web API. Add a file, select target format, click submit button and wait for a few seconds.

API Key:

Local file:

Target format:

Conversion Results:

Sample Code:

The sample html source codes to use REST web API. You can save the source codes to a html file and test it.