{
  "openapi": "3.0.1",
  "info": {
    "title": "Instagram Account 360 Intelligence — Posts, Reels & Carousels",
    "description": "Read any public Instagram account over 7 to 90 days or its entire history. Returns every post, reel and carousel with full metadata, AI reel transcripts, on-image text from every carousel slide, top-level comments with reply counts, engagement analytics, and agent-ready soul.md and design.md briefs.",
    "version": "1.2",
    "x-build-id": "fov6IXg0X7AEXBAno"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/sian.agency~instagram-account-360-intelligence/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-sian.agency-instagram-account-360-intelligence",
        "x-openai-isConsequential": false,
        "summary": "Executes an Actor, waits for its completion, and returns Actor's dataset items in response.",
        "tags": [
          "Run Actor"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/inputSchema"
              }
            }
          }
        },
        "parameters": [
          {
            "name": "token",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Enter your Apify token here"
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/acts/sian.agency~instagram-account-360-intelligence/runs": {
      "post": {
        "operationId": "runs-sync-sian.agency-instagram-account-360-intelligence",
        "x-openai-isConsequential": false,
        "summary": "Executes an Actor and returns information about the initiated run in response.",
        "tags": [
          "Run Actor"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/inputSchema"
              }
            }
          }
        },
        "parameters": [
          {
            "name": "token",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Enter your Apify token here"
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/runsResponseSchema"
                }
              }
            }
          }
        }
      }
    },
    "/acts/sian.agency~instagram-account-360-intelligence/run-sync": {
      "post": {
        "operationId": "run-sync-sian.agency-instagram-account-360-intelligence",
        "x-openai-isConsequential": false,
        "summary": "Executes an Actor, waits for completion, and returns the OUTPUT from Key-value store in response.",
        "tags": [
          "Run Actor"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/inputSchema"
              }
            }
          }
        },
        "parameters": [
          {
            "name": "token",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Enter your Apify token here"
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    }
  },
  "components": {
    "schemas": {
      "inputSchema": {
        "type": "object",
        "required": [
          "username"
        ],
        "properties": {
          "username": {
            "title": "📸 Instagram account",
            "type": "string",
            "description": "The public Instagram account to analyse. Paste the profile URL straight from your browser (https://www.instagram.com/nasa/) or type the handle (nasa or @nasa) — all three work. Post and reel links are not accepted: this Actor reads a whole account, not a single post. Private accounts cannot be read.",
            "default": "nasa"
          },
          "windowDays": {
            "title": "📅 Time window",
            "enum": [
              "7",
              "14",
              "30",
              "60",
              "90",
              "all"
            ],
            "type": "string",
            "description": "FREE & PAID. How far back to collect posts. Every reel, feed post and carousel published inside this window is returned. \"Entire account\" ignores dates and pages back to the account's first post, capped at 1000 posts. Free runs return the 3 newest posts of the window.",
            "default": "30"
          },
          "timeZone": {
            "title": "🌍 Timezone",
            "enum": [
              "UTC",
              "America/New_York",
              "America/Chicago",
              "America/Denver",
              "America/Los_Angeles",
              "America/Anchorage",
              "Pacific/Honolulu",
              "America/Toronto",
              "America/Mexico_City",
              "America/Bogota",
              "America/Lima",
              "America/Santiago",
              "America/Sao_Paulo",
              "America/Argentina/Buenos_Aires",
              "Europe/London",
              "Europe/Dublin",
              "Europe/Lisbon",
              "Europe/Paris",
              "Europe/Berlin",
              "Europe/Madrid",
              "Europe/Rome",
              "Europe/Amsterdam",
              "Europe/Brussels",
              "Europe/Zurich",
              "Europe/Vienna",
              "Europe/Stockholm",
              "Europe/Copenhagen",
              "Europe/Oslo",
              "Europe/Helsinki",
              "Europe/Warsaw",
              "Europe/Prague",
              "Europe/Athens",
              "Europe/Bucharest",
              "Europe/Istanbul",
              "Europe/Kyiv",
              "Europe/Moscow",
              "Asia/Dubai",
              "Asia/Riyadh",
              "Asia/Jerusalem",
              "Africa/Cairo",
              "Africa/Lagos",
              "Africa/Nairobi",
              "Africa/Johannesburg",
              "Asia/Karachi",
              "Asia/Kolkata",
              "Asia/Dhaka",
              "Asia/Bangkok",
              "Asia/Jakarta",
              "Asia/Singapore",
              "Asia/Kuala_Lumpur",
              "Asia/Hong_Kong",
              "Asia/Shanghai",
              "Asia/Taipei",
              "Asia/Manila",
              "Asia/Seoul",
              "Asia/Tokyo",
              "Australia/Perth",
              "Australia/Brisbane",
              "Australia/Sydney",
              "Pacific/Auckland"
            ],
            "type": "string",
            "description": "The timezone for the best-day and best-hour posting analysis. Pick your AUDIENCE's timezone, not your own — posting-time advice in the wrong timezone is worse than none.",
            "default": "UTC"
          },
          "includeImageText": {
            "title": "👁️ Read on-image text (OCR)",
            "type": "boolean",
            "description": "FREE & PAID. Read the text burned into every image, including each slide of every carousel, plus a description of the visual. This is where a post's hook usually lives — Instagram does not publish it as text.",
            "default": true
          },
          "includeTranscripts": {
            "title": "🎙️ Transcribe reel audio (PAID only)",
            "type": "boolean",
            "description": "PAID ONLY. AI transcript of every reel in the window, with timestamped segments and SRT/VTT subtitles. Free runs skip transcription — reels are still returned with their full metadata. Available on any paid Apify plan.",
            "default": true
          },
          "includeRundown": {
            "title": "✍️ Write the strategy rundown",
            "type": "boolean",
            "description": "FREE & PAID. An AI-written read of the account: content pillars, hooks that work, what is over- and under-performing, and recommendations. Saved to the HTML report and the run summary.",
            "default": true
          },
          "includeSoul": {
            "title": "🧬 Build soul.md (rebuild brief)",
            "type": "boolean",
            "description": "FREE & PAID (charged once per run). Reverse-engineers the account into a brief another AI agent can build from: posting cadence, format mix, reel length, carousel length, content pillars read off the OUTLIER posts, hook patterns, voice and a seeded first-30-days calendar. Saved as soul.md and shown in the report with a one-click copy button. Every number in it is measured, not written by a model. On free runs it is built from the 3 free posts.",
            "default": false
          },
          "includeDesignSystem": {
            "title": "🎨 Build design.md (visual system)",
            "type": "boolean",
            "description": "FREE & PAID (charged once per run). Analyses the best-performing images and carousels and extracts the account's visual system as structured JSON tokens — palette, typography, layout, imagery treatment, recurring graphic devices and the carousel arc — plus which keys to swap for your own brand and which to keep. Saved as design.md with a one-click copy button.",
            "default": false
          },
          "includeComments": {
            "title": "💬 Collect comments",
            "type": "boolean",
            "description": "FREE & PAID (charged per comment). Adds top-level comments to every post that has them, with author, text, likes and timestamp. Each comment also reports how many replies it received (reply text is not published by Instagram's data service). Free runs are capped at 5 comments per post; paid runs use the limit below.",
            "default": false
          },
          "maxCommentsPerPost": {
            "title": "💬 Max comments per post",
            "minimum": 0,
            "maximum": 200,
            "type": "integer",
            "description": "FREE & PAID. How many top-level comments to collect per post, newest and top-ranked first. Popular posts can carry tens of thousands, so this is capped at 200 to keep runs fast and bills predictable. Free runs are always capped at 5 per post.",
            "default": 30
          },
          "maxPosts": {
            "title": "🔢 Maximum posts",
            "minimum": 0,
            "type": "integer",
            "description": "Cap on how many posts the WHOLE run collects — it is not a comments setting. 0 means every post in the window. Takes effect on paid plans; free runs always return the 3 newest posts. In \"Entire account\" mode the run is capped at 1000 posts regardless, and above 300 posts the on-image text and transcript passes switch off unless you set them to true yourself.",
            "default": 0
          }
        }
      },
      "runsResponseSchema": {
        "type": "object",
        "properties": {
          "data": {
            "type": "object",
            "properties": {
              "id": {
                "type": "string"
              },
              "actId": {
                "type": "string"
              },
              "userId": {
                "type": "string"
              },
              "startedAt": {
                "type": "string",
                "format": "date-time",
                "example": "2025-01-08T00:00:00.000Z"
              },
              "finishedAt": {
                "type": "string",
                "format": "date-time",
                "example": "2025-01-08T00:00:00.000Z"
              },
              "status": {
                "type": "string",
                "example": "READY"
              },
              "meta": {
                "type": "object",
                "properties": {
                  "origin": {
                    "type": "string",
                    "example": "API"
                  },
                  "userAgent": {
                    "type": "string"
                  }
                }
              },
              "stats": {
                "type": "object",
                "properties": {
                  "inputBodyLen": {
                    "type": "integer",
                    "example": 2000
                  },
                  "rebootCount": {
                    "type": "integer",
                    "example": 0
                  },
                  "restartCount": {
                    "type": "integer",
                    "example": 0
                  },
                  "resurrectCount": {
                    "type": "integer",
                    "example": 0
                  },
                  "computeUnits": {
                    "type": "integer",
                    "example": 0
                  }
                }
              },
              "options": {
                "type": "object",
                "properties": {
                  "build": {
                    "type": "string",
                    "example": "latest"
                  },
                  "timeoutSecs": {
                    "type": "integer",
                    "example": 300
                  },
                  "memoryMbytes": {
                    "type": "integer",
                    "example": 1024
                  },
                  "diskMbytes": {
                    "type": "integer",
                    "example": 2048
                  }
                }
              },
              "buildId": {
                "type": "string"
              },
              "defaultKeyValueStoreId": {
                "type": "string"
              },
              "defaultDatasetId": {
                "type": "string"
              },
              "defaultRequestQueueId": {
                "type": "string"
              },
              "buildNumber": {
                "type": "string",
                "example": "1.0.0"
              },
              "containerUrl": {
                "type": "string"
              },
              "usage": {
                "type": "object",
                "properties": {
                  "ACTOR_COMPUTE_UNITS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_WRITES": {
                    "type": "integer",
                    "example": 1
                  },
                  "KEY_VALUE_STORE_LISTS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_INTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_EXTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_SERPS": {
                    "type": "integer",
                    "example": 0
                  }
                }
              },
              "usageTotalUsd": {
                "type": "number",
                "example": 0.00005
              },
              "usageUsd": {
                "type": "object",
                "properties": {
                  "ACTOR_COMPUTE_UNITS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_WRITES": {
                    "type": "number",
                    "example": 0.00005
                  },
                  "KEY_VALUE_STORE_LISTS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_INTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_EXTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_SERPS": {
                    "type": "integer",
                    "example": 0
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}