RapidAPI logo

Sign Up

Log In

doxcan

FREEMIUM
By bazzilic
Updated 2 months ago
Tools
-/10
Popularity Score
-
Latency
-
Success Rate

doxcan API Documentation

This API allows you to convert an photo of a document into a scan of a document! You can write your own camera scanner app! Improves quality, cleans up, does perspective transformation - all that to produce amazing results! Check it out yourself!

View API Details

Supercharge your App

Discover and connect to thousands of APIs in the world's largest API Hub
POSTUpload image
GET/image/download/{job_id}
GETDownload the processed image
POSTUpload image

Corner marks show how to do a perspective transformation. Each corner mark coord is in range [0.0; 1.0] where (0.0; 0.0) is upper left corner. Basically, after transformation a left-upper mark will move to the left-upper corner, etc. You can head over to http://doxcan.com/ and check out how this works.

FreemiumThis API has a free, limited plan and paid plans. You can subscribe directly to it from RapidAPI.
Sign up to test this endpoint
Log in
Header Parameters
X-RapidAPI-HostSTRING
REQUIRED
X-RapidAPI-KeySTRING
REQUIRED
Required Parameters
imageBINARY
REQUIRED
Optional Parameters
LUxNUMBER
OPTIONALLeft-upper corner, X coord
LUyNUMBER
OPTIONALLeft-upper corner, Y coord
RUxNUMBER
OPTIONALRight-upper corner, X coord
RUyNUMBER
OPTIONALRight-upper corner, Y coord
LDxNUMBER
OPTIONALLeft-bottom corner, X coord
LDyNUMBER
OPTIONALLeft-bottom corner, Y coord
RDxNUMBER
OPTIONALRight-bottom corner, X coord
RDyNUMBER
OPTIONALRight-bottom corner, Y coord
Request Snippet
unirest.post("https://bazzilic-doxcan-v1.p.rapidapi.com/image/upload")
.header("X-RapidAPI-Host", "undefined")
.header("X-RapidAPI-Key", "undefined")
.header("Content-Type", "application/x-www-form-urlencoded")
.send("LUx=undefined")
.send("LUy=undefined")
.send("RUx=undefined")
.send("RUy=undefined")
.send("LDx=undefined")
.send("LDy=undefined")
.send("RDx=undefined")
.send("RDy=undefined")
.end(function (result) {
  console.log(result.status, result.headers, result.body);
});
Sample Response

loading...

Log inSign up

Install SDK for NodeJS

Installing

To utilize unirest for node.js install the the npm module:

$ npm install unirest

After installing the npm package you can now start simplifying requests like so:

var unirest = require('unirest');

Creating Request

unirest.post("https://bazzilic-doxcan-v1.p.rapidapi.com/image/upload")
.header("X-RapidAPI-Host", "undefined")
.header("X-RapidAPI-Key", "undefined")
.header("Content-Type", "application/x-www-form-urlencoded")
.send("LUx=undefined")
.send("LUy=undefined")
.send("RUx=undefined")
.send("RUy=undefined")
.send("LDx=undefined")
.send("LDy=undefined")
.send("RDx=undefined")
.send("RDy=undefined")
.end(function (result) {
  console.log(result.status, result.headers, result.body);
});
OAuth2 Authentication
Client ID
Client Secret
OAuth2 Authentication