Getting Started

Learn how to integrate the Kantesti Blood Test API into your application in just a few steps.

Overview

The Kantesti Blood Test API provides AI-powered blood test analysis with support for 100+ languages. Our API uses advanced neural network technology to deliver specialist-level medical insights in under 60 seconds.

Base URL

All API requests should be made to:

https://app.aibloodtestinterpret.com

Quick Start

Follow these steps to make your first API request:

  1. Get your API credentials - Contact us or use your existing account credentials
  2. Choose an endpoint - Start with the sandbox for testing
  3. Prepare your request - Include credentials and upload a file
  4. Parse the response - Handle the JSON analysis results

Your First Request

Let's make a simple sandbox request to test your credentials. The sandbox endpoint returns test data without consuming your quota.

Using cURL

curl -X POST "https://app.aibloodtestinterpret.com/api/v11/01-06-2025/sandbox" \
  -F "username=YOUR_USERNAME" \
  -F "password=YOUR_PASSWORD" \
  -F "language=en" \
  -F "file=@blood_test.pdf"

Using Python

import requests

url = "https://app.aibloodtestinterpret.com/api/v11/01-06-2025/sandbox"

files = {
    'file': ('blood_test.pdf', open('blood_test.pdf', 'rb'), 'application/pdf')
}

data = {
    'username': 'YOUR_USERNAME',
    'password': 'YOUR_PASSWORD',
    'language': 'en'
}

response = requests.post(url, files=files, data=data)
print(response.json())

Using JavaScript (Node.js)

const FormData = require('form-data');
const fs = require('fs');
const fetch = require('node-fetch');

const form = new FormData();
form.append('username', 'YOUR_USERNAME');
form.append('password', 'YOUR_PASSWORD');
form.append('language', 'en');
form.append('file', fs.createReadStream('blood_test.pdf'));

fetch('https://app.aibloodtestinterpret.com/api/v11/01-06-2025/sandbox', {
  method: 'POST',
  body: form
})
.then(res => res.json())
.then(data => console.log(data));

Example Response

A successful response looks like this:

{
  "status": "success",
  "data": {
    "metadata": {
      "lab_name": "BioLAB Medical Center",
      "lab_date": "2025-05-11",
      "patient_age": "45",
      "patient_sex": "Male"
    },
    "parameters": [
      {
        "short_name": "WBC",
        "long_name": "White Blood Cell Count",
        "result": 4.3,
        "unit": "10^9/l",
        "evaluation": "normal",
        "range_normal_min": 4.0,
        "range_normal_max": 10.0
      }
    ],
    "interpretation": [
      {
        "title": "Overall Health Assessment",
        "shortcode": "overall_health_assessment",
        "subsections": [...]
      }
    ]
  },
  "sandbox": true,
  "api_version": "v11",
  "timestamp": "2025-12-22T10:30:00Z"
}

Supported File Types

Format Extension Notes
PDF .pdf Recommended for multi-page documents
PNG .png High-quality images
JPEG .jpg, .jpeg Standard photos
WebP .webp Modern format, smaller file size
Important

You cannot mix PDF files with images in the same request. Upload either a single PDF or multiple images.

Next Steps