Research and other
Lab data API for pharma companies, CROs and clinical research teams
Convert laboratory reports from different sites and laboratories into structured JSON, and give participants an understandable summary of their own routine results. The API is supporting tooling for data handling and education; it is not a diagnostic tool and has no role in endpoint adjudication, eligibility or safety decisions.
The sandbox is free. Pay for the calls you buy. No subscription. Pricing per API call
Pharma companies, CROs and clinical research teams
Challenges in this sector
Local laboratory reports arrive as PDFs in many layouts
Studies that use local laboratories, decentralised visits or participant-supplied reports receive documents with different analyte names, units and reference ranges. Transcribing them by hand is slow and generates data queries.
Participants receive results they cannot interpret
Many studies return routine laboratory results to participants, but a table of raw values offers them little. Study teams do not have the capacity to write an explanation for each participant.
Multinational studies multiply the language work
Participant-facing material has to exist in every study language. Each explanation that is translated separately adds cost and a further review cycle.
A new tool cannot be assessed with real data
A research organisation cannot send participant data to a vendor only to find out whether a tool is useful. It needs a way to judge formats and content before a contract, an ethics submission or a data transfer exists.
How the integration works
Evaluate with sandbox and synthetic data
Begin with
POST /api/v12/18-09-2026/sandboxandPOST /api/v1/analytics/trends/sandbox, which return sample responses in the live format without consuming quota. For live calls during evaluation, use synthetic or fully fictitious reports only.Map the JSON to your data model
Compare
data.parameters(name,result,unit,range_normal_min,range_normal_max,evaluation) anddata.metadata(laboratory,lab_date,results_date) with the fields of your data capture system or data warehouse. JSON keys and codes stay in English in every response language.Define a reviewed workflow
Place a human check between the API and any study record: a data manager compares the extracted values with the source document. Describe the use of the tool in your data management plan and in the participant information, as your procedures require.
Add longitudinal and participant views
Send the dated visits of one participant, 2 to 50 per request, to
POST /api/v1/analytics/trends/analyzefor statistics and chart data per parameter; setinclude_predictionstofalseif you want a purely descriptive result. For a narrative of what changed between 2 to 20 reports, in the participant's language, usePOST /api/v1/bloodtest/comparison/analyze.

Recommended API modules
Blood test AI API for developers and clinics
Reads PDF or image reports from any laboratory and returns each parameter with its unit, reference range and evaluation, plus report metadata. For research teams the structured
parametersarray is the main benefit; the written interpretation is meant for participant education and not for study conclusions.Lab results trend API and blood test comparison API
Describes how measured values moved across visits, with average, minimum, maximum, standard deviation, direction and strength per parameter. It is a descriptive aid for participant summaries and data review and does not replace the statistical analysis defined in your protocol.
Use cases
- Pre-populate data entry from local laboratory reports, followed by source verification by study staff.
- Return routine laboratory results to participants with an explanation in their language, where the protocol and the ethics committee allow it.
- Structure participant-supplied reports in decentralised, observational or registry studies.
- Prototype patient support or disease education programmes with sandbox responses before a vendor assessment.
- Convert historical PDF reports into JSON for exploratory analysis outside regulated submissions.
Integration path
A research team should call the API from a backend service placed between document intake and its own data platform, and never from a participant device. Requests are REST over HTTPS with the API credentials sent in each request. Report analysis is a synchronous call, and the documentation examples use client timeouts of 120 to 300 seconds, so process documents from a queue. If extraction alone is required, POST /api/icr/v1/kan returns the parameters of a blood test document without an interpretation for 0.5 credits per call. Model updates are applied to existing API versions without a new version number, so the interpretation text for an identical report can differ over time; store the timestamp and api_version of each response with the result.
API documentation Getting started Authentication Endpoints Errors Rate limits
Data protection and compliance
The Kantesti API is education and support tooling. It is not a diagnostic tool, not a medical device and not CE or UKCA marked, and it must not be used for endpoint adjudication, eligibility assessment, safety signal evaluation or any decision about the treatment of a participant. Its output is not source data: the laboratory report remains the source document. This page makes no claim that the API is validated for regulated clinical trial systems, so the sponsor decides whether and how the tool fits its quality system. Data protection, the lawful basis for processing, participant consent, the favourable opinion of an ethics committee or institutional review board and any data transfer assessment are the responsibility of the sponsor and the integrator. Remove direct identifiers from documents wherever your process allows, and evaluate with sandbox or synthetic data.
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
Can the API be used to adjudicate study endpoints or assess eligibility?
No. It is not a diagnostic or adjudication tool. It structures laboratory reports and writes educational explanations. Endpoint, eligibility and safety assessments remain with the investigators and committees named in your protocol.
How can we evaluate the API without participant data?
Use the sandbox endpoints, which return sample responses in the live format and consume no quota, and synthetic reports for live test calls. The JSON structure, the languages and the style of the content can all be assessed in this way.
Are the results reproducible?
The blood test API uses an AI model for extraction and interpretation, and model updates are applied without a change of version number, so wording can differ between calls. The Body Map and Biological Age APIs are deterministic by default: the same panel returns the same answer.
Who is responsible for data protection and ethics approval?
The sponsor and the integrator. You decide which data is sent, on which legal basis and with which consent, and you obtain the approvals your study needs. Laboratory reports often carry names and dates of birth, so plan redaction or pseudonymisation before upload.
Which report formats and languages are supported?
Blood test reports as PDF or as PNG, JPG or WEBP images up to 20 MB, with several images per report and an optional PDF password. Interpretations are written in any of 100 languages, selected with the language parameter.
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

