# Get a summary of several accounts (/zh/growsocmed/docs/api-reference/insights/get-insights-summary)

Several accounts at once: combined totals vs the period before, per day, per account, and the biggest outliers

GET /insights/summary

```json
{
  "tags": [
    "Insights"
  ],
  "summary": "Get a summary of several accounts",
  "parameters": [
    {
      "schema": {
        "type": "number",
        "default": 30
      },
      "required": false,
      "name": "days",
      "in": "query"
    },
    {
      "schema": {
        "type": "string",
        "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
        "description": "Start day (YYYY-MM-DD); with `to` it replaces `days`"
      },
      "required": false,
      "description": "Start day (YYYY-MM-DD); with `to` it replaces `days`",
      "name": "from",
      "in": "query"
    },
    {
      "schema": {
        "type": "string",
        "pattern": "^\\d{4}-\\d{2}-\\d{2}$"
      },
      "required": false,
      "name": "to",
      "in": "query"
    },
    {
      "schema": {
        "type": "string",
        "description": "Comma-separated; default every account with statistics"
      },
      "required": false,
      "description": "Comma-separated; default every account with statistics",
      "name": "account_ids",
      "in": "query"
    }
  ],
  "responses": {
    "200": {
      "description": "OK",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "properties": {
              "from": {
                "type": "string"
              },
              "to": {
                "type": "string"
              },
              "totals": {
                "type": "object",
                "additionalProperties": {
                  "type": "number"
                }
              },
              "previous": {
                "type": "object",
                "additionalProperties": {
                  "type": "number"
                }
              },
              "engagement_rate": {
                "type": [
                  "number",
                  "null"
                ]
              },
              "followers": {
                "type": [
                  "number",
                  "null"
                ]
              },
              "posts": {
                "type": "number"
              },
              "daily": {
                "type": "array",
                "items": {
                  "type": "object",
                  "properties": {
                    "day": {
                      "type": "string"
                    },
                    "metrics": {
                      "type": "object",
                      "additionalProperties": {
                        "type": "number"
                      }
                    }
                  },
                  "required": [
                    "day",
                    "metrics"
                  ]
                }
              },
              "accounts": {
                "type": "array",
                "items": {
                  "type": "object",
                  "properties": {
                    "account_id": {
                      "type": "string"
                    },
                    "platform": {
                      "type": "string"
                    },
                    "username": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "posts": {
                      "type": "number"
                    },
                    "followers": {
                      "type": [
                        "number",
                        "null"
                      ]
                    },
                    "totals": {
                      "type": "object",
                      "additionalProperties": {
                        "type": "number"
                      }
                    },
                    "engagement_rate": {
                      "type": [
                        "number",
                        "null"
                      ]
                    }
                  },
                  "required": [
                    "account_id",
                    "platform",
                    "username",
                    "posts",
                    "followers",
                    "totals",
                    "engagement_rate"
                  ]
                }
              },
              "outliers": {
                "type": "array",
                "items": {
                  "type": "object",
                  "properties": {
                    "id": {
                      "type": "string"
                    },
                    "platform_post_id": {
                      "type": "string"
                    },
                    "kind": {
                      "type": "string"
                    },
                    "caption": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "permalink": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "thumbnail_url": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "published_at": {
                      "type": "string"
                    },
                    "from_app": {
                      "type": "boolean"
                    },
                    "post_id": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "metrics": {
                      "type": "object",
                      "additionalProperties": {
                        "type": "number"
                      }
                    },
                    "views": {
                      "type": [
                        "number",
                        "null"
                      ]
                    },
                    "interactions": {
                      "type": "number"
                    },
                    "engagement_rate": {
                      "type": [
                        "number",
                        "null"
                      ]
                    },
                    "outlier_score": {
                      "type": [
                        "number",
                        "null"
                      ]
                    },
                    "fetched_at": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "account_id": {
                      "type": "string"
                    },
                    "platform": {
                      "type": "string"
                    }
                  },
                  "required": [
                    "id",
                    "platform_post_id",
                    "kind",
                    "caption",
                    "permalink",
                    "thumbnail_url",
                    "published_at",
                    "from_app",
                    "post_id",
                    "metrics",
                    "views",
                    "interactions",
                    "engagement_rate",
                    "outlier_score",
                    "fetched_at",
                    "account_id",
                    "platform"
                  ]
                }
              }
            },
            "required": [
              "from",
              "to",
              "totals",
              "previous",
              "engagement_rate",
              "followers",
              "posts",
              "daily",
              "accounts",
              "outliers"
            ]
          }
        }
      }
    }
  },
  "operationId": "get-insights-summary",
  "description": "Several accounts at once: combined totals vs the period before, per day, per account, and the biggest outliers"
}
```