Geltende Fassung / Current version: entwurf-3 · SHA-256 b9dca242a615b7b247b107e2d0fac41582332c424a735cc8940d1ec98ac144ff · Markdown
> **ENTWURF – nicht anwaltlich geprüft.** Diese Fassung gilt, bis der Kunde einer neuen Fassung zustimmt oder der Vertrag endet; für neue Fassungen gilt § 12.
> **DRAFT – not reviewed by a lawyer.** This version applies until the customer agrees to a new version or the contract ends; § 12 governs new versions.
## Zuerst zu prüfen (für den Anwalt) / To check first (for the lawyer)
0. Vor dem ersten bezahlten Aufruf aus Text oder Foto mit einem Live-Schlüssel: AVV mit Inceptron unterschrieben, Firma, Sitz, Ort und Aufbewahrung in AVV Anhang IV eingetragen. Bis dahin bleiben Kasse und Startguthaben aus (Stand 21.11.2026: kein Konto mit Guthaben).
1. Haftung (§ 10): Wirksamkeit der Begrenzung nach §§ 305 ff. BGB im B2B; ob zusätzlich eine Höchstsumme vereinbart werden soll; Verhältnis zu Art. 82 DSGVO und Klausel 7.7 d des AVV; neues Produkthaftungsgesetz.
2. Vertragstyp und Verfügbarkeit (§ 3): Dienst-, Werk- oder Mietvertrag; ob § 3 Abs. 2 im B2B hält.
3. Nur Unternehmer (§ 2): reichen Pflichtfeld Firmenname und die nicht vorausgewählte Bestätigung „Ich handle als Unternehmer“ in der Konsole?
4. Rollen (§ 9): Flexen als Auftragsverarbeiter für Inhalte der Aufrufe und das Aufrufprotokoll; Speichern von Anfragen und Antworten als Weisung des Kunden (Art. 28 Abs. 3 a DSGVO) statt Einwilligung; Brevo als Auftragsverarbeiter von Flexen für Mails der Konsole; als Verantwortlicher für Konto, Anmeldung und Zahlung (§ 9 Abs. 4); Firebase Authentication in den USA.
5. KI-Verordnung Art. 50 Abs. 2 (§ 7): sind wir Anbieter, sind strukturierte Nährwerte „synthetischer Text“, und genügt die Angabe der Herkunft je Eintrag (`source: "model"`) als maschinenlesbare Kennzeichnung?
6. ODbL (§ 8): Share-Alike und Angebot einer Kopie richtig beschrieben; eigene Pflichten von Flexen aus ODbL 4.2, 4.3 und 4.6.
7. Sperre bei Zahlungsstreit (§ 6): automatische Sperre des ganzen Kontos und Abzug aller noch nicht erstatteten Credits des Kaufs.
8. Änderungen (§ 12) und Unterauftragsverarbeiter (AVV Klausel 7.7 a): zwei Verfahren nebeneinander.
9. Gerichtsstand Kassel (§ 13), ausschließlich.
## Änderungen gegenüber entwurf-2 / Changes from entwurf-2
Nur § 9 (Leonard-Entscheid 22.11.2026, Konsole Runde 3): Inhalte von Aufrufen werden gespeichert, wenn der Kunde „Anfragen und Antworten speichern“ einschaltet (Weisung nach Art. 28 DSGVO; 30 Tage, verschlüsselt, ohne Bilder; Ausschalten löscht sofort) oder die Kopfzeile Idempotency-Key sendet (Antwort 24 Stunden); Aufrufprotokoll der Konsole in Firestore (30 Tage, ohne IP-Adresse und Inhalte); Kontodaten um Monatsbudget, Regeln je Schlüssel, Benachrichtigungen und Support-Anfragen ergänzt; Brevo als Empfänger für Mails der Konsole. Alles andere wie entwurf-2.
Only § 9 (console round 3): content of calls is stored if the customer switches on "Store requests and responses" (instruction under Art. 28 GDPR; 30 days, encrypted, without images; switching off deletes at once) or sends the Idempotency-Key header (response for 24 hours); console call log in Firestore (30 days, without IP address and content); account data now includes monthly budget, rules per key, notifications and support requests; Brevo as recipient for console emails. Everything else as in entwurf-2.
---
# API-Bedingungen – Flexen API
Fassung entwurf-3
## § 1 Anbieter und Geltung
Anbieter ist die Flexen UG (haftungsbeschränkt), Paul-Heidelbach-Straße 14, 34134 Kassel, Deutschland, Registergericht Amtsgericht Kassel, HRB 20498, Geschäftsführer Leonard Hoppe, Marcel Schneider, Leon Schmelzle, USt-IdNr. DE459052032, E-Mail support@flexen.co („wir“).
Diese Bedingungen gelten für die Nutzung der Flexen API und der Konsole unter https://console.flexen.co. Andere Bedingungen des Kunden gelten nicht, auch wenn wir ihnen nicht widersprechen.
## § 2 Nur für Unternehmer
Die API steht nur Unternehmern im Sinne von § 14 BGB offen, nicht Verbrauchern. Vor der Annahme gibt der Kunde in der Konsole seinen Firmennamen an und bestätigt in einem eigenen, nicht vorausgewählten Feld: „Ich handle als Unternehmer (§ 14 BGB) und nutze die API für meine gewerbliche oder selbständige berufliche Tätigkeit.“ Ohne diese Bestätigung ist keine Annahme möglich.
Der Vertrag kommt zustande, wenn der Kunde diese Bedingungen und den Vertrag zur Auftragsverarbeitung (AVV) in der Konsole annimmt. Wir speichern Zeitpunkt, Fassung, SHA-256 der Texte, die Bestätigungen und die E-Mail-Adresse der annehmenden Person.
## § 3 Leistungen
Die API schätzt Nährwerte aus Text und Foto, sucht Lebensmittel nach Begriff und Barcode, rechnet einen Tagesbedarf und führt einen Katalog eigener Lebensmittel und Rezepte des Kunden. Was jeder Endpunkt tut, welche Endpunkte verfügbar sind und welche als Beta gelten, steht in der Dokumentation der API. Für Beta-Endpunkte sagen wir keine bestimmten Eigenschaften zu.
Ergebnisse sind Schätzungen. Sie können falsch sein; Nährwerte aus Text und Foto kommen mit einer Spanne. Wir sichern keine bestimmte Genauigkeit zu. Wir bemühen uns um eine hohe Verfügbarkeit; Wartung und Störungen können zu Ausfällen führen. Aufrufe, die mit einem Fehler enden, berechnen wir nicht (§ 5).
## § 4 Konto, Schlüssel und Grenzen
Der Kunde legt in der Konsole Schlüssel an und hält sie geheim. Er trägt die Entgelte für Aufrufe mit seinen Schlüsseln, es sei denn, er hat den Missbrauch nicht zu vertreten. Wird ein Schlüssel bekannt, sperrt der Kunde ihn in der Konsole; für Aufrufe nach der Sperre zahlt er nichts.
Testschlüssel kosten nichts und antworten mit festen Beispielen. Live-Schlüssel buchen Credits ab.
Je Schlüssel sind höchstens 60 Aufrufe je Minute möglich. Der Kunde kann in der Konsole eine Tagesobergrenze für sein Konto setzen; ist sie erreicht, nimmt die API bis zum nächsten Tag (UTC) keine kostenpflichtigen Aufrufe an.
## § 5 Preise und Guthaben
Die API wird mit vorausbezahltem Guthaben in Credits bezahlt. 1 Credit kostet 0,1 Cent netto; 1 Euro ergibt 1.000 Credits. Die Preise je Endpunkt stehen in der Preisliste in Anlage 1 dieser Bedingungen (dauerhaft unter https://api.flexen.co/legal/api-terms/entwurf-3). Preise der Preisliste ändern wir nur nach § 12. Für einen neuen Endpunkt, der noch nicht in der Preisliste steht, nennen wir den Preis vor der Freigabe in der Dokumentation; nutzt der Kunde den Endpunkt, gilt dieser Preis, bis eine neue Fassung der Preisliste nach § 12 gilt. Alle Preise verstehen sich zuzüglich Umsatzsteuer.
Der Kunde lädt in der Konsole einen Betrag in ganzen Euro auf, je Aufladung mindestens 10 € und höchstens 5.000 € netto. Es gibt kein Abo und keine Mindestlaufzeit.
Guthaben verfällt nicht. Aufrufe, die mit einem Fehler enden, kosten nichts. Bricht der Kunde einen Aufruf ab, bevor unsere Berechnung fertig ist, kostet er nichts. Ist die Berechnung fertig und der Aufruf abgebucht, wird er berechnet, auch wenn die Antwort den Kunden wegen des Abbruchs nicht mehr erreicht.
Unverbrauchtes Guthaben erstatten wir auf Anfrage, anteilig zum gezahlten Bruttobetrag des jeweiligen Kaufs. Als verbraucht gilt zuerst das Startguthaben, dann Guthaben aus älteren vor jüngeren Käufen. Verbrauchtes Guthaben erstatten wir nicht. Ein kostenloses Startguthaben ist eine freiwillige Leistung; es wird nicht erstattet.
## § 6 Zahlung und Sperre
Bezahlt wird über unseren Zahlungsdienstleister Stripe, sobald wir die Kasse freigeschaltet haben. Gutgeschrieben wird, sobald Stripe die Zahlung bestätigt.
Bucht der Kunde eine Zahlung zurück oder eröffnet er einen Streitfall, sperren wir sein Konto automatisch, sobald Stripe uns den Streitfall meldet. Zugleich ziehen wir alle Credits dieses Kaufs ab, die noch nicht erstattet sind, höchstens das verfügbare Guthaben; ist der Kauf schon verbraucht, trifft der Abzug Guthaben aus anderen Käufen. Während der Sperre nimmt die API keine Aufrufe an, auch nicht mit Testschlüsseln. Wir heben die Sperre von Hand auf, nachdem wir den Fall geprüft haben. Endet der Streitfall zu unseren Gunsten, schreiben wir die abgezogenen Credits nach Prüfung wieder gut. Auskunft und Löschung des Kontos bleiben während der Sperre möglich.
## § 7 Pflichten des Kunden
Der Kunde nutzt die API nur rechtmäßig und sendet nur Inhalte, die er senden darf. Gegenüber seinen Nutzern sorgt er für die nötige Rechtsgrundlage, insbesondere für Einwilligungen in die Verarbeitung von Gesundheitsdaten (Art. 9 DSGVO).
Der Kunde setzt die API nur in Anwendungen ein, die sich an Erwachsene richten.
Die API dient keinem medizinischen Zweck. Der Kunde nutzt sie nicht für Diagnose, Behandlung oder andere klinische oder medizinische Zwecke und nicht als Teil eines Medizinprodukts.
Die Antwort gibt je Eintrag maschinenlesbar an, woher seine Werte stammen (Feld `source`). Die Angabe `source: "model"` bedeutet: Die Werte sind eine Schätzung eines KI-Systems. Der Kunde entfernt oder verfälscht diese Angabe nicht, wenn er Ergebnisse an andere Systeme weitergibt. Er zeigt seinen Nutzern deutlich, dass Nährwerte Schätzungen sind, möglichst mit Spanne, und dass sie von einem KI-System erzeugt werden. Eigene Pflichten als Betreiber, etwa nach der KI-Verordnung, erfüllt der Kunde für seine Anwendung selbst.
Der Kunde versucht nicht, Grenzen der API zu umgehen oder ihren Betrieb zu stören.
## § 8 Ergebnisse und Daten Dritter
Der Kunde darf eigene Ergebnisse der API (Schätzungen, Bedarfsrechnung, Werte aus seinem Katalog) dauerhaft speichern und in seinen Produkten nutzen. Eine Nennung von Flexen ist dafür nicht nötig.
Für Daten aus Quellen Dritter gilt deren Lizenz. Die Antwort kennzeichnet solche Daten in den Feldern `source`, `license` und gegebenenfalls `attribution`:
- Open Food Facts (`source: "open_food_facts"`): Die Datenbank steht unter der Open Database License (ODbL) 1.0 (https://opendatacommons.org/licenses/odbl/1-0/), einzelne Inhalte unter der Database Contents License (DbCL) 1.0. Der Kunde nennt bei jeder öffentlichen Nutzung die Quelle mit Lizenz und Link, zum Beispiel: „Enthält Daten von Open Food Facts (https://openfoodfacts.org), verfügbar unter der Open Database License (ODbL) 1.0. © Open Food Facts contributors“ (ODbL 4.3). Speichert der Kunde solche Daten dauerhaft in einer eigenen Datenbank, ist diese eine abgeleitete Datenbank im Sinne der ODbL. Nutzt er sie öffentlich, muss er sie ebenfalls unter der ODbL 1.0 anbieten (Share-Alike, ODbL 4.4) und eine maschinenlesbare Kopie der abgeleiteten Datenbank oder der Änderungen anbieten (ODbL 4.6). Die übrigen Bedingungen von Open Food Facts gelten (https://world.openfoodfacts.org/terms-of-use). Bilder von Open Food Facts liefert die API nicht.
- USDA FoodData Central (`source: "usda_fdc"`): Die Daten sind gemeinfrei und unter CC0 1.0 veröffentlicht; eine Nennung ist nicht nötig. Die USDA bittet um die Nennung „U.S. Department of Agriculture, Agricultural Research Service. FoodData Central“, und wir empfehlen sie.
## § 9 Datenschutz
Inhalte von Aufrufen (Texte, Fotos, Angaben zur Bedarfsrechnung, Korrekturen) verarbeiten wir im Arbeitsspeicher und nur, um den Aufruf zu beantworten. Wir speichern sie nur in zwei Fällen. Erstens: Der Kunde schaltet in der Konsole „Anfragen und Antworten speichern“ für sein Konto ein, getrennt für Test und Live. Das Einschalten ist eine dokumentierte Weisung des Kunden nach Art. 28 Abs. 3 a DSGVO und Klausel 7.1 des AVV. Dann speichern wir Anfrage und Antwort jedes Aufrufs dieser Art 30 Tage in Firestore (Region europe-west3), vor dem Speichern von uns mit AES-256-GCM verschlüsselt, je Teil auf 32 KB gekürzt, ohne API-Schlüssel und ohne Bilder (von einem Bild nur Größe und Format). Schaltet der Kunde die Funktion aus, löschen wir die gespeicherten Inhalte dieser Art sofort, bei sehr vielen Einträgen innerhalb weniger Minuten. Zweitens: Sendet der Kunde bei einem Aufruf die Kopfzeile Idempotency-Key, speichern wir die erfolgreiche Antwort 24 Stunden, verschlüsselt mit einem Schlüssel, der aus dieser Kopfzeile abgeleitet ist und den wir nicht speichern. Fotos speichern wir nie; sie werden nach der Verarbeitung verworfen. Suchbegriffe und Barcodes geben wir an Open Food Facts und USDA FoodData Central weiter und halten deren Ergebnisse bis zu 24 Stunden im Arbeitsspeicher vor, ohne Bezug zum Konto; der Suchbegriff steht dort nur als Hash. Den Katalog speichern wir, bis der Kunde ihn oder sein Konto löscht. Wir verwenden Inhalte nicht zum Training von Modellen.
Protokolle (Stand 22.11.2026): Je Aufruf schreibt der Dienst eine Zeile mit Kennung des Aufrufs und des Schlüssels, Endpunkt, Status, abgebuchten Credits und Dauer, ohne Inhalte. Zusätzlich speichert der Dienst je Aufruf mit gültigem Schlüssel, auch mit Testschlüsseln und beim Ausprobieren in der Konsole, einen Eintrag für das Aufrufprotokoll der Konsole: Kennung des Aufrufs, Zeit, Kennung und Präfix des Schlüssels, Art (Test oder Live), Quelle, Endpunkt, Methode, Status, Fehlercode, Dauer, Credits und die Namen verwendeter Optionen; ohne IP-Adresse, ohne Kopfzeilen und ohne Inhalte. Dieses Aufrufprotokoll liegt in Firestore in der Region europe-west3 und wird nach 30 Tagen gelöscht; Name und Präfix eines gelöschten Schlüssels bleiben dafür 31 Tage. Google Cloud Run protokolliert zusätzlich je Anfrage Methode, Adresse ohne Query, Status, Größe, Dauer, IP-Adresse und User-Agent. Anfragen, deren Adresse eine Query enthält (etwa Suchbegriffe), und Barcode-Abfragen schließen wir von dieser Speicherung aus. Die Protokolle liegen in Cloud Logging in der Region europe-west3 (Frankfurt am Main) und werden nach 30 Tagen gelöscht. Das Protokoll des Load Balancers ist ausgeschaltet.
Für personenbezogene Daten in den Inhalten von Aufrufen, im Katalog und in den Protokollen der Aufrufe sind wir Auftragsverarbeiter des Kunden. Es gilt der AVV, den der Kunde zusammen mit diesen Bedingungen annimmt. Rechnen und Speichern finden in Google Cloud in der Region europe-west3 (Frankfurt am Main) statt; die Schätzung aus Text und Foto rechnet der Modellanbieter in AVV Anhang IV. Unterauftragsverarbeiter, Orte und Übermittlungen in Drittländer stehen in Anhang IV des AVV.
Für die Daten des Kundenkontos sind wir selbst Verantwortlicher: E-Mail-Adresse, Kennung und Anbieter der Anmeldung, Firmenangaben, Protokoll der Aktionen im Konto (365 Tage, ohne IP-Adressen), Zahlungen und Buchungen, Monatsbudget, Regeln je Schlüssel (Ablaufdatum, erlaubte Endpunkte, Monatsgrenze, erlaubte IP-Adressen), Einstellungen der Benachrichtigungen, Support-Anfragen (180 Tage) sowie die Nachweise der Annahme dieser Bedingungen. Benachrichtigungen per E-Mail (Monatsbudget zu 80 % und 100 %, wenig Guthaben, Tagesobergrenze, gesperrter Schlüssel, gesperrtes Konto, Bestätigung einer Support-Anfrage) gehen an die Mitglieder des Kontos und, wenn eingeschaltet, an die Adresse für Rechnungen; sie liegen höchstens 7 Tage im Postausgang (Firestore, europe-west3). Den Versand übernimmt Brevo (Sendinblue SAS, Paris, Frankreich) als unser Auftragsverarbeiter; Brevo erhält Empfängeradresse, Betreff und Text der Mail, keine Inhalte von Aufrufen. Zwecke sind die Erfüllung dieses Vertrags, Buchhaltung und Abwehr von Missbrauch (Art. 6 Abs. 1 b, c und f DSGVO). Die Anmeldung zur Konsole läuft über Firebase Authentication der Google LLC; dieser Dienst verarbeitet die Anmeldedaten ausschließlich in den USA (https://firebase.google.com/support/privacy). Grundlage der Übermittlung ist die Zertifizierung der Google LLC nach dem EU-U.S. Data Privacy Framework und hilfsweise die Standardvertragsklauseln in Abschnitt 10 der Firebase Data Processing and Security Terms (https://firebase.google.com/terms/data-processing-terms). Zahlungen wickelt Stripe ab, für eigene Zwecke wie Betrugsabwehr und gesetzliche Pflichten als eigener Verantwortlicher; Stripe übermittelt Daten an die Stripe, LLC in den USA auf Grundlage der Standardvertragsklauseln (Durchführungsbeschluss (EU) 2021/914) und des Data Privacy Framework nach dem Stripe Data Processing Agreement (https://stripe.com/legal/dpa). Nachweise der Annahme bewahren wir bis drei Jahre nach Vertragsende auf, Buchungsbelege nach den gesetzlichen Fristen (HGB, AO). Fragen und Rechte nach Art. 15 bis 21 DSGVO: support@flexen.co.
## § 10 Haftung
Wir haften unbeschränkt bei Vorsatz und grober Fahrlässigkeit, bei Verletzung von Leben, Körper oder Gesundheit, nach dem Produkthaftungsgesetz und im Umfang einer übernommenen Garantie.
Bei leichter Fahrlässigkeit haften wir nur, wenn wir eine wesentliche Vertragspflicht verletzen, also eine Pflicht, deren Erfüllung den Vertrag erst möglich macht und auf die der Kunde vertrauen darf. Dann ist die Haftung auf den vertragstypischen, vorhersehbaren Schaden begrenzt. Im Übrigen haften wir bei leichter Fahrlässigkeit nicht.
## § 11 Laufzeit und Kündigung
Der Vertrag läuft auf unbestimmte Zeit. Der Kunde kann jederzeit kündigen, indem er sein Konto in der Konsole löscht; die Löschung lässt sich 30 Tage lang zurücknehmen. Wir können mit einer Frist von sechs Wochen per E-Mail kündigen. Das Recht zur Kündigung aus wichtigem Grund bleibt unberührt. Kündigen wir, erstatten wir unverbrauchtes Guthaben nach § 5 ohne Anfrage innerhalb von 30 Tagen; kündigt der Kunde, auf Anfrage.
## § 12 Änderungen
Änderungen dieser Bedingungen, der Preisliste (Anlage 1) und des AVV kündigen wir mindestens sechs Wochen vor ihrem Inkrafttreten per E-Mail an und bitten in der Konsole um Zustimmung. Ohne Zustimmung gilt für den Kunden die bisherige Fassung weiter; wir können dann nach § 11 kündigen. Stimmt der Kunde nicht zu, kann er jederzeit kündigen; unverbrauchtes Guthaben erstatten wir dann ohne Anfrage innerhalb von 30 Tagen.
Ausgenommen ist die Liste der Unterauftragsverarbeiter in Anhang IV des AVV. Für sie gilt nur Klausel 7.7 a des AVV: Wir unterrichten den Kunden mindestens 30 Tage im Voraus per E-Mail, und er kann widersprechen. Widerspricht er aus berechtigtem Grund und finden wir keine Lösung, kann er den Vertrag kündigen; unverbrauchtes Guthaben erstatten wir dann ohne Anfrage innerhalb von 30 Tagen.
## § 13 Recht und Gerichtsstand
Es gilt deutsches Recht unter Ausschluss des UN-Kaufrechts. Ausschließlicher Gerichtsstand ist Kassel, soweit der Kunde Kaufmann, juristische Person des öffentlichen Rechts oder öffentlich-rechtliches Sondervermögen ist oder soweit dies sonst gesetzlich zulässig ist. Wir können auch am Sitz des Kunden klagen.
## § 14 Sprache
Maßgeblich ist die deutsche Fassung. Die englische Übersetzung dient dem Verständnis.
## Anlage 1 – Preisliste
Preise netto je erfolgreichem Aufruf mit einem Live-Schlüssel; 1 Credit = 0,1 Cent netto. Testschlüssel kosten nichts.
| Endpunkt | Credits |
|---|---|
| POST /v1/nutrition/text (Schätzung aus Text, Stufe economy) | 1 |
| POST /v1/nutrition/photo (Schätzung aus Foto, Stufe economy) | 2 |
| GET /v1/foods/search (Suche) | 1 |
| GET /v1/foods/barcode/{code} (Barcode) | 1 |
| POST /v1/goals/calculate (Tagesbedarf) | 1 |
| POST /v1/nutrition/correct (Korrektur) | noch kein Preis; antwortet bis dahin mit 503 |
| alle Endpunkte unter /v1/catalog (Katalog) | 0 |
| GET /v1/account/balance, GET /v1/account/usage | 0 |
---
# API Terms – Flexen API (English translation)
Version entwurf-3. This translation is for information; the German version prevails.
## § 1 Provider and scope
The provider is Flexen UG (haftungsbeschränkt), Paul-Heidelbach-Straße 14, 34134 Kassel, Germany, register court Amtsgericht Kassel, HRB 20498, managing directors Leonard Hoppe, Marcel Schneider, Leon Schmelzle, VAT ID DE459052032, e-mail support@flexen.co ("we").
These terms apply to the use of the Flexen API and the console at https://console.flexen.co. Other terms of the customer do not apply, even if we do not object to them.
## § 2 Businesses only
The API is available only to businesses (Unternehmer within the meaning of § 14 of the German Civil Code), not to consumers. Before accepting, the customer enters its company name in the console and confirms in a separate box that is not pre-ticked: "I act as a business (§ 14 BGB) and use the API for my trade, business or profession." Acceptance is not possible without this confirmation.
The contract is concluded when the customer accepts these terms and the data processing agreement (DPA) in the console. We store the time, the version, the SHA-256 of the texts, the confirmations and the e-mail address of the person accepting.
## § 3 Services
The API estimates nutrition values from text and photos, searches foods by term and barcode, calculates daily needs and keeps a catalog of the customer's own foods and recipes. What each endpoint does, which endpoints are available and which count as beta is described in the API documentation. We do not promise any particular properties for beta endpoints.
Results are estimates. They can be wrong; nutrition values from text and photos come with a range. We do not promise any particular accuracy. We strive for high availability; maintenance and incidents can cause outages. We do not charge for calls that end with an error (§ 5).
## § 4 Account, keys and limits
The customer creates keys in the console and keeps them secret. It pays for calls made with its keys unless it is not responsible for the misuse. If a key becomes known, the customer revokes it in the console; it pays nothing for calls after the revocation.
Test keys are free and answer with fixed examples. Live keys deduct credits.
Each key allows at most 60 calls per minute. The customer can set a daily cap for its account in the console; once it is reached, the API accepts no paid calls until the next day (UTC).
## § 5 Prices and credits
The API is paid for with prepaid credits. 1 credit costs 0.1 euro cents net; 1 euro buys 1,000 credits. Prices per endpoint are listed in the price list in Annex 1 to these terms (permanently at https://api.flexen.co/legal/api-terms/entwurf-3). We change prices in the price list only under § 12. For a new endpoint not yet in the price list, we state the price in the documentation before release; if the customer uses the endpoint, that price applies until a new version of the price list applies under § 12. All prices are exclusive of VAT.
The customer tops up an amount in whole euros in the console, at least €10 and at most €5,000 net per top-up. There is no subscription and no minimum term.
Credits do not expire. Calls that end with an error cost nothing. If the customer aborts a call before our computation has finished, it costs nothing. Once the computation has finished and the call has been charged, it is billed even if the response no longer reaches the customer because of the abort.
On request we refund unused credits, pro rata to the gross amount paid for the respective purchase. Free starting credits count as used first, then credits from older purchases before newer ones. We do not refund used credits. Free starting credits are a voluntary benefit and are not refunded.
## § 6 Payment and suspension
Payment is handled by our payment provider Stripe once we have enabled checkout. Credits are added once Stripe confirms the payment.
If the customer charges back a payment or opens a dispute, we suspend its account automatically as soon as Stripe notifies us of the dispute. At the same time we deduct all credits of that purchase that have not yet been refunded, at most the available balance; if the purchase has already been used, the deduction affects credits from other purchases. While suspended, the API accepts no calls, not even with test keys. We lift the suspension manually after reviewing the case. If the dispute ends in our favour, we re-credit the deducted credits after review. Data export and account deletion remain available during the suspension.
## § 7 Customer obligations
The customer uses the API lawfully and sends only content it is allowed to send. Towards its users it provides the required legal basis, in particular consent to the processing of health data (Art. 9 GDPR).
The customer uses the API only in applications aimed at adults.
The API serves no medical purpose. The customer does not use it for diagnosis, treatment or other clinical or medical purposes, nor as part of a medical device.
The response states in machine-readable form for each entry where its values come from (field `source`). `source: "model"` means: the values are an estimate by an AI system. The customer does not remove or falsify this information when passing results on to other systems. It clearly shows its users that nutrition values are estimates, where possible with a range, and that they are generated by an AI system. The customer itself fulfils its own obligations as a deployer, for example under the AI Act, for its application.
The customer does not try to circumvent the limits of the API or to disrupt its operation.
## § 8 Results and third-party data
The customer may store its own results from the API (estimates, needs calculation, values from its catalog) permanently and use them in its products. Naming Flexen is not required for this.
Data from third-party sources is subject to their licence. The response marks such data in the fields `source`, `license` and, where applicable, `attribution`:
- Open Food Facts (`source: "open_food_facts"`): the database is licensed under the Open Database License (ODbL) 1.0 (https://opendatacommons.org/licenses/odbl/1-0/), individual contents under the Database Contents License (DbCL) 1.0. For every public use the customer names the source with licence and link, for example: "Contains data from Open Food Facts (https://openfoodfacts.org), available under the Open Database License (ODbL) 1.0. © Open Food Facts contributors" (ODbL 4.3). If the customer stores such data permanently in its own database, that database is a derivative database within the meaning of the ODbL. If it uses it publicly, it must also offer it under the ODbL 1.0 (share-alike, ODbL 4.4) and offer a machine-readable copy of the derivative database or of the changes (ODbL 4.6). The other terms of Open Food Facts apply (https://world.openfoodfacts.org/terms-of-use). The API does not deliver images from Open Food Facts.
- USDA FoodData Central (`source: "usda_fdc"`): the data is in the public domain and published under CC0 1.0; naming the source is not required. USDA asks to be cited as "U.S. Department of Agriculture, Agricultural Research Service. FoodData Central", and we recommend it.
## § 9 Data protection
We process the content of calls (texts, photos, data for the needs calculation, corrections) in memory and only to answer the call. We store it in two cases only. First: the customer switches on "Store requests and responses" for its account in the console, separately for test and live. Switching it on is a documented instruction of the customer under Art. 28(3)(a) GDPR and Clause 7.1 of the DPA. We then store the request and response of every call of that kind for 30 days in Firestore (region europe-west3), encrypted by us with AES-256-GCM before storing, each part cut to 32 KB, without API keys and without images (of an image only size and format). If the customer switches the feature off, we delete the stored content of that kind at once, within a few minutes if there are very many entries. Second: if the customer sends the Idempotency-Key header with a call, we store the successful response for 24 hours, encrypted with a key that is derived from this header and that we do not store. We never store photos; they are discarded after processing. We pass search terms and barcodes to Open Food Facts and USDA FoodData Central and keep their results in memory for up to 24 hours, without reference to the account; the search term is kept there only as a hash. We store the catalog until the customer deletes it or its account. We do not use content to train models.
Logs (as of 22 November 2026): for each call the service writes one line with request ID and key ID, endpoint, status, credits charged and duration, without content. In addition, for every call with a valid key, including test keys and calls from the console's playground, the service stores an entry for the console's call log: request ID, time, key ID and prefix, kind (test or live), source, endpoint, method, status, error code, duration, credits and the names of options used; without IP address, without headers and without content. This call log is kept in Firestore in region europe-west3 and deleted after 30 days; the name and prefix of a deleted key are kept for 31 days for this purpose. Google Cloud Run additionally logs per request the method, the URL without query, status, size, duration, IP address and user agent. Requests whose URL contains a query (such as search terms) and barcode lookups are excluded from this storage. The logs are kept in Cloud Logging in region europe-west3 (Frankfurt am Main) and deleted after 30 days. Load balancer logging is switched off.
For personal data in the content of calls, in the catalog and in the call logs we are the customer's processor. The DPA, which the customer accepts together with these terms, applies. Computing and storage take place in Google Cloud in region europe-west3 (Frankfurt am Main); estimates from text and photos are computed by the model provider listed in DPA Annex IV. Sub-processors, locations and transfers to third countries are listed in Annex IV of the DPA.
For the data of the customer account we are the controller ourselves: e-mail address, sign-in ID and provider, company details, log of actions in the account (365 days, without IP addresses), payments and bookings, monthly budget, rules per key (expiry date, allowed endpoints, monthly limit, allowed IP addresses), notification settings, support requests (180 days), and the records of acceptance of these terms. Email notifications (monthly budget at 80% and 100%, low balance, daily cap, suspended key, suspended account, confirmation of a support request) go to the members of the account and, if switched on, to the billing address; they stay in the outbox (Firestore, europe-west3) for at most 7 days. They are sent by Brevo (Sendinblue SAS, Paris, France) as our processor; Brevo receives the recipient address, subject and text of the email, no content of calls. The purposes are performance of this contract, bookkeeping and prevention of misuse (Art. 6(1)(b), (c) and (f) GDPR). Sign-in to the console uses Firebase Authentication by Google LLC; this service processes sign-in data exclusively in the United States (https://firebase.google.com/support/privacy). The transfer is based on Google LLC's certification under the EU-U.S. Data Privacy Framework and, alternatively, on the standard contractual clauses in Section 10 of the Firebase Data Processing and Security Terms (https://firebase.google.com/terms/data-processing-terms). Payments are handled by Stripe, which acts as an independent controller for its own purposes such as fraud prevention and legal obligations; Stripe transfers data to Stripe, LLC in the United States on the basis of the standard contractual clauses (Implementing Decision (EU) 2021/914) and the Data Privacy Framework under the Stripe Data Processing Agreement (https://stripe.com/legal/dpa). We keep records of acceptance until three years after the end of the contract, accounting records for the statutory periods (German Commercial Code, Fiscal Code). Questions and rights under Art. 15 to 21 GDPR: support@flexen.co.
## § 10 Liability
We are liable without limitation for intent and gross negligence, for injury to life, body or health, under the German Product Liability Act and to the extent of any guarantee we have given.
For slight negligence we are liable only if we breach an essential contractual obligation, meaning an obligation whose fulfilment makes the contract possible in the first place and on which the customer may rely. Liability is then limited to the damage typical for the contract and foreseeable. Otherwise we are not liable for slight negligence.
## § 11 Term and termination
The contract runs for an indefinite period. The customer may terminate at any time by deleting its account in the console; the deletion can be undone for 30 days. We may terminate with six weeks' notice by e-mail. The right to terminate for good cause remains unaffected. If we terminate, we refund unused credits under § 5 without request within 30 days; if the customer terminates, on request.
## § 12 Changes
We announce changes to these terms, to the price list (Annex 1) and to the DPA by e-mail at least six weeks before they take effect and ask for consent in the console. Without consent the previous version continues to apply to the customer; we may then terminate under § 11. If the customer does not agree, it may terminate at any time; we then refund unused credits without request within 30 days.
The list of sub-processors in Annex IV of the DPA is excluded. Only Clause 7.7(a) of the DPA applies to it: we inform the customer by e-mail at least 30 days in advance, and it may object. If it objects on reasonable grounds and we find no solution, it may terminate the contract; we then refund unused credits without request within 30 days.
## § 13 Law and venue
German law applies, excluding the UN Convention on Contracts for the International Sale of Goods. The exclusive place of jurisdiction is Kassel if the customer is a merchant, a legal entity under public law or a special fund under public law, or to the extent otherwise permitted by law. We may also sue at the customer's seat.
## § 14 Language
The German version is authoritative. The English translation is provided for convenience.
## Annex 1 – Price list
Net prices per successful call with a live key; 1 credit = 0.1 euro cents net. Test keys are free.
| Endpoint | Credits |
|---|---|
| POST /v1/nutrition/text (estimate from text, tier economy) | 1 |
| POST /v1/nutrition/photo (estimate from photo, tier economy) | 2 |
| GET /v1/foods/search (search) | 1 |
| GET /v1/foods/barcode/{code} (barcode) | 1 |
| POST /v1/goals/calculate (daily needs) | 1 |
| POST /v1/nutrition/correct (correction) | no price yet; answers 503 until then |
| all endpoints under /v1/catalog (catalog) | 0 |
| GET /v1/account/balance, GET /v1/account/usage | 0 |