NouveauVoie Eco désormais sur 91 modèles : le même modèle, moins cher

Devise

Vous rechargez toujours en euros. Les autres devises sont affichées au taux du jour de la BCE. Taux de référence de la BCE

Se connecterCommencer

Budget, allowed models and expiry date

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

Le centre d’aide est rédigé en anglais et en néerlandais. Vous lisez la version anglaise.

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"
Dans ce thème: Clés API

Toujours bloqué ? Contactez le support

Posez votre question à Miles dans votre tableau de bord, ou parlez à une personne. Il s’agit d’un appel API ? Joignez l’ID de requête.