Parameters
This page contains all the input and output parameters.
Input Parameters
pdf_url
string, pass an url where pdf is uploaded.
file
blob, if you want to pass an file as input for processing. File limit - 50 MB.
api_key
string, pass an api key, for testing purpose you can set it as free like below - {"api_key" : "free"}
detect_lang
boolean, by default false. Detect language. If set to true then in the response you will have a key like this for detected language {"detected_lang" : "en"}
Sample inputs
For sample input, go to Programming Languages or Web and Mobile frameworks.
Output Parameters
text
string, this is extracted pdf content
processing_time
string, total processing time
metadata.source_type
string, this has two possible responses, if you send pdf_url as input, then source_type will be URL and if you send file as input for processing then source_type will be File
metadata.source_info
string, if pdf url is uploaded then you will get pdf url in response and if file is uploaded then the response will be Uploaded file.
metadata.page_count
number, no of pages in pdf
Sample Ouput
With url
With PDF file
Last updated