Research and other
Multilingual lab report API for medical tourism and international patient services
International patients send laboratory reports from their home country before they travel. The Kantesti Blood Test API reads each report as PDF or photo and returns the values as structured JSON with a written explanation in the language you request, for your coordinators, the treating team and the patient.
The sandbox is free. Pay for the calls you buy. No subscription. Pricing per API call
Medical tourism facilitators and international patient departments
Challenges in this sector
Reports arrive in many languages and layouts
A patient from another country sends a scan or a phone photo from a laboratory your team has never worked with. Coordinators retype values into a spreadsheet or wait for a translator before the file can go to a physician.
The treating team needs the results before arrival
Questions about eligibility, additional tests and scheduling are settled before a flight is booked. A set of untranslated PDFs slows this pre-arrival review and makes it easy to overlook a value outside its reference range.
Patients expect explanations in their own language
Results explained only in the language of the destination country leave the patient dependent on an interpreter for every question. Writing patient information by hand for each source market takes more staff with every country you add.
Follow-up continues at home
After treatment the patient returns to a local laboratory, and the control results come back in yet another format. Comparing them manually with the values recorded before travel is slow.
How the integration works
Collect the report in your intake form
Let the patient or the referring agency upload the report as PDF, PNG, JPG or WEBP, up to 20 MB. Several photos of one report go into one request by repeating the
filefield, andpdf_passwordopens an encrypted PDF.Analyse it in the working language of the treating team
Your backend sends the files to
POST /api/v12/18-09-2026/analyzewithlanguageset to the language your clinicians read. The response holdsdata.metadatawith laboratory name, city, country and dates, anddata.parameterswith result, unit, reference range and anevaluationfor every row.Prepare the pre-arrival review
Show the structured table next to the original document in your case file and mark the rows whose
evaluationis notnormal. The treating clinicians read the original report and decide on eligibility, further tests and the treatment plan.Explain results to the patient and follow up
Request the interpretation again with the language code of the patient for the patient portal; each request returns one language and uses one credit. Once the patient is back home, send the dated series to
POST /api/v1/bloodtest/comparison/analyzefor a written account of what changed.

Recommended API modules
Blood test AI API for developers and clinics
Turns the reports that patients send from abroad into one data structure with English keys and codes, and writes the interpretation in any of 100 languages chosen with
language. Without the parameter the text is in English.Lab results trend API and blood test comparison API
Relates pre-arrival results to control tests taken after treatment: the comparison endpoint accepts 2 to 20 dated tests that share at least one parameter, and trend analysis returns statistics and chart data for up to 50.
Use cases
- Pre-arrival case files in which every laboratory value is structured and flagged before the treating team opens them.
- Patient-facing explanations in the language of each source market, generated from the uploaded report.
- Coordinator checklists that show which requested tests are present in the uploaded report and which are still missing.
- Post-treatment follow-up that compares control results from the home laboratory with the values recorded before travel.
- A shared case record for facilitator, hospital and referring agency in which keys and codes are the same for every patient.
Integration path
The usual place for the call is the backend of your patient intake portal or CRM, which stores the JSON with the case. Run the blood test call in a background job with a long timeout, not inside the browser request of the patient. Render the structured values in your own case view or PDF template under your brand; the API returns data, not a finished document, and your backend can pass the JSON on to hospital systems. The sandbox at POST /api/v12/18-09-2026/sandbox returns sample data without using quota, which is enough to build the screens. It does not read your file, so run a pilot with real reports from your main source countries before launch.
API documentation Getting started Authentication Endpoints Errors Rate limits
Data protection and compliance
The treating clinicians decide on eligibility, treatment and aftercare, on the basis of the original documents and their own examination. A translated explanation from the API is educational information for orientation; it is not medical advice, not a diagnosis and not an official translation of the medical record. Kantesti is not a medical device and has no CE or UKCA marking. Lab reports are health data: obtain the consent of the patient before upload, name the parties who receive the data, and assess cross-border transfers between the country of the patient, your company and the hospital under the laws that apply to you. These obligations remain with the facilitator or hospital that integrates the API.
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
In which languages can the explanation be written?
In 100 languages, selected with a language code in language, among them Arabic, Russian, Turkish, German, French, Chinese, Persian and Hindi. The default is English.
Can one upload produce a version for the clinician and a version for the patient?
Each request returns its text in one language. Send the file twice with two language codes; each call uses one credit. The JSON keys and the evaluation codes stay in English in both responses, so your code handles them in the same way.
Does the API replace a medical translator or a second opinion?
No. It structures the values and writes an educational explanation. Documents that a hospital, an insurer or an authority requires in translated form still need the translation those bodies ask for, and every clinical judgement belongs to the treating physician.
How do we compare results from laboratories in two countries?
Extract each report with the blood test endpoint, then send the dated tests to the comparison or trend endpoint. Use one parameter name for the same analyte across tests, and check in your own code that the units match, because laboratories in different countries may report a value in different units.
How is usage counted for a patient with several reports?
Per successful analyze call, one credit each, with no subscription. Several images of one report are one request; reports from different dates are separate requests. Your remaining quota is returned by POST /api/quota/check.
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

