REST · JSON · POST
Blood test AI API for developers and clinics
Upload a lab report as PDF or photo and receive every parameter with its reference range and evaluation, the report metadata and a written interpretation, as JSON.
POST /api/v12/18-09-2026/analyze
Key capabilities
The Blood Test AI API (Blood Test Analysis v12) reads a laboratory report and returns it as structured data plus a clinical interpretation in any of 100 supported languages. A second endpoint with the same request adds a health score and a disease risk analysis. It is the lab report API the other modules build on: its parameters array is the input of the body map, biological age, nutrition and trend APIs.
Structured JSON
Stable English keys and codes, with text in the language you request.
Free sandbox
The sandbox endpoint returns a sample response in the shape of the live one and uses no credits.
One credit per call
A successful analyze call uses one credit. Sandbox calls are free.
API key authentication
Send your key as a Bearer token in the Authorization header. Never put a key in a URL.

Example request and response
POST /api/v12/18-09-2026/analyze Live
POST /api/v12/18-09-2026/sandbox Sandbox
POST /api/v12/health-score/analyze Live
POST /api/v12/health-score/sandbox Sandbox
curl -X POST "https://app.aibloodtestinterpret.com/api/v12/18-09-2026/sandbox" \
-H "Authorization: Bearer kt_live_YOUR_API_KEY" \
-F "language=en" \
-F "file=@report.pdf"
import requests
resp = requests.post(
"https://app.aibloodtestinterpret.com/api/v12/18-09-2026/sandbox",
headers={"Authorization": "Bearer kt_live_YOUR_API_KEY"},
data={"language": "en"},
files={"file": open("report.pdf", "rb")},
timeout=60,
)
print(resp.json())
const form = new FormData();
form.append("language", "en");
form.append("file", fileInput.files[0]); // your PDF or photo
const resp = await fetch("https://app.aibloodtestinterpret.com/api/v12/18-09-2026/sandbox", {
method: "POST",
headers: { Authorization: "Bearer kt_live_YOUR_API_KEY" },
body: form,
});
console.log(await resp.json());
<?php
$ch = curl_init('https://app.aibloodtestinterpret.com/api/v12/18-09-2026/sandbox');
curl_setopt_array($ch, [
CURLOPT_POST => true,
CURLOPT_RETURNTRANSFER => true,
CURLOPT_HTTPHEADER => ['Authorization: Bearer kt_live_YOUR_API_KEY'],
CURLOPT_POSTFIELDS => [
'language' => 'en',
'file' => new CURLFile('report.pdf'),
],
]);
$result = json_decode(curl_exec($ch), true);
curl_close($ch);
print_r($result);{
"status": "success",
"data": {
"metadata": {
"patient_name": "Jan Novák",
"lab_city": "Prague",
"lab_country": "Czech Republic",
"lab_date": "2025-05-11",
"lab_name": "BioLAB Medical Center",
"patient_age": "45",
"patient_sex": "Male",
"results_date": "2025-05-26"
},
"parameters": [
{
"short_name": "PT Ratio",
"long_name": "Prothrombin Time Ratio",
"category": "Coagulation",
"result": 0.94,
"unit": null,
"evaluation": "optimal",
"type": "range",
"range_min": 0.5,
"range_max": 1.5,
"range_normal_min": 0.8,
"…": "+5"
},
"… +3"
],
"interpretation": [
{
"title": "Introduction",
"shortcode": "introduction",
"subsections": [
"…"
]
},
"… +3"
]
},
"timestamp": "2026-11-30T12:00:00.000000Z",
"api_version": "v12",
"sandbox": true,
"sandbox_notice": "This is sandbox test data. No actual analysis was performed."
}Sandbox response, shortened for this page. The playground shows the full body. Sample data only. No real patient data is sent or stored.
Inputs and outputs
What you send
A
multipart/form-datarequest with one or morefilefields: a blood test image (PNG, JPG, WEBP) or a PDF, up to 20 MB. Optional:language(defaulten) andpdf_passwordfor encrypted PDFs.What you get back
data.metadata(patient, laboratory, lab date and results date),data.parameters(short and long name, result, unit, reference range,range_normal_min/range_normal_max,typeand anevaluationsuch asnormal,highorlow) anddata.interpretation(sections with ashortcodeand text). JSON keys and codes stay in English.

Use cases
Turn uploaded lab reports into structured lab results in a patient portal or health app.
Explain results to patients in their own language from one request.
Feed the extracted parameters into the body map, biological age, nutrition or trend APIs.
Add a health score to a report with the health score endpoint.
Who uses this API
Sectors that typically integrate this module.
Doctors
Physicians and private practices
Laboratories
Clinical and diagnostic laboratories
Hospitals
Hospitals and hospital groups
Clinics
Clinics and polyclinics
Questions
Which files does the blood test API accept?
Blood test images (PNG, JPG, WEBP) and PDFs up to 20 MB. You can repeat the file field to send several images of one report, and pass a password for an encrypted PDF.
In which languages is the interpretation written?
In any of the 100 supported languages, chosen with the language parameter. Without it the response is in English.
How is a blood test API call priced?
One request uses one credit. The sandbox endpoints return sample data and do not consume quota.
Does the blood test API give a diagnosis?
No. It returns AI-supported educational information. It is not a diagnosis, not a medical device, and does not replace a physician.
Other API modules
Body Map
Results grouped by organ system.
Biological age
An age estimate from routine blood markers.
Nutrition and diet
Meal guidance based on the results.
Trend comparison
Changes between two or more reports.
Family health
A family-history overview.
DNA health
Reports from raw genotype files.
Start building
Free sandbox access. Buy credits only when you go live.

