Health and wellness business
Biological age and lab trend API for longevity and preventive health clinics
Compute a documented biological age from each client panel, follow lab markers from visit to visit and relate genetic findings to measured values. Each blood age result states whether the published formula or a partial calculation was used, so your physicians can explain it.
The sandbox is free. Pay for the calls you buy. No subscription. Pricing per API call
Longevity, preventive and executive health clinics
Challenges in this sector
Biological age is calculated in a spreadsheet
Many clinics calculate PhenoAge or similar indices by hand. Panels from different laboratories use different units, a single conversion error changes the result, and the calculation is difficult to audit.
Review preparation is manual
Clients are re-tested several times a year. Before each review, a physician or coordinator assembles earlier reports and builds charts by hand to show what changed.
Opaque scores are hard to explain
A proprietary age score that cannot be traced to a published method is difficult to explain to an informed client. Clinics need to state which model was used and whether a value was measured or estimated.
Genetic data stays separate from lab data
Clients bring raw files from consumer DNA tests. Without a structured report, genetic findings and blood values are discussed in separate conversations, and contradictions between them are easily overlooked.
How the integration works
Bring each panel into JSON
Send the laboratory report to
POST /api/v12/18-09-2026/analyze, or pass structured results from your own system directly as aparametersarray with the analyte names the laboratory printed.Verify the panel, then compute
POST /api/v1/blood-age/validateis free and reportsphenoage_markers_found,phenoage_markers_missingand theexpected_source.POST /api/v1/blood-age/analyzethen returnsbiological_age,delta_years,sourceand the derived indices, each with aband.Build the longitudinal view
Store each result with its lab date. For the underlying markers, send 2 to 50 dated panels to
POST /api/v1/analytics/trends/analyzeand draw the charts fromchart_configandtrend_data.Add the genetic layer
POST /api/v1/dna-interpretation/analyzeproduces a genetic report from a raw file, andPOST /api/v1/dna-blood-report/analyzeclassifies each link between a genetic finding and a lab value asconfirms,contradicts,neutralorwatch, with a risk matrix and a monitoring plan.

