{
  "openapi": "3.0.1",
  "info": {
    "title": "Instagram Posts Scraper: Likes, Comments & Dates",
    "description": "Instagram posts with exact time, likes and comments, plus the profile's followers and bio on every row. $1.40 per 1,000 posts. Missing or private profiles are never charged. Reels and post links too.",
    "version": "0.1",
    "x-build-id": "IeKRXO8xou4Ndqwmc"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/luzivanlt~instagram-posts-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-luzivanlt-instagram-posts-scraper",
        "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/luzivanlt~instagram-posts-scraper/runs": {
      "post": {
        "operationId": "runs-sync-luzivanlt-instagram-posts-scraper",
        "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/luzivanlt~instagram-posts-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-luzivanlt-instagram-posts-scraper",
        "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",
        "properties": {
          "startUrls": {
            "title": "Profiles, posts or reels",
            "type": "array",
            "description": "Public Instagram profiles, posts or reels to read: profile links such as https://www.instagram.com/nasa/ (instagram.com/nasa, m.instagram.com and a profile's /reels/ tab work too) or just the username (nasa or @nasa), and post or reel links (instagram.com/p/…, instagram.com/reel/…). Each profile gives you its posts, newest first, or its reels with Results type set to Reels; a post or reel link gives you that one post. A hashtag or place link is not supported. Example: https://www.instagram.com/nasa/",
            "items": {
              "type": "string"
            }
          },
          "resultsType": {
            "title": "Results type",
            "enum": [
              "posts",
              "reels"
            ],
            "type": "string",
            "description": "What to read from each profile: Posts reads its grid (photos, videos and carousels), Reels reads its Reels tab, each reel with its play count. Posts if left empty. Post and reel links are read the same either way. Example: Reels"
          },
          "onlyPostsNewerThan": {
            "title": "Only posts newer than",
            "type": "string",
            "description": "Keep only posts (or reels) from this date on: a date (YYYY-MM-DD, UTC), a date and time (ISO 8601, such as 2026-10-01T08:00:00Z; without a time zone it is read as UTC), a Unix timestamp in seconds or milliseconds, or a period such as \"12 hours\", \"7 days\", \"2 weeks\", \"3 months\" or \"1 year\". Leave empty for the whole history. A date in the future is refused, and an older pinned post is left out. Post and reel links are always read. Example: 30 days"
          },
          "maxPostsPerProfile": {
            "title": "Max posts per profile",
            "minimum": 1,
            "maximum": 10000,
            "type": "integer",
            "description": "Stop reading a profile after this many posts (or reels). From 1 to 10,000; 50 if left empty. You pay $0.0014 a post saved ($0.0024 a reel with Results type set to Reels), so this caps each profile's cost: 50 posts cost at most $0.07, 50 reels $0.12.",
            "default": 50
          },
          "includePlayCounts": {
            "title": "Include reel play counts",
            "type": "boolean",
            "description": "Add each reel's play count (video_play_count) to its row, read from the profile's Reels tab. Posts that are not reels get an empty value. The Reels tab is read only as far back as the posts, so a run makes a few more requests and takes a little longer. Off by default; Reels results always carry it."
          },
          "resultsLimit": {
            "title": "Max posts per profile (alias)",
            "type": "integer",
            "description": "Another name for Max posts per profile (maxPostsPerProfile), kept so inputs written for other Instagram post scrapers run unchanged. From 1 to 10,000; Max posts per profile wins when it is set to anything but its default. Example: 100."
          },
          "postsPerProfile": {
            "title": "Max posts per profile (alias)",
            "type": "integer",
            "description": "Another name for Max posts per profile (maxPostsPerProfile), kept so inputs written for other Instagram post scrapers run unchanged. From 1 to 10,000; Max posts per profile wins when it is set to anything but its default. Example: 100."
          },
          "newerThan": {
            "title": "Only posts newer than (alias)",
            "type": "string",
            "description": "Another name for Only posts newer than (onlyPostsNewerThan), kept so inputs written for other Instagram post scrapers run unchanged. Takes the same dates, date-times, Unix timestamps and periods; when both are given they must name the same moment. Example: 7 days"
          },
          "delayBetweenProfiles": {
            "title": "Delay between profiles (ignored)",
            "type": "integer",
            "description": "Accepted so inputs written for other Instagram post scrapers run unchanged, and has no effect: this Actor paces, retries and runs profiles side by side on its own."
          },
          "delayBetweenRequests": {
            "title": "Delay between requests (ignored)",
            "type": "integer",
            "description": "Accepted so inputs written for other Instagram post scrapers run unchanged, and has no effect: this Actor paces, retries and runs profiles side by side on its own."
          },
          "maxRetries": {
            "title": "Max retries (ignored)",
            "type": "integer",
            "description": "Accepted so inputs written for other Instagram post scrapers run unchanged, and has no effect: this Actor paces, retries and runs profiles side by side on its own."
          },
          "maxConcurrentProfiles": {
            "title": "Max concurrent profiles (ignored)",
            "type": "integer",
            "description": "Accepted so inputs written for other Instagram post scrapers run unchanged, and has no effect: this Actor paces, retries and runs profiles side by side on its own."
          }
        }
      },
      "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
                  },
                  "PROXY_UNBLOCKER_UNITS": {
                    "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
                  },
                  "PROXY_UNBLOCKER_UNITS": {
                    "type": "integer",
                    "example": 0
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}