NovitàCorsia Eco ora su 91 modelli: lo stesso modello a un prezzo più basso

Valuta

Ricarichi sempre in euro. Le altre valute sono indicate al tasso BCE del giorno. Tassi di riferimento BCE

AccediInizia

Budget, allowed models and expiry date

Limit what a key can spend, which models it can use and how long it works.

Il centro assistenza è scritto in inglese e in olandese. Stai leggendo la versione inglese.

Set these when you create a key, or later with Edit on app.nexrouting.com/keys.

Budget
The total a key may spend, from $0.01 to $1,000,000. It’s a total over the key’s whole life, not per month. When it’s reached, requests fail with 402 and the code key_budget_exceeded until you raise the budget.
Allowed models
All models, or Only these. Other models fail with 403 and the code model_not_allowed. Allowing a model also allows its Eco lane; allowing only the Eco lane (…:eco) doesn’t allow Standard.
Expiry date
The key works until the end of that day (UTC), at most five years ahead. After that, requests fail with 401 and the code api_key_expired.

Check a key from your code with GET /v1/key. It returns the limit, usage, remaining budget, rate limit, allowed models and expiry date of the key you send:

curl https://api.nexrouting.com/v1/key \
  -H "Authorization: Bearer $NEXROUTING_API_KEY"
In questo argomento: Chiavi API

Serve ancora aiuto? Contatta il supporto

Chiedi a Miles nella tua dashboard, o parla con una persona. Riguarda una chiamata API? Invia l’ID della richiesta.