Health and wellness business
Blood test and DNA API for supplement and nutraceutical brands
Let customers upload a lab report or a raw DNA file and receive an explained plan that draws on the products you actually sell. The API explains results; your brand stays responsible for every product claim.
The sandbox is free. Pay for the calls you buy. No subscription. Pricing per API call
Supplement and nutraceutical brands
Challenges in this sector
Personalisation is based on a questionnaire only
A typical recommendation flow asks about tiredness, diet and sleep and then maps the answers to products. A customer who already holds a recent blood test cannot use it, and the recommendation cannot refer to a measured value such as ferritin or 25-OH vitamin D.
Lab reports are unstructured
Reports arrive as PDFs and phone photos, in different layouts, units and languages. Building and maintaining extraction for them is a separate engineering project that has little to do with your products.
Generic engines ignore your product range
A suggestion for a product you do not stock sends the customer to another shop. You need suggestions that use your catalogue where it fits, and a list of the needs it does not cover.
Claims and safety are the liability of the brand
A plan that promises an effect, exceeds a sensible dose or ignores a medication creates regulatory and reputational risk for the company that displays it. Marketing teams need output that explains a lab value and states cautions, not sales copy.
How the integration works
Register your catalogue
Send up to 200 products with
name,brand,form,dosage,categoryanddescriptiontoPUT /api/v1/dna-supplements/settings. Setsettings.modetoprefer,onlyoroff, add your own instructions (up to 1,500 characters) and limit the plan withmax_items(3 to 12). The nutrition endpoint uses the same catalogue.Read the lab report
POST /api/v12/18-09-2026/analyzeaccepts a PDF or an image and returnsdata.parameters, each with result, unit, reference range and anevaluation. Pass that array on unchanged.Generate the plan from blood, DNA or both
From blood values alone,
POST /api/v1/nutrition/diet-plan/analyzereturnssupplement_recommendations: one entry for each abnormal or borderline marker for which the plan suggests a supplement, and none for a marker in range. For customers with genetic data,POST /api/v1/dna-interpretation/analyzefollowed byPOST /api/v1/dna-supplements/analyzeadds the DNA report and the questionnaire answers to the rationale.Display, review and follow up
Show
source_labelandpriority_labelinstead of codes, keepcontraindications,cautionsandinteractionsvisible, and route everything inclinician_review_requiredto a qualified professional before the customer sees it. Useretestandretest_planto time a follow-up message.

Recommended API modules
Blood test AI API for developers and clinics
Turns the report a customer already has into structured values. Each recommendation can then name the measured marker in
blood_marker_addressedandreason, which is more specific than a questionnaire answer.DNA test AI API for raw DNA data
The Supplement Advisor combines a DNA report, a questionnaire of 25 items and an optional blood test. Each recommendation carries a
rationalewith its genetic, lab and questionnaire basis and anevidencelevel ofestablished,probableorpreliminary.Nutrition API and diet planner API based on blood tests
Adds a seven-day meal plan and food sources next to the supplement list, so the customer sees diet first and products second. Entries from your catalogue are marked
clinic_library; all others are markedevidence_based.
Use cases
- A shop flow in which the customer uploads a blood test, reads an explanation of each flagged value and sees the catalogue products that relate to it.
- DNA-based personalisation for customers who already have raw data from 23andMe, AncestryDNA, MyHeritage, FTDNA or LivingDNA.
- Subscription programmes that schedule a re-test reminder from
retest_planand regenerate the plan from the new values. - Range planning: collect
uncovered_needsinonlymode to see which needs your catalogue does not address. - Practitioner channels in which partner pharmacists or nutrition professionals receive a draft with the items that need their review already separated.
Integration path
A typical integration calls the API from the shop or app backend and never from the browser, because every request carries your API credentials. Lab uploads are sent as multipart/form-data; the other calls are JSON. A DNA report usually takes one to three minutes, so add ?async=1, store the job_id and poll GET /api/jobs/<job_id> until status is completed or failed. Develop against the sandbox endpoints, which return the shape of the live response without consuming credits. JSON keys and codes stay in English, and the text arrives in the language you request.
API documentation Getting started Authentication Endpoints Errors Rate limits
Data protection and compliance
The API explains laboratory and genetic results and writes educational suggestions. It makes no health claim for any product, and its output is not evidence that a product has an effect. Your brand remains responsible for product claims, labelling and advertising under the food and consumer law of each market where you sell. Do not present the output as treatment or prevention of a disease. Kantesti is not a medical device, is not CE or UKCA marked and does not replace a physician or pharmacist. Lab values and genetic data are sensitive personal data: obtaining consent, informing customers and keeping health data separate from purchase data are obligations of the integrator. In the DNA modules nothing is stored against a patient, and raw genotype files are discarded after parsing.
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 recommend only products from our own range?
Yes. With settings.mode set to only, the plan contains catalogue products only and uncovered_needs lists the needs your range does not cover. In prefer mode it uses your products where they fit and marks other suggestions as evidence_based.
Does a customer need a DNA test to receive a supplement plan?
No. The nutrition endpoint works from blood test values and a profile. The DNA Supplement Advisor needs a DNA report and the questionnaire answers; a blood test is optional there.
Does the API write health claims about our products?
No. It explains why a nutrient is suggested for a measured value, a genetic finding or a questionnaire answer. Any statement about what your product does is your own claim and must comply with the rules of your market.
Which safety rules apply to a generated supplement plan?
According to the documentation of the Supplement Advisor, doses stay within tolerable upper intake levels, pregnancy-safe limits apply, each recommendation lists interactions, and anything that needs a prescriber is placed in clinician_review_required. These rules take priority over your own instructions. They do not replace the review of a plan by a qualified professional.
How can we test the integration without customer data?
Each endpoint has a sandbox that returns a sample plan in the shape of the live response and consumes no credits. GET /api/v1/dna-supplements/questionnaire lists the 25 questions and their allowed answers without authentication.
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

