---
title: "Limiti Globali | Tajo"
description: "I tre livelli di limiti di frequenza dell’API di Brevo, i limiti di ciascuno e come gestire un 429"
url: https://tajo.io/it/docs/rate-limits/global-limits/
markdown: https://tajo.io/it/docs/rate-limits/global-limits.md
lang: it-IT
author: "Set Noa"
author_url: https://tajo.io/it/set-noa/
robots: noindex
---

Richiedi l’accesso anticipato

Inserisci il tuo nome e indirizzo email aziendale. Ti invieremo un link per confermare la richiesta di accesso a Tajo.

# Limiti Globali

[Set Noa](https://tajo.io/it/set-noa/)

Brevo limita le richieste API per endpoint. Ogni limite è un numero di richieste al secondo (RPS), all’ora (RPH) o entrambi. I valori qui sotto provengono dalla [pagina dei limiti di frequenza](https://developers.brevo.com/docs/api-limits) di Brevo, verificata il 7 ottobre 2026. Controlla quella pagina prima di dimensionare un job grande.

## Livelli dei limiti di frequenza

| Livello | Disponibile con |
| --- | --- |
| **General** | Free, Starter, Standard, Professional ed Enterprise |
| **Advanced** | Professional ed Enterprise |
| **Extended** | Enterprise |

## Limiti per livello

| Endpoint | General | Advanced | Extended |
| --- | --- | --- | --- |
| `POST /v3/smtp/email`, `GET /v3/smtp/blockedContacts` | 1.000 RPS, 3.600.000 RPH | 2.000 RPS, 7.200.000 RPH | 6.000 RPS |
| `GET /v3/smtp/emails` | 2 RPS, 7.200 RPH | 3 RPS, 10.800 RPH | 18.000 RPH |
| `POST /v3/transactionalSMS/send` | 150 RPS, 540.000 RPH | 200 RPS, 720.000 RPH | 250 RPS |
| `POST /v3/events` | 10 RPS, 36.000 RPH | 20 RPS, 72.000 RPH | 60 RPS |
| `POST /v3/orders/status` | 5 RPS, 18.000 RPH | 10 RPS, 36.000 RPH | 15 RPS |
| `POST /v3/products` | 2 RPS, 7.200 RPH | 4 RPS, 14.400 RPH | 21.600 RPH |
| Altri endpoint sotto `/v3/smtp` | 300 RPH | 600 RPH | 1.800 RPH |
| Tutti gli endpoint sotto `/v3/contacts` | 10 RPS, 36.000 RPH | 20 RPS, 72.000 RPH | 60 RPS |
| Tutti gli endpoint sotto `/v3/loyalty` | 600 RPH | 1.200 RPH | 100.000 RPH |
| Tutti gli altri endpoint | 100 RPH | 200 RPH | 600 RPH |

Quando un endpoint ha sia un limite RPS sia un limite RPH, resta sotto entrambi.

## Header dei limiti di frequenza

Gli endpoint soggetti a limiti di frequenza restituiscono questi header:

```http
HTTP/1.1 200 OK
x-sib-ratelimit-limit: 1000
x-sib-ratelimit-remaining: 750
x-sib-ratelimit-reset: 1
```

### Descrizione degli header

- `x-sib-ratelimit-limit`: richieste consentite nella finestra corrente
- `x-sib-ratelimit-remaining`: richieste rimaste nella finestra corrente
- `x-sib-ratelimit-reset`: tempo rimanente prima del reset della finestra, di solito in secondi

Brevo documenta questi header nella sua [pagina sugli header dei limiti](https://developers.brevo.com/docs/limit-headers).

## Monitorare l’utilizzo

### Controllare l’utilizzo attuale

```javascript
const checkRateLimit = async () => {
  const response = await fetch('https://api.brevo.com/v3/account', {
    headers: { 'api-key': process.env.BREVO_API_KEY }
  });

  console.log({
    limit: response.headers.get('x-sib-ratelimit-limit'),
    remaining: response.headers.get('x-sib-ratelimit-remaining'),
    resetInSeconds: Number(response.headers.get('x-sib-ratelimit-reset'))
  });
};
```

## Gestire i limiti di frequenza

### Backoff esponenziale

```javascript
const makeRequestWithBackoff = async (url, options, maxRetries = 3) => {
  for (let i = 0; i < maxRetries; i++) {
    const response = await fetch(url, options);

    if (response.status !== 429) return response;

    const resetSeconds = Number(response.headers.get('x-sib-ratelimit-reset') || 1);
    const delay = Math.max(resetSeconds * 1000, 1000 * Math.pow(2, i));

    console.log(`Rate limited. Waiting ${delay}ms before retry ${i + 1}`);
    await new Promise(resolve => setTimeout(resolve, delay));
  }
  throw new Error('Rate limit retries exhausted');
};
```

## Se continui a raggiungere i limiti

1. **Distribuisci le richieste in modo uniforme**: un limite di 1.000 RPS consente fino a 60.000 richieste al minuto solo se sono distribuite in modo uniforme.
2. **Raggruppa e metti in cache**: usa gli endpoint bulk ed evita di rileggere dati che hai già.
3. **Usa i webhook per le statistiche**: ricevi gli eventi invece di interrogare con polling gli endpoint delle statistiche.
4. **Valuta un livello superiore**: i livelli avanzato ed esteso sono inclusi nei piani Professional ed Enterprise.
