Instagram · Schema

InsightsResponse

InsightsResponse schema from Instagram Graph API

InstagramMetaPhotosSocial MediaVideosContent Publishing

Properties

Name Type Description
data array
View JSON Schema on GitHub

JSON Schema

instagram-graph-api-insights-response-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/instagram/refs/heads/main/json-schema/instagram-graph-api-insights-response-schema.json",
  "title": "InsightsResponse",
  "description": "InsightsResponse schema from Instagram Graph API",
  "type": "object",
  "properties": {
    "data": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string",
            "example": "impressions"
          },
          "period": {
            "type": "string",
            "example": "day"
          },
          "values": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "value": {
                  "type": "integer",
                  "example": 1500
                },
                "end_time": {
                  "type": "string",
                  "format": "date-time",
                  "example": "2026-04-17T07:00:00+0000"
                }
              }
            }
          },
          "title": {
            "type": "string",
            "example": "Impressions"
          },
          "description": {
            "type": "string",
            "example": "Total number of times the media has been seen."
          },
          "id": {
            "type": "string"
          }
        }
      }
    }
  }
}