Healthcare providers
Lab result interpretation API for hospitals and hospital groups
Give patients a readable explanation of their laboratory results at discharge and in the portal, and give clinicians a summary of what changed between panels, through a REST service placed behind your integration engine.
The sandbox is free. Pay for the calls you buy. No subscription. Pricing per API call
Hospitals and hospital groups
Challenges in this sector
Portal results reach patients without context
Once results are released to the patient portal, patients see flagged values before a clinician has spoken to them. Wards and outpatient departments then answer the resulting questions by telephone and message.
Discharge documents list values the patient cannot read
A discharge summary is written for the next physician. The patient takes home a table of laboratory values with abbreviations and no explanation, and the questions move to the general practitioner.
Patients speak many languages
A hospital that treats international and migrant patients cannot always provide an interpreter for routine laboratory questions, and translated explanatory material for an individual result is rarely available.
Outside records arrive as documents
Transferred and referred patients bring reports from other institutions as PDFs or photographs. These remain scanned attachments, so earlier values are not available as data when the admitting team needs them.
How the integration works
Evaluate without patient data
Every module has a sandbox endpoint, for example
POST /api/v12/18-09-2026/sandbox, that returns a sample response in the live shape and uses no credit. The integration team can build and test the interface, and information security can review the data flow, before a real record leaves the hospital.Place a service behind the integration engine
A server-side service receives the finalised laboratory report from the HIS or the document archive, posts the PDF to
POST /api/v12/18-09-2026/analyzewith thelanguageof the patient, and writes the JSON back as a draft document. The API credentials are held only by this service.Define clinical governance
Decide with the medical director which report types are processed, which departments review the text, how the document is labelled as educational and when it becomes visible in the portal. The API returns text and data; the release rules are implemented in your systems.
Extend to serial results and intake
Send the dated panels of one stay, or of repeated outpatient visits, to
POST /api/v1/analytics/trends/analyze. Send pre-admission family history questionnaires toPOST /api/v1/family-health/analyzeafter checking the form data with the freePOST /api/v1/family-health/validateendpoint.

Recommended API modules
Blood test AI API for developers and clinics
Produces the patient-readable explanation and the structured values from a finalised report or from an outside document, in any of 100 languages chosen per request. The optional health score endpoint adds a score and a disease risk section; whether those are shown to patients is a decision for your clinicians.
Lab results trend API and blood test comparison API
Summarises serial laboratory values: direction and strength per parameter with statistics for up to 50 dated tests, or a narrative comparison of up to 20. It suits outpatient programmes with repeated panels and a handover note that states what changed.
Family health history API for hereditary risk reports
Structures the family history collected at pre-admission or in a preventive programme: up to 100 family members across 14 relation types, classified into high, moderate and low risk, with screening topics for the consultation.
Use cases
- Discharge: a reviewed explanation of the last laboratory panel is added to the documents the patient takes home.
- Patient portal: each released report is accompanied by educational text in the preferred language of the patient.
- Outpatient chronic care: repeated panels are summarised as trends before each clinic visit.
- International patient office: reports issued abroad are converted to structured values with text in the working language of the hospital.
- Pre-admission and check-up units: family history forms become structured reports for the first consultation.
Integration path
In a hospital the API is a further destination for the integration engine. The usual flow is: laboratory result finalised, document or result data routed to an internal service, HTTPS call to Kantesti, JSON stored in the clinical document repository or the portal database. Calls are synchronous, so place them in a queue and retry on HTTP 429 (QUOTA_1103, rate limit exceeded) instead of calling from a user session. All modules share one account and one credit balance; if you need usage per department, record it in your own service. The JSON keys and codes are stable and in English, so a single renderer serves every output language.
API documentation Getting started Authentication Endpoints Errors Rate limits
Data protection and compliance
Kantesti output is educational information that supports and never replaces the judgement of the treating clinician. It is not a medical device and is not CE or UKCA marked. It must therefore not serve as clinical decision support for diagnosis or therapy, and it should not be entered in the record as a medical finding. The hospital is the data controller. New processing of health data at hospital scale normally calls for a data protection impact assessment, together with a lawful basis and patient information. Agree data processing terms with Kantesti Ltd (api@kantesti.net), a company registered in England and Wales, before live data is sent. Involve the data protection officer and the medical director before the pilot, and send only the documents the use case requires.
Example request and response
Blood test interpretation POST /api/v12/18-09-2026/sandbox Sandbox Endpoint reference
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.
Questions
Does the API integrate with our HIS or EHR?
It integrates through your integration engine or a custom service. The API accepts PDF or image files and JSON over HTTPS and returns JSON. It does not exchange HL7 or FHIR messages, so the mapping to your HIS is part of your project.
Can it be used for clinical decision support?
No. The output is educational, is not a medical device and is not intended to guide diagnosis or treatment. A hospital can use it for patient-facing explanation and for summaries that a clinician reads critically.
In which languages can patients receive the explanation?
The blood test interpretation is written in any of 100 languages and the family health report in more than 100, selected with the language parameter of each request. JSON keys and codes remain in English.
How do we test before a procurement decision?
Use the sandbox endpoints and the playground, which return sample data without consuming quota. A pilot with live data then requires only purchased credits, because the API is paid per call and has no subscription.
What should the hospital monitor in production?
The service should handle the documented error codes, such as AUTH_1002 for invalid credentials, QUOTA_1101 for insufficient quota and QUOTA_1103 for a rate limit. GET /api/health returns the service status and POST /api/quota/check the remaining quota.
Start building
Run a sample request in the playground, check the price per call, or write to the API team about your integration.
API support: api@kantesti.net

