# Email Account Analytics

> Sends, rates and the last 14 days of sends for one email account.

Requires an API key with the `read` scope.

## Path Parameters

<ParamField path="account_id" type="string" required>The email account id.</ParamField>

## Response

<ResponseField name="data" type="object">
  <Expandable title="data">
    <ResponseField name="totalSent" type="integer">All emails logged for the account.</ResponseField>
    <ResponseField name="healthScore" type="integer | null">The placement-based Health Score (0-100), or `null` while there are too few measured warmup emails. The same number the dashboard shows.</ResponseField>
    <ResponseField name="bounceRate" type="number">Bounce rate as a percentage (1 decimal).</ResponseField>
    <ResponseField name="replyRate" type="number">Reply rate as a percentage (1 decimal).</ResponseField>
    <ResponseField name="sentByDay" type="array">The last 14 days, oldest first, each with `date` and `sent`, bucketed in the account's timezone.</ResponseField>
  </Expandable>
</ResponseField>

<RequestExample>
```bash cURL
curl "https://api.foxreach.io/api/v1/analytics/accounts/acc_abc123" \
  -H "X-API-Key: otr_your_key"
```

```python Python SDK
from foxreach import FoxReach

client = FoxReach(api_key="otr_your_key")
stats = client.analytics.account("acc_abc123")
```

```typescript TypeScript SDK
import { FoxReach } from "foxreach";

const client = new FoxReach({ apiKey: "otr_your_key" });
const stats = await client.analytics.account("acc_abc123");
```
</RequestExample>

<ResponseExample>
```json
{
  "data": {
    "totalSent": 1840,
    "healthScore": 91,
    "bounceRate": 1.2,
    "replyRate": 4.8,
    "sentByDay": [{"date": "2026-11-03", "sent": 42}, {"date": "2026-11-04", "sent": 38}]
  }
}
```
</ResponseExample>

Unlike the dashboard response, this endpoint does not return a warmup send total: FoxReach does not compute one per account.

## Errors

| Status | Description |
|--------|-------------|
| `401` | Missing, invalid, revoked or expired API key |
| `403` | API key does not have the required scope: `read` |
| `404` | `Account not found`: the account does not exist in this workspace |

## Rate Limit

- **300 requests per minute, shared by every `read` call in your workspace.** Fixed 60-second window.
- Every response includes `X-RateLimit-Limit`, `X-RateLimit-Remaining`, `X-RateLimit-Reset` (unix epoch seconds) and `X-RateLimit-Bucket` (`read`).
- A `429` response includes a `Retry-After` header (seconds until the bucket resets).

For client-side patterns, see [Rate Limiting](/rate-limiting).
