API Documentation
Unlock insights from documents with machine learning.
Getting started
The Recognic APIs allows you to programmatically extract the document data. On this page, you will discover a prologue to the API use from an engineer viewpoint and a reference to all the API objects and methods. The APIs are totally RESTful and all the responses are returned in JSON.
API Gateways
Recognic permits you to process documents utilizing these APIs. You can transfer your document with an HTTP POST request, or by giving a public URL which can be utilized to bring the archive.
API Parameters
We offer a few alternatives to import a doc to recognic to make it simple and feasible for you to incorporate recognic into your current work process.
You will need to pass the image as multipart/form-data in an HTTP POST request (see sample requests in each category below). Your file input must adhere to the following criterias,
File type supported:Varies from document to document (inspect categories below for more details)
File type supported for extraction through URL: jpg/jpeg/png, pdf
Maximum file size:10Mb
Maximum zip file size:25Mb
India
KYC
Effective Endpoint
Supported Documents & Formats
Document | Front | Back | jpg/jpeg/png | tiff | |
Aadhaar | |||||
PAN | |||||
Driving license | |||||
Passport | |||||
Voter ID |
Notes
- Multiple KYC documents in a single file is supported, provided each KYC document is on a separate page.
- Front & back images on the same page are supported as long as images belong to the same document type.
- Cheques
- We Support only printed A/C numbers on cheques.
- Joint account holder names - Only single name is extracted.
- Try to avoid Xeroxed photocopy as the watermark might get mixed with the output result.
- Passport
- Side-by Side image of the front and backside is not supported. One below the other works fine
- DIGILOCKER - Documents exported from Digilocker are not supported yet.
- Data extracted from the QR code may not be the same as it is visible on the document
Sample Request
--include
--request POST
--url 'https://india.recognic.ai/bfsi/kyc/?API_KEY=<
--header 'Content-Type: multipart/form-data'
--form image=@<
Financial Documents
Effective Endpoint
Supported Documents & Formats
Document | Single Page PDF | Multi Page PDF | jpg/jpeg/png | tiff | |
Cheque | |||||
ITR 1,2,3,4,4S | |||||
ITR Sahaj | |||||
Form 16 | |||||
Bank Statement |
Sample Request
--include
--request POST
--url 'https://india.recognic.ai/bfsi/fin_docs/?API_KEY={{YOUR_API_KEY}}'
--header 'Content-Type: multipart/form-data'
--form image=@{{YOUR_FILE_PATH}}
Lending
Effective Endpoint
Supported Documents & Formats
Document | jpg/jpeg/png | tiff |
Audit Reports |
Sample Request
--include
--request POST
--url 'https://india.recognic.ai/bfsi/lending_docs/?API_KEY={{YOUR_API_KEY}}'
--header 'Content-Type: multipart/form-data'
--form image=@{{YOUR_FILE_PATH}}
SEA
KYC-SINGAPORE
Effective Endpoint
Supported Documents & Formats
Document | jpg/jpeg/png | tiff | |
Hong Kong Identity Number (HKID) | |||
Hong Kong Passport | |||
Singapore Passport |
Sample Request
--include
--request POST
--url 'https://sea.recognic.ai/bfsi/identity_docs/?API_KEY={{YOUR_API_KEY}}'
--header 'Content-Type: multipart/form-data'
--form image=@{{YOUR_FILE_PATH}}
KYC-INDONESIA
Effective Endpoint
Supported Documents & Formats
Document | jpg/jpeg/png | tiff | |
Indonesia ID (KTPID) |
Sample Request
--include
--request POST
--url 'https://sea.recognic.ai/bfsi/ktpid/?API_KEY={{YOUR_API_KEY}}'
--header 'Content-Type: multipart/form-data'
--form image=@{{YOUR_FILE_PATH}}
USA
Bank Statements
Effective Endpoint
Supported Documents & Formats
Document | jpg/jpeg/png | tiff | |
Bank Of America | |||
Capital One | |||
Chase | |||
WellsFargo | |||
Citi |
Sample Request
--include
--request POST
--url 'https://usa.recognic.ai/bfsi/identity_docs/?API_KEY={{YOUR_API_KEY}}'
--header 'Content-Type: multipart/form-data'
--form image=@{{YOUR_FILE_PATH}}
Credit Profile
Effective Endpoint
Supported Documents & Formats
Document | jpg/jpeg/png | tiff | |
Credit Reports |
Sample Request
--include
--request POST
--url 'https://usa.recognic.ai/bfsi/credit_report/?API_KEY={{YOUR_API_KEY}}'
--header 'Content-Type: multipart/form-data'
--form image=@{{YOUR_FILE_PATH}}
Taxation
Effective Endpoint
Supported Documents & Formats
Document | jpg/jpeg/png | tiff | |
V1 | |||
V2 |
Sample Request
--include
--request POST
--url 'https://usa.recognic.ai/bfsi/w2_forms/?API_KEY={{YOUR_API_KEY}}'
--header 'Content-Type: multipart/form-data'
--form image=@{{YOUR_FILE_PATH}}
Logistics
Effective Endpoint
Supported Documents & Formats
Document | jpg/jpeg/png | tiff | |
Commercial Invoice | |||
Proforma Invoice |
Sample Request
--include
--request POST
--url 'https://usa.recognic.ai/logistics/invoice/?API_KEY={{YOUR_API_KEY}}'
--header 'Content-Type: multipart/form-data'
--form image=@{{YOUR_FILE_PATH}}
Lending
Schedule E Form 1040
Effective Endpoint
Closing disclosure
Effective Endpoint
SSA-1099
Effective Endpoint
W2
Effective Endpoint
W9
Effective Endpoint
Tax Returns Page 1,2 Form 1040
Effective Endpoint
Supported Documents & Formats
Document | jpg/jpeg/png | tiff | |
Schedule E Form 1040 | |||
Closing disclosure | |||
SSA-1099 | |||
W2 | |||
W9 | |||
Tax Returns Page 1,2 Form 1040 |
Sample Request
--include
--request POST
--url 'https://usa.recognic.ai/lending/schedule_e_1040/?API_KEY={{YOUR_API_KEY}}'
--header 'Content-Type: multipart/form-data'
--form image=@{{YOUR_FILE_PATH}}
Healthcare
Tumor Segmentation
Effective Endpoint
Supported Documents & Formats
Document | jpg/jpeg/png | tiff | |
Brain MRI |
Sample Request
--include
--request POST
--url 'https://usa.recognic.ai/healthcare/tumor_segmentation/?API_KEY={{YOUR_API_KEY}}'
--header 'Content-Type: multipart/form-data'
--form image=@{{YOUR_FILE_PATH}}
UK
Identity Documents
Effective Endpoint
Supported Documents & Formats
Document | jpg/jpeg/png | tiff | |
Driving Licence | |||
Passport |
Sample Request
--include
--request POST
--url 'https://uk.recognic.ai/bfsi/uk_kyc/?API_KEY={{YOUR_API_KEY}}'
--header 'Content-Type: multipart/form-data'
--form image=@{{YOUR_FILE_PATH}}
UAE
Arab Driving License
Common Guidelines
To get the most out of Recognic APIs make sure to adhere to these suggestions,
- While capturing an image of a document please make sure the background is white / no overlapping text / plain background.
- Avoid screenshots of documents.
- PDFs should be primarily system generated. If PDFs contain scanned images they should be of reasonably good quality.
API Errors
Successful responses are returned with HTTP Status code 200. Failure returns a JSON error response with the parameters that detail the reason for the failure. The errors are classified in to following categories,
-
Gateway errors
Reason Status Status Code API Key Expired Unauthorized 401 API Key Revoked Unauthorized 401 Invalid Authentication Type Unauthorized 401 Invalid API Key Provided Unauthorized 401 Spike Arrest Violation Too Many Requests 429 -
Consumption errors
Reason Status Status Code Input File Not Provided Unauthorized 400 Bad Quality Document Provided Unauthorized 400 Invalid Image Provided Unauthorized 400 Internal Server Error Unauthorized 500
Try the demo
Upload a document (like an identity card, bank statement or forms) and see the structured data extracted.
Explore product