Katalog Narzędzi MCP & Endpointów REST API
Klinische REST-API für Gesundheits-Apps & Praxen
Integrieren Sie über 12.000 Lebensmittel, 38 Mikronährstoffe, Rezepte und Trainingspläne direkt in Ihre Software.
https://www.dietspremium.com/api/v1
Authorization: Bearer <KEY>
cURL / HTTP-Beispielaufruf
curl -X POST https://www.dietspremium.com/api/v1/food
curl -X POST "https://www.dietspremium.com/api/v1/food" \
-H "Content-Type: application/json" \
-H "Authorization: Bearer YOUR_API_KEY" \
-d '{"query": "awokado", "locale": "de", "ai": true, "max_results": 5}'
Schnelle Integration in 3 Schritten
Vom X-API-KEY bis zur ersten Produktionsabfrage in weniger als 2 Minuten.
1. API-Schlüssel erstellen
Erstellen Sie einen Schlüssel im Kontopanel mit Lese- oder Schreibrechten.
2. HTTPS-Anfrage senden
Übergeben Sie den Header X-API-KEY an den gewünschten k-NN-Suchendpunkt.
3. Strukturiertes JSON erhalten
Nutzen Sie fertige Makronährstoff-, Allergen- und Klinikdaten.
| Nagłówek / Parametr | Wartość | Przeznaczenie |
|---|---|---|
| Accept / Content-Type | application/json |
Wymusza komunikację w ustrukturyzowanym formacie JSON UTF-8. |
| Authorization | Bearer YOUR_API_KEY |
Token autoryzacyjny z panelu konta (lub nagłówek X-API-KEY). |
| locale & ai | locale="de", ai=true |
Włącza 9-językową lokalizację oraz semantyczny wektor OpenSearch 512d k-NN. |
Cykl żądania HTTP w REST API v1
REST Flow
Standardowa integracja dla aplikacji webowych, mobilnych i backendowych
Standardowa integracja dla aplikacji webowych, mobilnych i backendowych
Header Auth
Przekaż klucz API w nagłówku Authorization: Bearer <API_KEY> lub X-API-KEY.
POST /api/v1/*
Silnik OpenSearch k-NN zwraca spaginowaną kolekcję items, total, page, perPage i hasMore.
9 Locales
Dane zwracane są natychmiast w wybranym języku (pl, de, en, fr, nl, cz, at, ch, lu).
Katalog der REST-API-Endpunkte
Durchsuchen Sie alle über HTTPS verfügbaren Ernährungs-, Trainings- und Medizinressourcen.
Allergen Search & Intolerance Detection
Access the comprehensive EU 1169/2011 allergens registry, cross-contamination warnings, and ingredient intolerance codes.
query*
locale
page
ai
Article & Clinical Nutrition Guides
Search 6,000+ peer-reviewed nutrition articles, dietetic publications, and RAG grounding chapters with AI semantic vector matching.
query*
locale
ai
page
Company & Dietetic Catering Directory
Explore 173,000+ verified dietary catering brands, clinics, fitness clubs, and health centers with geolocation metadata.
query*
locale
city
Exercise & Biomechanics Database
Search 2,000+ strength and cardio exercises with anatomical target muscles, required equipment, and calorie burn equations.
query*
locale
ai
Food & Nutrient Database
High-speed search across 1,900+ foods with complete macronutrients, calorie filters, micronutrients, and allergen exclusions.
query*
locale
kcal_min / kcal_max
proteins_min
allergen_exclude
+2
Medication & Food-Drug Interactions
Database of 53,000+ pharmaceutical substances evaluating critical food-drug interactions, absorption interference, and nutrient depletion.
query*
locale
Recipe & Culinary Meal Database
Access 780+ chef-crafted culinary recipes with portion weights, preparation steps, and balanced macronutrient distribution.
query*
locale
ai
Specialist & Certified Dietitian Directory
Search verified clinical nutritionists, dietitians, and personal trainers with client booking and certification data.
query*
locale
Supplement & Active Substance Database
Comprehensive dietary supplement catalog with ingredient dosages, vitamin forms, and safety recommendations.
query*
locale
Clinical & Lifestyle Diet Templates (158 Types)
Official nutritionist-designed diet templates with multi-currency pricing, day duration (3-28 days), macro splits, and allergen avoidance.
query
diet_template_type
days
avoid_allergens
kcal_min / kcal_max
+3
Global Food Products & Barcodes (Open Food Facts + USDA)
Search 3.5M+ global branded products, EAN/UPC barcodes, brands, Nutri-Score, Eco-Score, and international ingredients.
query
barcode
brand
locale
currency
+1
Zestawienie Tabelaryczne Endpointów REST API v1
/api/v1/*| Metoda & Ścieżka | Zasób | Dokumentacja |
|---|---|---|
| POST /api/v1/allergen | Allergen Search & Intolerance Detection | Specyfikacja → |
| POST /api/v1/article | Article & Clinical Nutrition Guides | Specyfikacja → |
| POST /api/v1/company | Company & Dietetic Catering Directory | Specyfikacja → |
| POST /api/v1/exercise | Exercise & Biomechanics Database | Specyfikacja → |
| POST /api/v1/food | Food & Nutrient Database | Specyfikacja → |
| POST /api/v1/medication | Medication & Food-Drug Interactions | Specyfikacja → |
| POST /api/v1/recipe | Recipe & Culinary Meal Database | Specyfikacja → |
| POST /api/v1/user | Specialist & Certified Dietitian Directory | Specyfikacja → |
| POST /api/v1/supplement | Supplement & Active Substance Database | Specyfikacja → |
| POST /api/v1/diet | Clinical & Lifestyle Diet Templates (158 Types) | Specyfikacja → |
| POST /api/v1/food-world | Global Food Products & Barcodes (Open Food Facts + USDA) | Specyfikacja → |
curl -s -X POST https://www.dietspremium.com/api/v1/food -H "Content-Type: application/json"
{
"items": [
{
"id": 14,
"name": "Pierś z kurczaka bez skóry",
"kcal": 120,
"proteins": 21.5,
"fats": 1.3,
"carbs": 0.0
}
],
"total": 1,
"page": 1,
"locale": "de"
}
Technische REST-API-Spezifikation
Standards für Authentifizierung, Paginierung und Fehlerbehandlung.
Jede Anfrage erfordert einen aktiven Schlüssel im Header X-API-KEY oder als Bearer-Token.
Nutzen Sie die Parameter page, limit (bis 100) sowie locale (pl, de, en, fr, nl, cz, at, ch, lu).
Die API liefert deterministische JSON-Antworten gemäß RFC 7807 Problem Details.
Klient synchronizacji REST API v1 i OpenSearch k-NN
“Pobierz niskoindeksowe przepisy kulinarne dla pacjenta i zsynchronizuj składniki z aplikacją mobilną.”
POST https://www.dietspremium.com/api/v1/recipe (locale=de, ai=true) → 200 OK (total: 42)