Code examples
The same six examples in six languages, ready to copy: set your key and run.
Pick your language
Each page has the six examples in that language.
What each page shows
From the first request to handling every answer.
Your first call
Sends the hosted sample certificate (fictitious data) and prints the JSON answer.
A local file in base64
Reads an image from your machine and sends it in base64, with no public URL needed.
An image outside our standard
With resizeImage: true, an image outside our size standard is resized on our side for 1 credit more, instead of refused.
The fast engine
Asks for the fast engine: it is tried first, at its own price, and the standard engines answer when it cannot. The answer names the engine that answered and what it cost.
Errors and retries
Handles every answer and retries with the same requestId: for 15 minutes, a repeat of a finished request gets the same answer at no charge, and a repeat of one still running gets a 409, to wait.
Prices
Reads the price of an extraction in credits, per engine and for resizeImage. No key needed.
Ready to start?
Create your account, get free credits and run the first example with your key.