Limitations
What you'll get: the rate limits, upload rules and account limits that apply to the API.
The public API is in beta and is being actively developed. Some features of the website aren't available through the API yet.
Rate limits
You can make up to 100 requests per minute per account, shared across all of your API keys. Each client address is also limited to 100 requests per minute, whatever key is sent. Several people behind one network address, such as a university or company gateway, share that limit.
Past the limit, requests are refused with status 429 and "Please slow down, you are making too many requests." until the minute is up. Uploads are one file per request, so a bulk upload reaches the limit quickly: wait and retry, as in the examples.
Uploads
The only way to upload through the API is from your own computer, one file per request, up to 5 GB. Other ways the website supports, such as S3 import, Google Drive and Dropbox, aren't available through the API.
These image formats work as a single-file upload through the API:
png
jpg and jpeg
tif and tiff
svs
ndpi
vms
vmu
scn
svslide
bif
The extension must be in lower case (.tif, not .TIF), and the file name may contain only letters, numbers, spaces, _, - and ..
Files in other formats can still be analysed through the API if you uploaded them through the website.
Account limits still apply
The API uses the same limits as the app: the upload limits, your storage limit, your credits, and the 400 MB of free storage needed to start an analysis.
Last updated