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

Supplement 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

  1. Register your catalogue

    Send up to 200 products with name, brand, form, dosage, category and description to PUT /api/v1/dna-supplements/settings. Set settings.mode to prefer, only or off, add your own instructions (up to 1,500 characters) and limit the plan with max_items (3 to 12). The nutrition endpoint uses the same catalogue.

  2. Read the lab report

    POST /api/v12/18-09-2026/analyze accepts a PDF or an image and returns data.parameters, each with result, unit, reference range and an evaluation. Pass that array on unchanged.

  3. Generate the plan from blood, DNA or both

    From blood values alone, POST /api/v1/nutrition/diet-plan/analyze returns supplement_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/analyze followed by POST /api/v1/dna-supplements/analyze adds the DNA report and the questionnaire answers to the rationale.

  4. Display, review and follow up

    Show source_label and priority_label instead of codes, keep contraindications, cautions and interactions visible, and route everything in clinician_review_required to a qualified professional before the customer sees it. Use retest and retest_plan to time a follow-up message.

Diagram: How the integration works (Supplement brands) – Register your catalogue → Read the lab report → Generate the plan from blood, DNA or both → Display, review and follow up
How the integration works: Supplement brands. Recommended API modules: Blood test interpretation, DNA health, Nutrition and diet.

Recommended API modules

Health AI APIs for lab results, DNA and nutrition

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_plan and regenerate the plan from the new values.
  • Range planning: collect uncovered_needs in only mode 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.

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

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

Kantesti® API illustration: Blood test and DNA API for supplement and nutraceutical brands
API for supplement companies: turn a customer blood test or raw DNA file into an explained supplement plan built on your own product catalogue.