Recommended API modules
Biological age API from routine blood tests
Uses the published Levine PhenoAge model with nine routine markers and labels each result as
formula,partialorai. The default mode is deterministic: the same panel returns the same number, which matters when a figure is compared between visits.Blood test AI API for developers and clinics
Returns optimal, normal and borderline ranges for each range marker together with an
evaluation, so a report can show where a value lies inside the reference range and not only whether it is flagged.DNA test AI API for raw DNA data
Compares a raw genotype file with a curated panel of 334 markers in 20 categories, including pharmacogenomics, nutrient metabolism and longevity, and drops any finding whose rsID is not in the uploaded file.
Lab results trend API and blood test comparison API
Gives direction, strength and statistics per parameter over many dates, and the comparison endpoint adds a written account of what changed between 2 to 20 reports for the review appointment.
Use cases
- A biological age figure with its calculation source in every client report.
- A visit-to-visit record of
delta_yearsnext to the trends of the nine underlying markers. - Executive health programmes that hand over results in the language of the client.
- A combined DNA and blood report as preparation for a physician consultation.
- Derived indices such as HOMA-IR, TyG, FIB-4 and eGFR added to a panel without implementing each formula.
Integration path
A clinic integrates through the backend of its client portal or through its clinic information system. Blood age, trend and comparison calls take JSON and return JSON; a DNA report usually takes one to three minutes, so send it with ?async=1 and poll GET /api/jobs/<job_id>. The blood age endpoint computes one panel per call, so the series of results across visits is stored in your system. Define one standard panel that contains all nine PhenoAge markers: a result with source: "formula" and a result with source: "partial" should not be compared as if they were the same measurement.
API documentation Getting started Authentication Endpoints Errors Rate limits
Data protection and compliance
Biological blood age is a calculated educational figure from a published model. It is not a diagnosis, not a measure of remaining lifespan and not proof that an intervention has worked, and it should be communicated to clients in those terms. The formula applies between ages 18 and 100, and a partial panel is completed from population medians and labelled as such. A raw file from a consumer DNA test is not a clinical sequencing result: have actionable and carrier findings confirmed by clinical genetic testing before a client or physician acts on them. Kantesti is not a medical device, bears no CE or UKCA mark, and its output supports the judgement of the physician without replacing it. Client consent, medical confidentiality and data protection for lab and genetic data are the responsibility of the clinic.
Example request and response
Biological age POST /api/v1/blood-age/sandbox Sandbox Endpoint reference
curl -X POST "https://app.aibloodtestinterpret.com/api/v1/blood-age/sandbox" \
-H "Authorization: Bearer kt_live_YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{"language":"en"}'
import requests
resp = requests.post(
"https://app.aibloodtestinterpret.com/api/v1/blood-age/sandbox",
headers={"Authorization": "Bearer kt_live_YOUR_API_KEY"},
json={"language": "en"},
timeout=60,
)
print(resp.json())
const resp = await fetch("https://app.aibloodtestinterpret.com/api/v1/blood-age/sandbox", {
method: "POST",
headers: {
Authorization: "Bearer kt_live_YOUR_API_KEY",
"Content-Type": "application/json",
},
body: JSON.stringify({"language":"en"}),
});
console.log(await resp.json());
<?php
$ch = curl_init('https://app.aibloodtestinterpret.com/api/v1/blood-age/sandbox');
curl_setopt_array($ch, [
CURLOPT_POST => true,
CURLOPT_RETURNTRANSFER => true,
CURLOPT_HTTPHEADER => [
'Authorization: Bearer kt_live_YOUR_API_KEY',
'Content-Type: application/json',
],
CURLOPT_POSTFIELDS => json_encode(['language' => 'en']),
]);
$result = json_decode(curl_exec($ch), true);
curl_close($ch);
print_r($result);{
"status": "success",
"data": {
"blood_age": {
"version": 1,
"age": {
"status": "ok",
"source": "formula",
"chrono": 40,
"pheno": 35.1,
"delta": -4.9,
"sex": "m",
"found": [
"…"
],
"missing": [
"…"
],
"labels": {
"…": "…"
},
"inputs": {
"…": "…"
}
},
"indices": [
{
"…": "…"
},
"… +4"
]
},
"engine_version": 1,
"mode": "deterministic",
"summary": {
"status": "ok",
"source": "formula",
"chronological_age": 40,
"biological_age": 35.1,
"delta_years": -4.9,
"sex": "m",
"markers_found": 9,
"markers_missing": [],
"indices_count": 5
},
"sandbox_mode": true
},
"timestamp": "2026-11-30T12:00:00.000000Z",
"api_version": "1.0.0",
"message": "Sandbox blood age returned successfully",
"sandbox": true,
"sandbox_notice": "This is sandbox test data. No actual analysis was performed and no quota was consumed."
}Sandbox response, shortened for this page. The playground shows the full body. Sample data only. No real patient data is sent or stored.
Questions
Which biological age model does the API calculate?
The published Levine PhenoAge model, from albumin, creatinine, glucose, CRP, lymphocyte percentage, MCV, RDW, alkaline phosphatase, white blood cell count and the chronological age. When all nine markers are supplied, the formula is applied unchanged.
Can we track the biological age of a client over several years?
Yes, by calling the endpoint for each panel and storing biological_age and delta_years with the lab date in your own records. The trend endpoint follows the laboratory parameters themselves across 2 to 50 dated tests.
What happens when a panel lacks one of the nine markers?
The response still contains a number, marked source: "partial", and markers_missing names the absent markers. For results that are comparable between visits, order all nine markers every time and confirm the panel with the free validate endpoint.
Is this an epigenetic age test?
No. PhenoAge in this API is computed from routine blood chemistry and haematology values. The DNA module reads genotype files and genetic reports; it does not measure DNA methylation.
Can an AI estimate replace the formula?
Only if you request it. ai_estimate is an optional flag for partial panels and is off by default, and a complete nine-marker PhenoAge is never overridden by a model.
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

