Technology
Blood test and health AI API for health-tech startups
Build a prototype against free sandbox endpoints, then pay per call when real reports arrive. One account and one credit balance cover seven modules, from lab report reading to DNA interpretation.
The sandbox is free. Pay for the calls you buy. No subscription. Pricing per API call
Health-tech startups and founding engineering teams
Challenges in this sector
Pipeline work delays the first demo
Reading laboratory documents, normalising units and writing explanatory text is specialist work. A small team that builds this in-house spends its early phase on infrastructure and not on the product it wants to test with users.
Fixed platform fees before there is revenue
Subscriptions and annual contracts commit budget before usage is known. An early-stage company needs a cost that follows the number of reports its users actually send.
Realistic test data is hard to obtain
Real lab reports are personal health data and should not circulate in a development team. Without realistic sample responses, front-end and back-end work have to wait for each other.
The roadmap changes faster than vendor contracts
A startup may begin with lab results and move to nutrition, longevity or genetics after the first user interviews. A new vendor for each direction costs time and adds another data flow to assess.
How the integration works
Run sample requests on the first day
Use the playground to run sample requests in the browser, then call the sandbox of the module you need from your own code, for example
POST /api/v12/18-09-2026/sandboxorPOST /api/v1/blood-age/sandbox. Sandbox calls require your credentials, so they also confirm that authentication works, and they do not consume quota.Write the client against the sandbox response
The body map, biological age and DNA sandboxes return a sample response in exactly the shape
/analyzeproduces. Define your types, database schema and interface against it; the same client then works against production.Check payloads with the free validate endpoints
POST /api/v1/body-map/validatereports which analyte names are recognised,POST /api/v1/blood-age/validateshows which of the nine PhenoAge markers a panel supplies, andPOST /api/v1/family-health/validatechecks form data. None of them consumes quota.Change the path to
/analyzeand meter usageMoving to production means changing the endpoint path. One successful analyze call uses one credit in every module, so you can map credits to your own plans or charge per report.
POST /api/quota/checkreturns the remaining quota for low-balance alerts.

Recommended API modules
Blood test AI API for developers and clinics
The usual first integration: a PDF or photo of a lab report becomes
data.parametersanddata.interpretation. Its output is the input of four other modules, so it also defines your data model.DNA test AI API for raw DNA data
Adds a genetics feature without a bioinformatics team: raw files from consumer DNA tests or VCF files become a structured report. Long analyses can run with
?async=1and be polled.Body map API for lab results
A visual feature that is quick to demonstrate: a JSON request returns 13 body regions with severity levels. The default mode calls no model and returns the same answer for the same panel, which simplifies automated tests.
Biological age API from routine blood tests
A single figure for a longevity or wellness concept. PhenoAge is a published formula, so you can explain to users and investors how the number is computed.
Nutrition API and diet planner API based on blood tests
A second product step after results: a personal 7-day plan driven by lab values and a profile with allergies, preferences, meal frequency and budget.
Lab results trend API and blood test comparison API
Supports retention features: charts and written comparisons as soon as a user has two or more dated tests.
Family health history API for hereditary risk reports
Turns an onboarding questionnaire about relatives into a structured hereditary risk report, with optional blood test data for correlation.
Use cases
- A clickable prototype for an investor presentation or a pilot, built on sandbox responses before any credit is spent.
- A first product version that reads uploaded lab reports and explains them in the languages of your first markets.
- A paid add-on, such as a diet plan or a blood age, that you price above the one credit it costs per call.
- A change of direction from lab results to DNA or family history without a new vendor, contract or authentication scheme.
- A pilot with a clinic or laboratory partner in which usage, and therefore cost, starts small and follows real volume.
Integration path
A small team can integrate with plain HTTPS calls from one backend service; no SDK is required. The file-based modules (blood test, DNA) take multipart/form-data and the others take JSON. Keep credentials in server-side configuration and never in a mobile or browser client. Blood test and nutrition calls are synchronous: place them in a background job and return the result to the client once it is stored. DNA reports usually take one to three minutes, so add ?async=1, receive 202 with a job_id, and poll GET /api/jobs/<job_id> until status is completed or failed. Asynchronous results are retrieved by polling; notifying your own client is part of your application.
API documentation Getting started Authentication Endpoints Errors Rate limits
Data protection and compliance
A startup that processes lab reports or DNA files handles special category data under the GDPR from its first user. Decide your legal basis, collect explicit consent where you rely on it, and record the data flow to Kantesti before launch. Develop with sandbox data, not with reports from friends or colleagues. The DNA modules keep no patient record: raw genotype files are discarded after parsing and nothing is stored against a patient. Kantesti is education and information only: not a medical device, not CE- or UKCA-marked, and it does not diagnose or treat. If your own product makes medical claims, its regulatory classification is your responsibility and is not covered by using 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
Is there a free way to develop against the API?
Yes. Every module has a sandbox endpoint that returns sample data without consuming quota, and the playground runs sample requests in the browser. Validate and reference endpoints are free as well. Credits are needed only for live analyze calls.
How does pay-per-call pricing work for a startup?
One successful analyze call uses one credit, whichever module it is, and the price per call is lower for larger purchases. There is no subscription. All modules use the same credit balance.
Are failed requests charged?
Body map and biological age requests that fail validation are not charged, and neither is a panel whose flagged markers cannot be placed or that yields nothing computable. A DNA call is charged only after the report was produced, and an unreadable DNA file is answered at once with an error at no cost.
Which module should a startup integrate first?
In many cases the blood test API, because its parameters array is the input of the body map, biological age, nutrition and trend modules. Teams that already hold structured lab values can skip it and send JSON to those modules directly.
Can we describe our product as a diagnostic tool because it uses the API?
No. Kantesti returns AI-supported educational information. It is not a medical device, is not CE- or UKCA-marked and does not replace a physician. Describe features built on it as explanations of existing results.
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

