# Instagram Comment Scraper (`dead00/instagram-comment-scraper`) Actor

A fast and reliable Instagram comment scraper that extracts comments and replies from Instagram posts and reels. Built for speed with parallel processing and designed to handle large-scale comment extraction efficiently.

- **URL**: https://apify.com/dead00/instagram-comment-scraper.md
- **Developed by:** [Dead](https://apify.com/dead00) (community)
- **Categories:** Developer tools, Automation, Social media
- **Stats:** 10 total users, 0 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

$25.00/month + usage

To use this Actor, you pay a monthly rental fee to the developer. The rent is subtracted from your prepaid usage every month after the free trial period.You also pay for the Apify platform usage, which gets cheaper the higher Apify subscription plan you have.

Learn more: https://docs.apify.com/platform/actors/running/actors-in-store#rental-actors

## What's an Apify Actor?

Actors are a software tools running on the Apify platform, for all kinds of web data extraction and automation use cases.
In Batch mode, an Actor accepts a well-defined JSON input, performs an action which can take anything from a few seconds to a few hours,
and optionally produces a well-defined JSON output, datasets with results, or files in key-value store.
In Standby mode, an Actor provides a web server which can be used as a website, API, or an MCP server.
Actors are written with capital "A".

## How to integrate an Actor?

If asked about integration, you help developers integrate Actors into their projects.
You adapt to their stack and deliver integrations that are safe, well-documented, and production-ready.
The best way to integrate Actors is as follows.

In JavaScript/TypeScript projects, use official [JavaScript/TypeScript client](https://docs.apify.com/api/client/js.md):

```bash
npm install apify-client
```

In Python projects, use official [Python client library](https://docs.apify.com/api/client/python.md):

```bash
pip install apify-client
```

In shell scripts, use [Apify CLI](https://docs.apify.com/cli/docs.md):

````bash
# MacOS / Linux
curl -fsSL https://apify.com/install-cli.sh | bash
# Windows
irm https://apify.com/install-cli.ps1 | iex
```bash

In AI frameworks, you might use the [Apify MCP server](https://docs.apify.com/platform/integrations/mcp.md).

If your project is in a different language, use the [REST API](https://docs.apify.com/api/v2.md).

For usage examples, see the [API](#api) section below.

For more details, see Apify documentation as [Markdown index](https://docs.apify.com/llms.txt) and [Markdown full-text](https://docs.apify.com/llms-full.txt).


# README

## Instagram Comment Scraper

A fast and reliable Instagram comment scraper that extracts comments and replies from Instagram posts and reels. Built for speed with parallel processing and designed to handle large-scale comment extraction efficiently.

### 🚀 Features

- **Fast Scraping**: Parallel processing with 20 concurrent workers for rapid comment extraction
- **Flexible Options**: Scrape parent comments only or include all replies
- **Smart Limiting**: Control total output with configurable comment limits
- **Rich Data**: Includes usernames, profile pictures, timestamps, like counts, and more
- **Cookie Authentication**: Simple browser cookie-based login (no password needed)
- **Multiple Posts**: Process multiple Instagram posts in a single run

### 📋 Input

#### Required Parameters

| Parameter | Type | Description |
|-----------|------|-------------|
| `cookies` | array | Instagram session cookies from your browser (must include sessionid) |
| `post_urls` | array | List of Instagram post/reel URLs to scrape |

#### Optional Parameters

| Parameter | Type | Default | Description |
|-----------|------|---------|-------------|
| `comment_limit` | integer | 0 | Maximum comments per post (0 = unlimited). Counts total including replies. |
| `include_replies` | boolean | true | Include comment replies or parent comments only |

#### Example Input
```json
{
  "cookies": [
    {
      "name": "sessionid",
      "value": "61854802805%3AWqlSMdeVKE7hbp%3A12%3AAYhi...",
      "domain": ".instagram.com"
    },
    {
      "name": "csrftoken",
      "value": "gNxSok0dLs17TXtgZc0ylsCuObChSEsv",
      "domain": ".instagram.com"
    }
  ],
  "post_urls": [
    "https://www.instagram.com/p/ABC123XYZ/",
    "https://www.instagram.com/reels/DEF456UVW/"
  ],
  "comment_limit": 100,
  "include_replies": true
}
````

### 📤 Output

Each comment is saved as a separate item in the dataset with the following structure:

```json
{
  "comment_id": "18075851018258413",
  "username": "john_doe",
  "user_id": "123456789",
  "profile_pic_url": "https://instagram.com/.../profile.jpg",
  "text": "Amazing content! 🔥",
  "created_at": "2024-12-18 11:24:58",
  "timestamp": 1734522298,
  "like_count": 15,
  "is_reply": false,
  "reply_count": 3,
  "media_id": "3788472140946025433"
}
```

#### Reply Comments

Replies include an additional field:

- `parent_comment_id`: ID of the parent comment this is replying to

#### Field Descriptions

| Field | Type | Description |
|-------|------|-------------|
| `comment_id` | string | Unique Instagram comment ID |
| `username` | string | Username of the commenter |
| `user_id` | string | Instagram user ID |
| `profile_pic_url` | string | URL to user's profile picture |
| `text` | string | Comment text content |
| `created_at` | string | Human-readable timestamp (YYYY-MM-DD HH:MM:SS) |
| `timestamp` | integer | Unix timestamp |
| `like_count` | integer | Number of likes on the comment |
| `is_reply` | boolean | Whether this is a reply to another comment |
| `reply_count` | integer | Number of replies (parent comments only) |
| `parent_comment_id` | string | Parent comment ID (replies only) |
| `media_id` | string | Instagram post/reel ID |

### 🍪 How to Get Instagram Cookies

#### Method 1: Browser Extension (Recommended)

1. **Install a cookie extension:**
   - Chrome/Edge: [Cookie-Editor](https://chrome.google.com/webstore/detail/cookie-editor/hlkenndednhfkekhgcdicdfddnkalmdm)
   - Firefox: [Cookie-Editor](https://addons.mozilla.org/en-US/firefox/addon/cookie-editor/)

2. **Export cookies:**
   - Log into Instagram in your browser
   - Open the cookie extension
   - Click "Export" and select "JSON" format
   - Copy the entire JSON array

3. **Paste into input:**
   - Paste the cookies array into the `cookies` field in the actor input

#### Method 2: Manual Export

1. Open Instagram and log in
2. Open browser DevTools (F12)
3. Go to Application/Storage → Cookies → https://instagram.com
4. Find `sessionid` cookie and copy its value
5. Create a minimal cookies array:

```json
{
  "cookies": [
    {
      "name": "sessionid",
      "value": "YOUR_SESSION_ID_HERE",
      "domain": ".instagram.com"
    }
  ]
}
```

⚠️ **Important**: The `sessionid` cookie is required. Without it, authentication will fail.

### ⚙️ How It Works

#### Comment Limit Behavior

The `comment_limit` parameter controls the **total number of comments** returned per post:

##### With `include_replies: true`

- Fetches parent comments and their replies
- Returns up to `comment_limit` total comments (parent + replies combined)
- Example: `comment_limit: 50` might return 35 parent comments + 15 replies = 50 total

##### With `include_replies: false`

- Fetches only parent comments
- Returns up to `comment_limit` parent comments
- Example: `comment_limit: 50` returns exactly 50 parent comments, no replies

##### With `comment_limit: 0`

- Scrapes ALL comments (no limit)
- Fetches everything available on the post

#### Performance

- **Parent Comments**: ~15-20 comments per second
- **Replies**: 20 concurrent workers for parallel extraction
- **Typical Performance**: 1,000 comments in 1-2 minutes

### 🔧 Use Cases

- **Social Media Analytics**: Track engagement and sentiment on posts
- **Competitor Research**: Analyze comments on competitor content
- **Influencer Marketing**: Gather audience feedback data
- **Customer Service**: Monitor brand mentions and questions
- **Research**: Collect data for academic or market research

### ⚠️ Limitations & Notes

- **Cookie Expiration**: Session cookies expire after some time (usually days/weeks). You'll need to refresh them periodically.
- **Rate Limiting**: Built-in delays to avoid Instagram's rate limits. Don't modify these.
- **Private Posts**: Your logged-in account must have access to private posts.
- **Disabled Comments**: Posts with disabled comments will return empty results.
- **Large Posts**: Posts with 10,000+ comments may take several minutes to complete.

### 🐛 Troubleshooting

#### "sessionid not found in cookies"

- Make sure you exported cookies correctly
- Verify the `sessionid` cookie is present in the array

#### "Login failed"

- Your cookies may have expired - export fresh cookies
- Make sure you're logged into Instagram in your browser

#### "Failed to extract media ID"

- Check that the URL is correct and accessible
- Ensure the post exists and hasn't been deleted

#### Slow Performance

- Large posts with many comments naturally take longer
- Reduce `comment_limit` for faster results
- Set `include_replies: false` to skip reply fetching

### 🤝 Support

For bugs, feature requests, or questions:

- Open an issue on the actor's page
- Contact Apify support
- Check the Apify documentation

### 📜 License

This actor is provided as-is for use on the Apify platform.

### ⚖️ Legal & Ethics

- **Terms of Service**: Use of this actor should comply with Instagram's Terms of Service
- **Rate Limiting**: The actor includes built-in delays to be respectful of Instagram's servers
- **Data Privacy**: Be mindful of user privacy when collecting and using comment data
- **Responsible Use**: Use this tool ethically and legally

# Actor input Schema

## `cookies` (type: `array`):

Array of Instagram cookies from your browser. Export cookies using a browser extension (Cookie-Editor, EditThisCookie, etc.). Must include sessionid cookie.

## `post_urls` (type: `array`):

List of Instagram post/reel URLs to scrape comments from

## `comment_limit` (type: `integer`):

Maximum number of comments to scrape per post (0 = all comments). This is the total count including parent comments and replies combined.

## `include_replies` (type: `boolean`):

If true, scrapes both parent comments and their replies. If false, only scrapes parent comments.

## Actor input object example

```json
{
  "cookies": [
    {
      "domain": ".instagram.com",
      "expirationDate": 1770398989.282969,
      "hostOnly": false,
      "httpOnly": true,
      "name": "ps_n",
      "path": "/",
      "sameSite": "no_restriction",
      "secure": true,
      "session": false,
      "storeId": null,
      "value": "1"
    },
    {
      "domain": ".instagram.com",
      "expirationDate": 1768232430.707077,
      "hostOnly": false,
      "httpOnly": true,
      "name": "datr",
      "path": "/",
      "sameSite": "no_restriction",
      "secure": true,
      "session": false,
      "storeId": null,
      "value": "771VZ_VC9B4My2ayNF4lbcxZ"
    },
    {
      "domain": ".instagram.com",
      "expirationDate": 1774034010.808445,
      "hostOnly": false,
      "httpOnly": false,
      "name": "ds_user_id",
      "path": "/",
      "sameSite": "no_restriction",
      "secure": true,
      "session": false,
      "storeId": null,
      "value": "71784515644"
    },
    {
      "domain": ".instagram.com",
      "expirationDate": 1800818010.808203,
      "hostOnly": false,
      "httpOnly": false,
      "name": "csrftoken",
      "path": "/",
      "sameSite": null,
      "secure": true,
      "session": false,
      "storeId": null,
      "value": "yMdQKYbiZHgqYpl3HYgxDX"
    },
    {
      "domain": ".instagram.com",
      "expirationDate": 1796753483.888281,
      "hostOnly": false,
      "httpOnly": true,
      "name": "ig_did",
      "path": "/",
      "sameSite": "no_restriction",
      "secure": true,
      "session": false,
      "storeId": null,
      "value": "B7C6E509-FEA2-4499-9E9E-8C592770F773"
    },
    {
      "domain": ".instagram.com",
      "expirationDate": 1770398989.282919,
      "hostOnly": false,
      "httpOnly": true,
      "name": "ps_l",
      "path": "/",
      "sameSite": "lax",
      "secure": true,
      "session": false,
      "storeId": null,
      "value": "1"
    },
    {
      "domain": ".instagram.com",
      "expirationDate": 1766862809,
      "hostOnly": false,
      "httpOnly": false,
      "name": "wd",
      "path": "/",
      "sameSite": "lax",
      "secure": true,
      "session": false,
      "storeId": null,
      "value": "1536x730"
    },
    {
      "domain": ".instagram.com",
      "expirationDate": 1768232431,
      "hostOnly": false,
      "httpOnly": false,
      "name": "mid",
      "path": "/",
      "sameSite": null,
      "secure": true,
      "session": false,
      "storeId": null,
      "value": "Z1W97wALAAFwLw154UdDYibw6kcC"
    },
    {
      "domain": ".instagram.com",
      "expirationDate": 1797793893.44297,
      "hostOnly": false,
      "httpOnly": true,
      "name": "sessionid",
      "path": "/",
      "sameSite": null,
      "secure": true,
      "session": false,
      "storeId": null,
      "value": "71784515644%3A9XjTSQQvTRQm44%3A5%3AAYiXFc3ZBP36KbsLoHHBaMw5PUaFR8DUJzM5le2onQ"
    },
    {
      "domain": ".instagram.com",
      "expirationDate": 1766862809,
      "hostOnly": false,
      "httpOnly": false,
      "name": "dpr",
      "path": "/",
      "sameSite": "no_restriction",
      "secure": true,
      "session": false,
      "storeId": null,
      "value": "1.25"
    },
    {
      "domain": ".instagram.com",
      "hostOnly": false,
      "httpOnly": true,
      "name": "rur",
      "path": "/",
      "sameSite": "lax",
      "secure": true,
      "session": true,
      "storeId": null,
      "value": "\"CCO\\05471784515644\\0541797794011:01feec8df7e2a5f8886a6e9807be26dbc563ce5ae5ac2753c61c5233bb630499d8e47211\""
    }
  ],
  "post_urls": [
    "https://www.instagram.com/reels/DSTW1cKjSvZ/"
  ],
  "comment_limit": 0,
  "include_replies": false
}
```

# Actor output Schema

## `overview` (type: `string`):

No description

# API

You can run this Actor programmatically using our API. Below are code examples in JavaScript, Python, and CLI, as well as the OpenAPI specification and MCP server setup.

## JavaScript example

```javascript
import { ApifyClient } from 'apify-client';

// Initialize the ApifyClient with your Apify API token
// Replace the '<YOUR_API_TOKEN>' with your token
const client = new ApifyClient({
    token: '<YOUR_API_TOKEN>',
});

// Prepare Actor input
const input = {
    "post_urls": [
        "https://www.instagram.com/reels/DSTW1cKjSvZ/"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("dead00/instagram-comment-scraper").call(input);

// Fetch and print Actor results from the run's dataset (if any)
console.log('Results from dataset');
console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
const { items } = await client.dataset(run.defaultDatasetId).listItems();
items.forEach((item) => {
    console.dir(item);
});

// 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/js/docs

```

## Python example

```python
from apify_client import ApifyClient

# Initialize the ApifyClient with your Apify API token
# Replace '<YOUR_API_TOKEN>' with your token.
client = ApifyClient("<YOUR_API_TOKEN>")

# Prepare the Actor input
run_input = { "post_urls": ["https://www.instagram.com/reels/DSTW1cKjSvZ/"] }

# Run the Actor and wait for it to finish
run = client.actor("dead00/instagram-comment-scraper").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print("💾 Check your data here: https://console.apify.com/storage/datasets/" + run["defaultDatasetId"])
for item in client.dataset(run["defaultDatasetId"]).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{
  "post_urls": [
    "https://www.instagram.com/reels/DSTW1cKjSvZ/"
  ]
}' |
apify call dead00/instagram-comment-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "command": "npx",
            "args": [
                "mcp-remote",
                "https://mcp.apify.com/?tools=dead00/instagram-comment-scraper",
                "--header",
                "Authorization: Bearer <YOUR_API_TOKEN>"
            ]
        }
    }
}

```

## OpenAPI specification

```json
{
    "openapi": "3.0.1",
    "info": {
        "title": "Instagram Comment Scraper",
        "description": "A fast and reliable Instagram comment scraper that extracts comments and replies from Instagram posts and reels. Built for speed with parallel processing and designed to handle large-scale comment extraction efficiently.",
        "version": "0.0",
        "x-build-id": "vWbStZLwyX2ThMt3a"
    },
    "servers": [
        {
            "url": "https://api.apify.com/v2"
        }
    ],
    "paths": {
        "/acts/dead00~instagram-comment-scraper/run-sync-get-dataset-items": {
            "post": {
                "operationId": "run-sync-get-dataset-items-dead00-instagram-comment-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/dead00~instagram-comment-scraper/runs": {
            "post": {
                "operationId": "runs-sync-dead00-instagram-comment-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/dead00~instagram-comment-scraper/run-sync": {
            "post": {
                "operationId": "run-sync-dead00-instagram-comment-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",
                "required": [
                    "cookies",
                    "post_urls"
                ],
                "properties": {
                    "cookies": {
                        "title": "Instagram Cookies",
                        "type": "array",
                        "description": "Array of Instagram cookies from your browser. Export cookies using a browser extension (Cookie-Editor, EditThisCookie, etc.). Must include sessionid cookie.",
                        "default": [
                            {
                                "domain": ".instagram.com",
                                "expirationDate": 1770398989.282969,
                                "hostOnly": false,
                                "httpOnly": true,
                                "name": "ps_n",
                                "path": "/",
                                "sameSite": "no_restriction",
                                "secure": true,
                                "session": false,
                                "storeId": null,
                                "value": "1"
                            },
                            {
                                "domain": ".instagram.com",
                                "expirationDate": 1768232430.707077,
                                "hostOnly": false,
                                "httpOnly": true,
                                "name": "datr",
                                "path": "/",
                                "sameSite": "no_restriction",
                                "secure": true,
                                "session": false,
                                "storeId": null,
                                "value": "771VZ_VC9B4My2ayNF4lbcxZ"
                            },
                            {
                                "domain": ".instagram.com",
                                "expirationDate": 1774034010.808445,
                                "hostOnly": false,
                                "httpOnly": false,
                                "name": "ds_user_id",
                                "path": "/",
                                "sameSite": "no_restriction",
                                "secure": true,
                                "session": false,
                                "storeId": null,
                                "value": "71784515644"
                            },
                            {
                                "domain": ".instagram.com",
                                "expirationDate": 1800818010.808203,
                                "hostOnly": false,
                                "httpOnly": false,
                                "name": "csrftoken",
                                "path": "/",
                                "sameSite": null,
                                "secure": true,
                                "session": false,
                                "storeId": null,
                                "value": "yMdQKYbiZHgqYpl3HYgxDX"
                            },
                            {
                                "domain": ".instagram.com",
                                "expirationDate": 1796753483.888281,
                                "hostOnly": false,
                                "httpOnly": true,
                                "name": "ig_did",
                                "path": "/",
                                "sameSite": "no_restriction",
                                "secure": true,
                                "session": false,
                                "storeId": null,
                                "value": "B7C6E509-FEA2-4499-9E9E-8C592770F773"
                            },
                            {
                                "domain": ".instagram.com",
                                "expirationDate": 1770398989.282919,
                                "hostOnly": false,
                                "httpOnly": true,
                                "name": "ps_l",
                                "path": "/",
                                "sameSite": "lax",
                                "secure": true,
                                "session": false,
                                "storeId": null,
                                "value": "1"
                            },
                            {
                                "domain": ".instagram.com",
                                "expirationDate": 1766862809,
                                "hostOnly": false,
                                "httpOnly": false,
                                "name": "wd",
                                "path": "/",
                                "sameSite": "lax",
                                "secure": true,
                                "session": false,
                                "storeId": null,
                                "value": "1536x730"
                            },
                            {
                                "domain": ".instagram.com",
                                "expirationDate": 1768232431,
                                "hostOnly": false,
                                "httpOnly": false,
                                "name": "mid",
                                "path": "/",
                                "sameSite": null,
                                "secure": true,
                                "session": false,
                                "storeId": null,
                                "value": "Z1W97wALAAFwLw154UdDYibw6kcC"
                            },
                            {
                                "domain": ".instagram.com",
                                "expirationDate": 1797793893.44297,
                                "hostOnly": false,
                                "httpOnly": true,
                                "name": "sessionid",
                                "path": "/",
                                "sameSite": null,
                                "secure": true,
                                "session": false,
                                "storeId": null,
                                "value": "71784515644%3A9XjTSQQvTRQm44%3A5%3AAYiXFc3ZBP36KbsLoHHBaMw5PUaFR8DUJzM5le2onQ"
                            },
                            {
                                "domain": ".instagram.com",
                                "expirationDate": 1766862809,
                                "hostOnly": false,
                                "httpOnly": false,
                                "name": "dpr",
                                "path": "/",
                                "sameSite": "no_restriction",
                                "secure": true,
                                "session": false,
                                "storeId": null,
                                "value": "1.25"
                            },
                            {
                                "domain": ".instagram.com",
                                "hostOnly": false,
                                "httpOnly": true,
                                "name": "rur",
                                "path": "/",
                                "sameSite": "lax",
                                "secure": true,
                                "session": true,
                                "storeId": null,
                                "value": "\"CCO\\05471784515644\\0541797794011:01feec8df7e2a5f8886a6e9807be26dbc563ce5ae5ac2753c61c5233bb630499d8e47211\""
                            }
                        ]
                    },
                    "post_urls": {
                        "title": "Post URLs",
                        "type": "array",
                        "description": "List of Instagram post/reel URLs to scrape comments from",
                        "items": {
                            "type": "string"
                        }
                    },
                    "comment_limit": {
                        "title": "Comment Limit",
                        "minimum": 0,
                        "maximum": 10000,
                        "type": "integer",
                        "description": "Maximum number of comments to scrape per post (0 = all comments). This is the total count including parent comments and replies combined.",
                        "default": 0
                    },
                    "include_replies": {
                        "title": "Include Replies",
                        "type": "boolean",
                        "description": "If true, scrapes both parent comments and their replies. If false, only scrapes parent comments.",
                        "default": false
                    }
                }
            },
            "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
                                    }
                                }
                            }
                        }
                    }
                }
            }
        }
    }
}
```
