# Social Analytics Daily

> Day-by-day metrics across your accounts, with a per-platform breakdown

- **URL**: https://orshot.com/docs/api-reference/social-analytics-daily

---

## Overview

Returns your social metrics summed per day. This is the series behind the trend chart on the Analytics page. Each day carries post counts and metrics, and the response includes a per-platform breakdown for the whole window.

```markdown tab="Endpoint"
https://api.orshot.com/v1/social/analytics/daily
```

## Request

**Request**
```js
await fetch(
  "https://api.orshot.com/v1/social/analytics/daily?from=2026-08-01&to=2026-08-13",
  {
    method: "GET",
    headers: {
      Authorization: "Bearer <ORSHOT_API_KEY>",
    },
  },
);
```

**Response**
```json
{
  "data": {
    "daily": [
      {
        "date": "2026-08-12",
        "post_count": 2,
        "platforms": { "linkedin": 1, "twitter": 1 },
        "metrics": {
          "impressions": 118,
          "likes": 4,
          "comments": 1,
          "clicks": 3
        }
      }
    ],
    "platform_breakdown": [
      {
        "platform": "linkedin",
        "post_count": 4,
        "metrics": { "impressions": 109, "likes": 5, "comments": 2 }
      }
    ]
  }
}
```

## Query Parameters

| Parameter    | Type    | Required | Description                                                                              |
| ------------ | ------- | -------- | ---------------------------------------------------------------------------------------- |
| `platform`   | String  | No       | Only this platform, e.g. `linkedin`                                                       |
| `account_id` | Integer | No       | Only this connected account                                                               |
| `source`     | String  | No       | `all` (default), `orshot` (published through Orshot) or `external` (synced from platform) |
| `from`       | String  | No       | Start date, `YYYY-MM-DD`                                                                  |
| `to`         | String  | No       | End date, `YYYY-MM-DD`                                                                    |
| `refresh`    | String  | No       | Pass `1` to bypass the cache and pull fresh numbers from the platforms                    |

## Error Responses

Same as the [analytics overview endpoint](https://orshot.com/docs/api-reference/social-analytics-list): `403` with code `analytics_not_enabled`, and `429` with a `Retry-After` header when the 10 requests per minute analytics budget is exhausted.