Nachrichteneinreichung und NakBus-Flotte sind jetzt im Partner-Dashboard
Verknüpfen Sie Ihr Entwicklerkonto mit einem Nakordoni-Partners-Konto mit derselben E-Mail-Adresse und verwalten Sie dort Nachrichten sowie Ihre Busflotte (NakDriver / NakManager) mit Teamrollen. Ihre API-Schlüssel, Endpunkte und Apps bleiben unverändert, und die Seiten hier funktionieren weiterhin. Nakordoni Partners öffnen

← Alle Endpunkte

Kontonutzungs-API

Was von Ihren Limits gerade übrig ist, für den Schlüssel, mit dem Sie aufrufen: Plan, Limit pro Sekunde und für jede Tageskontingent-Klasse (cheap, heavy, route) Limit, verbraucht, verbleibend und Rücksetzzeit (Mitternacht UTC); außerdem Ihre Länder aus Sicht dieses Schlüssels und wo Sie upgraden. Nicht gezählt, 30 Aufrufe pro Minute pro Schlüssel.

GET https://nakordoni.eu/api/v2/account/usage — nicht gezählt — verbraucht nie Kontingent

Antwortfelder — innerhalb des data-Objekts im Antwortumschlag. [] steht für eine Liste, data.items[].name ist also das Feld name jedes Elements. Ein Feld ist null, fehlt oder ist eine leere Liste, wenn wir keinen Wert dafür haben — nie ein Platzhalter.

FeldBeschreibung
data.planYour plan: slug and display name.
data.qpsPer-second request cap that applies to this key now.
data.quotas.cheap.limitDaily allowance of the standard class; heavy and route have the same four fields.
data.quotas.cheap.usedUnits spent today with this key.
data.quotas.cheap.remainingUnits left today — equals X-Devapi-Remaining.
data.quotas.cheap.reset_atWhen the counter resets, ISO-8601 UTC (midnight UTC). The X-Devapi-Reset header gives the same moment as a Unix timestamp.
data.markets.approvedCountries this key may use. Countries switched on through an integration work only with that integration's key.
data.markets.allowedHow many countries the plan allows; null = unlimited.
data.markets.availableIntegration keys only: the integration's countries you do not have yet (null for other keys).
data.markets.key_boundtrue when some approved countries belong to one key only, so another key can see a different list.
data.upgrade_urlBilling page in your account language — upgrade the plan or add extra countries.
data.passIntegration keys only: Trip Pass state {active, expires_at, days_left}; null for other keys.
data.pass_urlIntegration keys only: link to the Trip Pass on the Billing page (account language); null for other keys.
curl "https://nakordoni.eu/api/v2/account/usage" \
  -H "Authorization: Bearer NKD-DEV-XXXX-XXXX-XXXX"
🔑 Melden Sie sich als Entwickler an, um diesen Endpunkt live in der Sandbox auszuprobieren — 50 kostenlose Testaufrufe pro Tag. Anmelden

Aktualisiert