Technology

Blood test and health AI API for health-tech startups

Build a prototype against free sandbox endpoints, then pay per call when real reports arrive. One account and one credit balance cover seven modules, from lab report reading to DNA interpretation.

The sandbox is free. Pay for the calls you buy. No subscription. Pricing per API call

Health-tech startups and founding engineering teams

Health-tech startups

Challenges in this sector

  • Pipeline work delays the first demo

    Reading laboratory documents, normalising units and writing explanatory text is specialist work. A small team that builds this in-house spends its early phase on infrastructure and not on the product it wants to test with users.

  • Fixed platform fees before there is revenue

    Subscriptions and annual contracts commit budget before usage is known. An early-stage company needs a cost that follows the number of reports its users actually send.

  • Realistic test data is hard to obtain

    Real lab reports are personal health data and should not circulate in a development team. Without realistic sample responses, front-end and back-end work have to wait for each other.

  • The roadmap changes faster than vendor contracts

    A startup may begin with lab results and move to nutrition, longevity or genetics after the first user interviews. A new vendor for each direction costs time and adds another data flow to assess.

How the integration works

  1. Run sample requests on the first day

    Use the playground to run sample requests in the browser, then call the sandbox of the module you need from your own code, for example POST /api/v12/18-09-2026/sandbox or POST /api/v1/blood-age/sandbox. Sandbox calls require your credentials, so they also confirm that authentication works, and they do not consume quota.

  2. Write the client against the sandbox response

    The body map, biological age and DNA sandboxes return a sample response in exactly the shape /analyze produces. Define your types, database schema and interface against it; the same client then works against production.

  3. Check payloads with the free validate endpoints

    POST /api/v1/body-map/validate reports which analyte names are recognised, POST /api/v1/blood-age/validate shows which of the nine PhenoAge markers a panel supplies, and POST /api/v1/family-health/validate checks form data. None of them consumes quota.

  4. Change the path to /analyze and meter usage

    Moving to production means changing the endpoint path. One successful analyze call uses one credit in every module, so you can map credits to your own plans or charge per report. POST /api/quota/check returns the remaining quota for low-balance alerts.

Diagram: How the integration works (Health-tech startups) – Run sample requests on the first day → Write the client against the sandbox response → Check payloads with the free validate endpoints → Change the…
How the integration works: Health-tech startups. Recommended API modules: Blood test interpretation, DNA health, Body Map, Biological age, Nutrition and diet, Trend comparison, Family health.

Recommended API modules

Health AI APIs for lab results, DNA and nutrition

Use cases

  • A clickable prototype for an investor presentation or a pilot, built on sandbox responses before any credit is spent.
  • A first product version that reads uploaded lab reports and explains them in the languages of your first markets.
  • A paid add-on, such as a diet plan or a blood age, that you price above the one credit it costs per call.
  • A change of direction from lab results to DNA or family history without a new vendor, contract or authentication scheme.
  • A pilot with a clinic or laboratory partner in which usage, and therefore cost, starts small and follows real volume.

Integration path

A small team can integrate with plain HTTPS calls from one backend service; no SDK is required. The file-based modules (blood test, DNA) take multipart/form-data and the others take JSON. Keep credentials in server-side configuration and never in a mobile or browser client. Blood test and nutrition calls are synchronous: place them in a background job and return the result to the client once it is stored. DNA reports usually take one to three minutes, so add ?async=1, receive 202 with a job_id, and poll GET /api/jobs/<job_id> until status is completed or failed. Asynchronous results are retrieved by polling; notifying your own client is part of your application.

API documentation Getting started Authentication Endpoints Errors Rate limits

Data protection and compliance

A startup that processes lab reports or DNA files handles special category data under the GDPR from its first user. Decide your legal basis, collect explicit consent where you rely on it, and record the data flow to Kantesti before launch. Develop with sandbox data, not with reports from friends or colleagues. The DNA modules keep no patient record: raw genotype files are discarded after parsing and nothing is stored against a patient. Kantesti is education and information only: not a medical device, not CE- or UKCA-marked, and it does not diagnose or treat. If your own product makes medical claims, its regulatory classification is your responsibility and is not covered by using the API.

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

Is there a free way to develop against the API?

Yes. Every module has a sandbox endpoint that returns sample data without consuming quota, and the playground runs sample requests in the browser. Validate and reference endpoints are free as well. Credits are needed only for live analyze calls.

How does pay-per-call pricing work for a startup?

One successful analyze call uses one credit, whichever module it is, and the price per call is lower for larger purchases. There is no subscription. All modules use the same credit balance.

Are failed requests charged?

Body map and biological age requests that fail validation are not charged, and neither is a panel whose flagged markers cannot be placed or that yields nothing computable. A DNA call is charged only after the report was produced, and an unreadable DNA file is answered at once with an error at no cost.

Which module should a startup integrate first?

In many cases the blood test API, because its parameters array is the input of the body map, biological age, nutrition and trend modules. Teams that already hold structured lab values can skip it and send JSON to those modules directly.

Can we describe our product as a diagnostic tool because it uses the API?

No. Kantesti returns AI-supported educational information. It is not a medical device, is not CE- or UKCA-marked and does not replace a physician. Describe features built on it as explanations of existing results.

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 health AI API for health-tech startups
Blood test API for health-tech startups: seven health AI modules on one account, a free sandbox for every module and pay-per-call pricing, no subscription.