REST · JSON · POST
Biological age API from routine blood tests
Send a routine lab panel and receive a biological blood age from the published Levine PhenoAge model, plus up to 18 derived clinical indices that a lab report rarely prints.
POST /api/v1/blood-age/analyze
Key capabilities
The Biological Age AI API computes PhenoAge from nine routine markers (albumin, creatinine, glucose, CRP, lymphocytes %, MCV, RDW, alkaline phosphatase, white blood cell count) and the chronological age. When all nine are present the published formula is used unchanged; when some are missing they are filled from population medians and the result is labelled source: "partial". Both paths are deterministic. Optional model layers (ai_assist, ai_estimate, ai_note) each sit behind their own flag.
Structured JSON
Stable English keys and codes, with text in the language you request.
Free sandbox
The sandbox endpoint returns a sample response in the shape of the live one and uses no credits.
One credit per call
A successful analyze call uses one credit. Sandbox calls are free.
API key authentication
Send your key as a Bearer token in the Authorization header. Never put a key in a URL.

Example request and response
POST /api/v1/blood-age/analyze Live
POST /api/v1/blood-age/sandbox Sandbox
POST /api/v1/blood-age/validate Live
GET /api/v1/blood-age/biomarkers Live
GET /api/v1/blood-age/info Live
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.
Inputs and outputs
What you send
A JSON array
parameters(up to 500 rows) with analyte names as printed by the laboratory, in any of 39 report languages, and their results; SI and conventional units are converted automatically. A chronological age is needed, inmetadata.patient_age,patient.ageor as a date of birth. The formula applies between ages 18 and 100.What you get back
A
summarywithstatus,source(formula,partialorai),chronological_age,biological_age,delta_yearsandmarkers_missing, plus ablood_ageobject with the converted input values and the derived indices: FIB-4, De Ritis, A/G ratio, HOMA-IR, TyG, eAG, eGFR, anion gap, BUN/creatinine, non-HDL, TG/HDL, AIP, TC/HDL, remnant cholesterol, NLR, Mentzer, transferrin saturation and corrected calcium, each with aband.

Use cases
Show a single blood age number next to the lab results in a wellness or longevity app.
Add derived indices to a report without implementing and unit-checking 18 formulas.
Follow the difference between biological and chronological age across repeated panels.
Check with the free validate endpoint which of the nine markers a panel supplies before you spend a call.
Who uses this API
Sectors that typically integrate this module.
Longevity clinics
Longevity, preventive and executive health clinics
Wearables
Wearable and fitness device manufacturers
Insurers
Health and life insurers running voluntary wellness programmes
Corporate wellness
Employers, occupational health services and corporate wellness providers
Questions
Which model does the Biological Age API use?
The published Levine PhenoAge model, computed from nine routine blood markers and the chronological age. With all nine markers the formula is applied unchanged, and a model estimate never overrides it.
What if my panel does not contain all nine markers?
You still get a number: missing inputs are filled from population medians, the response says source: "partial", and markers_missing lists what was not supplied.
Why does the response say missing_age?
PhenoAge has an age term. Without a chronological age in the metadata or the patient object the API returns status: "missing_age" and no number.
Is biological blood age a diagnosis?
No. It is a calculated educational figure, not a diagnosis and not a medical device, and it does not replace a physician.
Other API modules
Blood test interpretation
Values, reference ranges and a plain-language explanation.
Body Map
Results grouped by organ system.
Nutrition and diet
Meal guidance based on the results.
Trend comparison
Changes between two or more reports.
Family health
A family-history overview.
DNA health
Reports from raw genotype files.
Start building
Free sandbox access. Buy credits only when you go live.

