L'invio delle notizie e la flotta NakBus sono ora nella dashboard partner
Collega il tuo account sviluppatore a un account Nakordoni Partners con la stessa email e gestisci lì le notizie e la tua flotta di autobus (NakDriver / NakManager), con ruoli di team. Le tue chiavi API, endpoint e app rimangono invariate, e le pagine qui continuano a funzionare. Apri Nakordoni Partners

← Tutti gli endpoint

API di utilizzo dell'account

Quanto resta dei tuoi limiti in questo momento, per la chiave con cui chiami: piano, limite al secondo e, per ogni classe di quota giornaliera (cheap, heavy, route), limite, usato, residuo e ora di azzeramento (mezzanotte UTC); inoltre i tuoi paesi come li vede questa chiave e dove passare a un piano superiore. Non conteggiato, 30 chiamate al minuto per chiave.

GET https://nakordoni.eu/api/v2/account/usage — non conteggiato — non consuma mai quota

Campi della risposta — all’interno dell’oggetto data della busta. [] indica una lista, quindi data.items[].name è il campo name di ogni elemento. Un campo è null, assente o una lista vuota quando non abbiamo un valore — mai un segnaposto.

CampoDescrizione
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"
🔑 Accedi come sviluppatore per provare questo endpoint dal vivo nella sandbox — 50 chiamate di prova gratuite al giorno. Accedi

Aggiornato