Home > Products Online > VeryPDF Cloud API
VeryPDF Cloud API

 

VeryPDF Cloud API Platform

 

  • Cloud API to convert Office documents to PDF files
  • Cloud API to convert PDF files to image and other formats
  • Cloud API to process PDF files
  • 20+ APIs and 200+ parameters (more)
Download Cloud API SDK Subscribe VeryPDF Cloud API
 
$19.95 / month

This page is a brief guide of VeryPDF Cloud API. Developers can use VeryPDF Cloud API to perform Document Conversion, PDF Processing, OCR (optical character recognition), PDF Conversion, etc. operations in their applications. The following words introduce the basic usage of the API.

1. Register for an APIKEY 2. Use GET method for Cloud API 3. Frequently Asked Questions

Register for an API key

Before using VeryPDF Cloud API, you need an API key for authentication. You need Just two steps to get an APIKEY,
Step 1: Register an account on registration page (http://online.verypdf.com/wp-login.php?action=register),
Step 2: Get an APIKEY on http://online.verypdf.com/wp-admin/accountinfo.php page,

You may also refer the guide for registration of VeryPDF Cloud API.

Use GET method for VeryPDF Cloud API

Use GET method for VeryPDF Cloud API. This guide takes PHP code as demonstration to show you the GET method to use VeryPDF Cloud API.

The following are partial demonstration URLs to illustrate the basic usage of VeryPDF Cloud API.

Cloud PDF Processing APIs
http://online.verypdf.com/api/?apikey=XXXX-XXXX-XXXX-XXXX&app=pdftools&infile=http://online.verypdf.com/examples/cloud-api/verypdf.pdf&-f=1&-l=1&outfile=out.jpg
http://online.verypdf.com/api/?apikey=XXXX-XXXX-XXXX-XXXX&app=pdftools&infile=http://online.verypdf.com/examples/cloud-api/verypdf.pdf&-f=1&-l=1&outfile=out.png
http://online.verypdf.com/api/?apikey=XXXX-XXXX-XXXX-XXXX&app=pdftools&infile=http://online.verypdf.com/examples/cloud-api/verypdf.pdf&outfile=out.png&-r=72
http://online.verypdf.com/api/?apikey=XXXX-XXXX-XXXX-XXXX&app=pdftools&infile=http://online.verypdf.com/examples/cloud-api/verypdf.pdf&outfile=out.jpg&-width=100&-height=100
http://online.verypdf.com/api/?apikey=XXXX-XXXX-XXXX-XXXX&app=pdftools&infile=http://online.verypdf.com/examples/cloud-api/verypdf.pdf&outfile=out.jpg

Cloud HTML to PDF Converter APIs
http://online.verypdf.com/api/?apikey=XXXX-XXXX-XXXX-XXXX&app=html2pdf&infile=http://www.verypdf.com&outfile=verypdf.pdf

Cloud HTML to Image Converter APIs
http://online.verypdf.com/api/?apikey=XXXX-XXXX-XXXX-XXXX&app=html2image&infile=http://www.verypdf.com&outfile=verypdf.jpg
http://online.verypdf.com/api/?apikey=XXXX-XXXX-XXXX-XXXX&app=html2image&infile=http://www.verypdf.com&outfile=verypdf.jpg&--width=300&--height=300
http://online.verypdf.com/api/?apikey=XXXX-XXXX-XXXX-XXXX&app=html2image&infile=http://www.verypdf.com&outfile=verypdf.png

Cloud Image Format Converter and Image Processing APIs
http://online.verypdf.com/api/?apikey=XXXX-XXXX-XXXX-XXXX&app=imageproc&infile=http://online.verypdf.com/examples/cloud-api/verypdf.png&outfile=out.jpg&-resize=300x300!

Cloud Office Document Formats to PDF and Image Converter APIs
http://online.verypdf.com/api/?apikey=XXXX-XXXX-XXXX-XXXX&app=doc2any&infile=http://online.verypdf.com/examples/cloud-api/verypdf.doc&outfile=verypdf.pdf
http://online.verypdf.com/api/?apikey=XXXX-XXXX-XXXX-XXXX&app=doc2any&infile=http://online.verypdf.com/examples/cloud-api/verypdf.xls&in_ext=.xls&outfile=verypdf.pdf
http://online.verypdf.com/api/?apikey=XXXX-XXXX-XXXX-XXXX&app=doc2any&infile=http://online.verypdf.com/examples/cloud-api/verypdf.ppt&outfile=out.pdf
http://online.verypdf.com/api/?apikey=XXXX-XXXX-XXXX-XXXX&app=doc2any&infile=http://online.verypdf.com/examples/cloud-api/verypdf.docx&outfile=out.pdf
http://online.verypdf.com/api/?apikey=XXXX-XXXX-XXXX-XXXX&app=doc2any&infile=http://online.verypdf.com/examples/cloud-api/verypdf.xlsx&outfile=out.pdf
http://online.verypdf.com/api/?apikey=XXXX-XXXX-XXXX-XXXX&app=doc2any&infile=http://online.verypdf.com/examples/cloud-api/verypdf.pptx&outfile=out.pdf
http://online.verypdf.com/api/?apikey=XXXX-XXXX-XXXX-XXXX&app=doc2any&infile=http://online.verypdf.com/examples/cloud-api/verypdf.rtf&outfile=out.pdf

 

PHP Code to call VeryPDF Cloud API:


<?php
//The Code
/* gets the data from a URL */
function get_data($url)
{
    $ch = curl_init();
    $timeout = 5;
    curl_setopt($ch, CURLOPT_URL, $url);
    curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
    curl_setopt($ch, CURLOPT_CONNECTTIMEOUT, $timeout);
    $data = curl_exec($ch);
    curl_close($ch);
    return $data;
}

//The Usage
$returned_content = get_data('http://online.verypdf.com/api/?apikey=XXXX-XXXX-XXXX-XXXX&app=html2image&infile=http://www.verypdf.com&outfile=verypdf.jpg');
echo $returned_content;
?>

 

CURL Example for VeryPDF Cloud API:


curl 'http://online.verypdf.com/api/?apikey=XXXX-XXXX-XXXX-XXXX&app=html2image&infile=http://www.verypdf.com&outfile=verypdf.jpg'
curl --request GET 'http://online.verypdf.com/api/?apikey=XXXX-XXXX-XXXX-XXXX&app=html2image&infile=http://www.verypdf.com&outfile=verypdf.jpg'

 

C# Example for VeryPDF Cloud API:


using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using System.Runtime.Serialization;
using System.Net;
using System.IO;

namespace WindowsFormsApplication1
{
    public partial class Form1 : Form
    {
        public Form1()
        {
            InitializeComponent();
        }
        private void button1_Click(object sender, EventArgs e)
        {
            string url = "http://online.verypdf.com/api/?apikey=XXXX-XXXX-XXXX-XXXX&app=html2image&infile=http://www.verypdf.com&outfile=verypdf.jpg";
            WebRequest request = HttpWebRequest.Create(url);
            WebResponse response = request.GetResponse();
            StreamReader reader = new StreamReader(response.GetResponseStream());
            string urlText = reader.ReadToEnd();
            MessageBox.Show(urlText);
        }
    }
}

 

VB.NET Example for VeryPDF Cloud API:


Imports System.IO
Imports System.Net

Module Module1
    Sub Main()
        'Address of URL
        Dim URL As String = "http://online.verypdf.com/api/?apikey=XXXX-XXXX-XXXX-XXXX&app=html2image&infile=http://www.verypdf.com&outfile=verypdf.jpg"
        ' Get HTML data
        Dim client As WebClient = New WebClient()
        Dim data As Stream = client.OpenRead(URL)
        Dim reader As StreamReader = New StreamReader(data)
        Dim str As String = ""
        str = reader.ReadLine()
        Do While str <> Nothing
            Console.WriteLine(str)
            str = reader.ReadLine()
        Loop
    End Sub
End Module

 

In the above demonstration code, you can call VeryPDF Cloud API and execute document formats conversion and processing easily, your servers are needn't install any software.


Sever reply

Successful process:
HTTP header status code: 200
Return one or more URLs for the processed files, you can download them to your local disk.

Error:
If error occurs, VeryPDF Cloud server will return standard error codes to indicate the error types.

Frequently Asked Questions

Q: Do I need to install something in order to use VeryPDF Cloud API?
  A: No, you need install nothing, everything will be done on our Cloud Server Platform.
Q: Can VeryPDF Cloud API retain document formats and layouts?
  A: Yes, of course. VeryPDF Cloud API will retain document formats and layouts as possible as we can.
Q: What APPs and Options are supported by VeryPDF Cloud API?
  A: Good question, you may look at following web page to understand what APPs are supported by Cloud API, http://online.verypdf.com/api/, we will continue to add more and more APPs, if you need a function which not supported by current version of Cloud API platform, please feel free contact us, we will add it for you asap.
Q: Can I call VeryPDF Cloud API from my Desktop applications?
  A: Off couse, you can call VeryPDF Cloud API from your Desktop applications. Our Cloud API is available virtually on any platform that supports HTTP.
Q: How do I request a feature?
  A: Please share your feature request with us on VeryPDF Support Center. We will track feature requests as asap.
Q: How do I file a bug?
  A: Please send the bug to us on VeryPDF Support Center. We will investigate issues asap.
Q: Where can I get an API Key?
  A: You need Just two steps to get an API Key,
Step 1: Register an account on registration page (http://online.verypdf.com/wp-login.php?action=register),
Step 2: Get an APIKEY on http://online.verypdf.com/wp-admin/accountinfo.php page,
Q: Can I try the VeryPDF Cloud API for free before signing up for a plan?
  A: Yes, you can try VeryPDF Cloud API for free, but the trial version does insert a demo watermark into output file.
Q: Do I need to pay for all APIs separately?
  A: No, you needn't pay for each API, once you signing up a plan, you can use all APIs in VeryPDF Cloud API Platform.
Q: Can I require a dedicated server for my company only?
  A: Yes, we do provide this special service, please feel free to send us your detailed requirements on VeryPDF Support Center, we will figure out a solution to you asap.
Q: How do you handle temporary files on your server?
  A: All of our servers will delete all temporary files every 24 hours automatically. No human will access to your temporary files. If you need to delete a file quickly, please feel free to let us know, we will delete it by manual.
Q: Will VeryPDF Cloud API platform support Load Balancing?
  A: Yes, VeryPDF Cloud API platform does support Load Balancing, we are continue to add more servers to enhance the stability of our cloud service.

Online Cloud API

Discount 45% ($49.90) to buy PDF to Word Converter, PDF to Excel Converter, and PDF to PowerPoint Converter.

Relative OCR Products

 
  See other products   Download Cloud API SDK   Buy Points
 
 You may like these products
Image to PDF OCR Converter
Image to PDF OCR Converter

$299.00

Convert images to searchable textual PDF with Optical Character Recognition. It can also convert images to editable PDF by command line.

try buy
PDF to Word OCR Converter
VeryPDF PDF to Word OCR Converter

$59.95

Recognize characters in scanned image PDF and save as Word. It supports batch process that can convert multiple PDF one time.

try buy
Scan to Word OCR Converter
Scan to Word OCR Converter

$79.95

Recognize characters from scanned files and scanners and save as Word. The application can retain the original layout perfectly.

try buy