# Get insights for several accounts at once (/en/reference/insights/get-insights-summary)

OpenAPI operation (components in https://api.tebar.app/v1/openapi.json):

```json
[
  {
    "operationId": "getInsightsSummary",
    "tags": [
      "Insights"
    ],
    "summary": "Get insights for several accounts at once",
    "description": "account_ids is comma-separated, 1 to 100 accounts of the profile (404 not_found when one is not). Each account comes as GET /v1/accounts/{id}/insights answers, with followers, views and the interaction metrics only, and totals added up from the stored daily values (totals_source stored, no platform call). top_posts: the 5 posts furthest past their own account’s usual (outlier). from, to and tz as in GET /v1/accounts/{id}/insights.\n\nRequires the read scope.",
    "parameters": [
      {
        "name": "account_ids",
        "in": "query",
        "required": true,
        "schema": {
          "type": "string"
        }
      },
      {
        "name": "from",
        "in": "query",
        "required": false,
        "schema": {
          "type": "string",
          "pattern": "^\\d{4}-\\d{2}-\\d{2}$"
        }
      },
      {
        "name": "to",
        "in": "query",
        "required": false,
        "schema": {
          "type": "string",
          "pattern": "^\\d{4}-\\d{2}-\\d{2}$"
        }
      },
      {
        "name": "tz",
        "in": "query",
        "required": false,
        "schema": {
          "type": "string",
          "maxLength": 64
        }
      },
      {
        "$ref": "#/components/parameters/TebarProfile"
      }
    ],
    "responses": {
      "200": {
        "description": "The insights of each account, and the top posts."
      },
      "400": {
        "$ref": "#/components/responses/BadRequest"
      },
      "401": {
        "$ref": "#/components/responses/Unauthorized"
      },
      "403": {
        "$ref": "#/components/responses/Forbidden"
      },
      "429": {
        "$ref": "#/components/responses/RateLimited"
      }
    }
  }
]
```