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

Longevity 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

  1. 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 a parameters array with the analyte names the laboratory printed.

  2. Verify the panel, then compute

    POST /api/v1/blood-age/validate is free and reports phenoage_markers_found, phenoage_markers_missing and the expected_source. POST /api/v1/blood-age/analyze then returns biological_age, delta_years, source and the derived indices, each with a band.

  3. 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/analyze and draw the charts from chart_config and trend_data.

  4. Add the genetic layer

    POST /api/v1/dna-interpretation/analyze produces a genetic report from a raw file, and POST /api/v1/dna-blood-report/analyze classifies each link between a genetic finding and a lab value as confirms, contradicts, neutral or watch, with a risk matrix and a monitoring plan.

Diagram: How the integration works (Longevity clinics) – Bring each panel into JSON → Verify the panel, then compute → Build the longitudinal view → Add the genetic layer
How the integration works: Longevity clinics. Recommended API modules: Biological age, Blood test interpretation, DNA health, Trend comparison.

Recommended API modules

Health AI APIs for lab results, DNA and nutrition

Use cases

  • A biological age figure with its calculation source in every client report.
  • A visit-to-visit record of delta_years next 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.

Clinically reviewed by Thomas Klein, MD · Last reviewed November 30, 2026

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);
Response Sandbox
{
  "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

Kantesti® API illustration: Biological age and lab trend API for longevity and preventive health clinics
Biological age API for longevity clinics: PhenoAge from routine panels, lab trends across visits and DNA reports combined with blood values, as JSON.