# List post performance (/th/growsocmed/docs/api-reference/insights/list-post-performance)

Posts published in the period (in the app or outside it) with their figures and outlier score

GET /insights/accounts/{id}/posts

```json
{
  "tags": [
    "Insights"
  ],
  "summary": "List post performance",
  "parameters": [
    {
      "schema": {
        "type": "string",
        "format": "uuid"
      },
      "required": true,
      "name": "id",
      "in": "path"
    },
    {
      "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",
        "enum": [
          "published",
          "views",
          "interactions",
          "outlier",
          "engagement"
        ],
        "default": "published"
      },
      "required": false,
      "name": "sort",
      "in": "query"
    }
  ],
  "responses": {
    "200": {
      "description": "OK",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "properties": {
              "data": {
                "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"
                      ]
                    }
                  },
                  "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"
                  ]
                }
              }
            },
            "required": [
              "data"
            ]
          }
        }
      }
    }
  },
  "operationId": "list-post-performance",
  "description": "Posts published in the period (in the app or outside it) with their figures and outlier score"
}
```