# Reddit Scraper - Posts, Comments & Subreddits (`viralanalyzer/reddit-scraper`) Actor

Extract Reddit posts, comments, subreddit data, and user profiles.

- **URL**: https://apify.com/viralanalyzer/reddit-scraper.md
- **Developed by:** [viralanalyzer](https://apify.com/viralanalyzer) (community)
- **Categories:** Social media, News
- **Stats:** 27 total users, 3 monthly users, 79.4% runs succeeded, 0 bookmarks
- **User rating**: 5.00 out of 5 stars

## Pricing

$5.00 / 1,000 post scrapeds

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.

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

## 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

## Reddit Scraper

> 🔗 [View on Apify Store](https://apify.com/viralanalyzer/reddit-scraper) | 🇺🇸 English | [🇧🇷 Português](#português)

Scrape Reddit posts, comment trees, and sentiment from any subreddit or global search query. Get scores, upvote ratios, flair, and full recursive comment trees. No API key needed.

### ✨ Features

- 🔍 **Subreddit scraping** — hot, new, top, rising, controversial posts
- 🌐 **Global search** — search across all of Reddit
- 🌳 **Recursive comment tree** — configurable depth and limit
- 💬 **Sentiment analysis** — PT-BR + EN support (positivo/neutro/negativo)
- 🧹 **content_clean** — HTML-stripped text ready for ML/AI training
- ⚡ **Lightweight** — pure HTTP + JSON, no browser required
- ✅ **Validated output** — every item checked before delivery
- 🌐 **Apify Proxy** — built-in proxy support for reliability

### 📥 Input

| Field | Type | Default | Description |
|-------|------|---------|-------------|
| `subreddits` | `string[]` | `["brasil"]` | List of subreddits to scrape |
| `searchQuery` | `string` | `""` | Global search query (overrides subreddits) |
| `sort` | `enum` | `"hot"` | Sort: hot, new, top, rising, controversial |
| `time` | `enum` | `"week"` | Time filter: hour, day, week, month, year, all |
| `maxPosts` | `integer` | `10` | Maximum posts to collect |
| `includeComments` | `boolean` | `true` | Fetch comment trees |
| `commentsDepth` | `integer` | `3` | Max depth for comment tree recursion |
| `commentsLimit` | `integer` | `10` | Max top-level comments per post |

#### Example Input

```json
{
  "subreddits": ["brasil", "technology"],
  "sort": "hot",
  "time": "week",
  "maxPosts": 5,
  "includeComments": true,
  "commentsDepth": 2,
  "commentsLimit": 5
}
````

### 📤 Output

Each post produces one object:

| Field | Type | Description |
|-------|------|-------------|
| `post_id` | `string` | Reddit post ID |
| `subreddit` | `string` | Subreddit name |
| `title` | `string` | Post title |
| `selftext` | `string` | Post body text |
| `author` | `string` | Author username |
| `score` | `integer` | Net upvotes |
| `upvote_ratio` | `float` | Ratio of upvotes (0.0–1.0) |
| `num_comments` | `integer` | Total comment count |
| `url` | `string` | Post URL |
| `permalink` | `string` | Reddit permalink |
| `created_utc` | `integer` | Unix timestamp |
| `flair` | `string\|null` | Post flair text |
| `is_video` | `boolean` | Whether the post is a video |
| `content_clean` | `string` | ML-ready text (no HTML) |
| `comments_tree` | `array` | Recursive comment tree |

#### Comment Tree Structure

```json
{
  "id": "m6p2abc",
  "author": "user123",
  "body": "Great post!",
  "score": 42,
  "created_utc": 1707753600,
  "sentiment": "positivo",
  "depth": 1,
  "replies": [
    {
      "id": "m6p3def",
      "author": "user456",
      "body": "Agreed!",
      "score": 15,
      "sentiment": "positivo",
      "depth": 2,
      "replies": []
    }
  ]
}
```

### 📋 Use Cases

- **AI/ML Training Data** — Clean text with `content_clean` field, ready for NLP
- **Market Research** — Monitor discussions about brands, products, or industries
- **Sentiment Analysis** — Track community sentiment over time
- **Competitor Intelligence** — Monitor what people say about competitors
- **Content Ideas** — Find popular topics and discussions in your niche
- **Academic Research** — Collect structured data from Reddit communities
- **Community Monitoring** — Track subreddit health and engagement

### ❓ FAQ

**Q: Do I need a Reddit API key?**
A: No! This actor works without any API credentials.

**Q: What proxy should I use?**
A: Apify Proxy with residential proxies is recommended for best results.

**Q: Can I search across all of Reddit?**
A: Yes! Use the `searchQuery` field to search globally instead of specific subreddits.

**Q: How deep can the comment tree go?**
A: Up to any depth you configure with `commentsDepth`. Default is 3 levels.

**Q: Does it support Portuguese content?**
A: Yes! Sentiment analysis supports both PT-BR and English keywords.

### 💰 Pricing

This actor uses **Pay Per Event (PPE)** pricing:

| Metric | Cost |
|--------|------|
| Per post extracted | $0.005 |
| Per comment extracted | $0.001 |

### 🔗 Related Actors

- [Instagram Reels Scraper](https://apify.com/viralanalyzer/instagram-reels-scraper) — Instagram metrics
- [YouTube Fast Scraper](https://apify.com/viralanalyzer/youtube-fast-scraper) — YouTube video data
- [TikTok Video Scraper](https://apify.com/viralanalyzer/tiktok-viral-scanner) — TikTok video data

### 📝 Changelog

#### v1.5 (Current)

- ✅ Improved reliability and proxy handling
- ✅ Enhanced sentiment analysis (PT-BR + EN)
- ✅ Better comment tree extraction

#### v1.0

- Initial release

***

<a name="português"></a>

## Reddit Scraper

> [🇺🇸 English](#reddit-scraper) | 🇧🇷 Português

Raspe posts, árvore de comentários e sentimento de qualquer subreddit ou busca global no Reddit. Obtenha scores, upvote ratios, flair e árvore completa de comentários. Sem necessidade de API key.

### ✨ Funcionalidades

- 🔍 **Raspagem de subreddits** — posts hot, new, top, rising, controversial
- 🌐 **Busca global** — pesquise em todo o Reddit
- 🌳 **Árvore de comentários recursiva** — profundidade e limite configuráveis
- 💬 **Análise de sentimento** — suporte PT-BR + EN (positivo/neutro/negativo)
- 🧹 **content\_clean** — texto limpo pronto para ML/IA
- ⚡ **Leve** — HTTP puro + JSON, sem navegador
- ✅ **Output validado** — cada item verificado antes da entrega
- 🌐 **Apify Proxy** — suporte a proxy integrado para confiabilidade

### 📥 Entrada

| Campo | Tipo | Padrão | Descrição |
|-------|------|--------|-----------|
| `subreddits` | `string[]` | `["brasil"]` | Lista de subreddits para raspar |
| `searchQuery` | `string` | `""` | Busca global (substitui subreddits) |
| `sort` | `enum` | `"hot"` | Ordenação: hot, new, top, rising, controversial |
| `time` | `enum` | `"week"` | Filtro de tempo: hour, day, week, month, year, all |
| `maxPosts` | `integer` | `10` | Máximo de posts a coletar |
| `includeComments` | `boolean` | `true` | Buscar árvores de comentários |
| `commentsDepth` | `integer` | `3` | Profundidade máxima dos comentários |
| `commentsLimit` | `integer` | `10` | Máx comentários de nível superior por post |

#### Exemplo de Entrada

```json
{
  "subreddits": ["brasil", "technology"],
  "sort": "hot",
  "time": "week",
  "maxPosts": 5,
  "includeComments": true,
  "commentsDepth": 2,
  "commentsLimit": 5
}
```

### 📤 Saída

Cada post produz um objeto:

| Campo | Tipo | Descrição |
|-------|------|-----------|
| `post_id` | `string` | ID do post |
| `subreddit` | `string` | Nome do subreddit |
| `title` | `string` | Título do post |
| `selftext` | `string` | Texto do corpo |
| `author` | `string` | Nome do autor |
| `score` | `integer` | Votos líquidos |
| `upvote_ratio` | `float` | Proporção de upvotes (0.0–1.0) |
| `num_comments` | `integer` | Total de comentários |
| `url` | `string` | URL do post |
| `permalink` | `string` | Permalink do Reddit |
| `created_utc` | `integer` | Timestamp Unix |
| `flair` | `string\|null` | Flair do post |
| `is_video` | `boolean` | Se o post é um vídeo |
| `content_clean` | `string` | Texto limpo para ML |
| `comments_tree` | `array` | Árvore recursiva de comentários |

### 📋 Casos de Uso

- **Dados para IA/ML** — Texto limpo com `content_clean`, pronto para NLP
- **Pesquisa de mercado** — Monitore discussões sobre marcas e produtos
- **Análise de sentimento** — Acompanhe o sentimento da comunidade ao longo do tempo
- **Inteligência competitiva** — Monitore o que falam sobre concorrentes
- **Ideias de conteúdo** — Encontre tópicos populares no seu nicho
- **Pesquisa acadêmica** — Colete dados estruturados de comunidades do Reddit
- **Monitoramento de comunidade** — Acompanhe engajamento de subreddits

### ❓ Perguntas Frequentes

**P: Preciso de API key do Reddit?**
R: Não! Este actor funciona sem nenhuma credencial de API.

**P: Qual proxy devo usar?**
R: Apify Proxy com proxies residenciais é recomendado.

**P: Posso buscar em todo o Reddit?**
R: Sim! Use o campo `searchQuery` para busca global.

**P: Até que profundidade vai a árvore de comentários?**
R: Até qualquer profundidade configurada em `commentsDepth`. Padrão é 3 níveis.

**P: Suporta conteúdo em português?**
R: Sim! A análise de sentimento suporta palavras-chave PT-BR e inglês.

### 💰 Preços

Este actor usa precificação **Pay Per Event (PPE)**:

| Métrica | Custo |
|---------|-------|
| Por post extraído | $0.005 |
| Por comentário extraído | $0.001 |

### 🔗 Actors Relacionados

- [Instagram Reels Scraper](https://apify.com/viralanalyzer/instagram-reels-scraper) — Métricas do Instagram
- [YouTube Fast Scraper](https://apify.com/viralanalyzer/youtube-fast-scraper) — Dados do YouTube
- [TikTok Video Scraper](https://apify.com/viralanalyzer/tiktok-viral-scanner) — Dados do TikTok

# Actor input Schema

## `subreddits` (type: `array`):

List of subreddits to scrape (e.g. \['brasil', 'technology', 'worldnews'])

## `searchQuery` (type: `string`):

Search term across all Reddit (alternative to subreddit). Leave empty to use subreddits list.

## `sort` (type: `string`):

How to sort posts

## `time` (type: `string`):

Time range for 'top' sort

## `maxPosts` (type: `integer`):

Maximum number of posts to extract per subreddit

## `includeComments` (type: `boolean`):

Fetch comment trees for each post (increases runtime)

## `commentsDepth` (type: `integer`):

Max depth of nested comment replies to fetch

## `commentsLimit` (type: `integer`):

Max top-level comments per post

## `proxyConfiguration` (type: `object`):

Proxy settings for bypassing Reddit's IP blocks. US residential proxies recommended. Leave empty to use automatic fallback (residential → datacenter → direct).

## Actor input object example

```json
{
  "subreddits": [
    "AskReddit"
  ],
  "sort": "hot",
  "time": "week",
  "maxPosts": 3,
  "includeComments": true,
  "commentsDepth": 1,
  "commentsLimit": 5,
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": [
      "RESIDENTIAL"
    ],
    "apifyProxyCountry": "US"
  }
}
```

# Actor output Schema

## `results` (type: `string`):

Dataset containing all scraped results. Each item follows the dataset schema.

# 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 = {
    "subreddits": [
        "AskReddit"
    ],
    "maxPosts": 3,
    "includeComments": false,
    "commentsDepth": 1,
    "commentsLimit": 5,
    "proxyConfiguration": {
        "useApifyProxy": true,
        "apifyProxyGroups": [
            "RESIDENTIAL"
        ],
        "apifyProxyCountry": "US"
    }
};

// Run the Actor and wait for it to finish
const run = await client.actor("viralanalyzer/reddit-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 = {
    "subreddits": ["AskReddit"],
    "maxPosts": 3,
    "includeComments": False,
    "commentsDepth": 1,
    "commentsLimit": 5,
    "proxyConfiguration": {
        "useApifyProxy": True,
        "apifyProxyGroups": ["RESIDENTIAL"],
        "apifyProxyCountry": "US",
    },
}

# Run the Actor and wait for it to finish
run = client.actor("viralanalyzer/reddit-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 '{
  "subreddits": [
    "AskReddit"
  ],
  "maxPosts": 3,
  "includeComments": false,
  "commentsDepth": 1,
  "commentsLimit": 5,
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": [
      "RESIDENTIAL"
    ],
    "apifyProxyCountry": "US"
  }
}' |
apify call viralanalyzer/reddit-scraper --silent --output-dataset

```

## MCP server setup

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

```

## OpenAPI specification

```json
{
    "openapi": "3.0.1",
    "info": {
        "title": "Reddit Scraper - Posts, Comments & Subreddits",
        "description": "Extract Reddit posts, comments, subreddit data, and user profiles.",
        "version": "1.5",
        "x-build-id": "lRVOd1G7tKkCNqX5g"
    },
    "servers": [
        {
            "url": "https://api.apify.com/v2"
        }
    ],
    "paths": {
        "/acts/viralanalyzer~reddit-scraper/run-sync-get-dataset-items": {
            "post": {
                "operationId": "run-sync-get-dataset-items-viralanalyzer-reddit-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/viralanalyzer~reddit-scraper/runs": {
            "post": {
                "operationId": "runs-sync-viralanalyzer-reddit-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/viralanalyzer~reddit-scraper/run-sync": {
            "post": {
                "operationId": "run-sync-viralanalyzer-reddit-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": {
                    "subreddits": {
                        "title": "Subreddits",
                        "type": "array",
                        "description": "List of subreddits to scrape (e.g. ['brasil', 'technology', 'worldnews'])",
                        "items": {
                            "type": "string"
                        }
                    },
                    "searchQuery": {
                        "title": "Search Query",
                        "type": "string",
                        "description": "Search term across all Reddit (alternative to subreddit). Leave empty to use subreddits list."
                    },
                    "sort": {
                        "title": "Sort By",
                        "enum": [
                            "hot",
                            "new",
                            "top",
                            "rising"
                        ],
                        "type": "string",
                        "description": "How to sort posts",
                        "default": "hot"
                    },
                    "time": {
                        "title": "Time Filter (for 'top' sort)",
                        "enum": [
                            "hour",
                            "day",
                            "week",
                            "month",
                            "year",
                            "all"
                        ],
                        "type": "string",
                        "description": "Time range for 'top' sort",
                        "default": "week"
                    },
                    "maxPosts": {
                        "title": "Max Posts",
                        "minimum": 1,
                        "maximum": 100,
                        "type": "integer",
                        "description": "Maximum number of posts to extract per subreddit",
                        "default": 10
                    },
                    "includeComments": {
                        "title": "Include Comments",
                        "type": "boolean",
                        "description": "Fetch comment trees for each post (increases runtime)",
                        "default": true
                    },
                    "commentsDepth": {
                        "title": "Comments Depth",
                        "minimum": 1,
                        "maximum": 10,
                        "type": "integer",
                        "description": "Max depth of nested comment replies to fetch",
                        "default": 3
                    },
                    "commentsLimit": {
                        "title": "Comments Limit",
                        "minimum": 1,
                        "maximum": 500,
                        "type": "integer",
                        "description": "Max top-level comments per post",
                        "default": 10
                    },
                    "proxyConfiguration": {
                        "title": "Proxy Configuration",
                        "type": "object",
                        "description": "Proxy settings for bypassing Reddit's IP blocks. US residential proxies recommended. Leave empty to use automatic fallback (residential → datacenter → direct).",
                        "default": {
                            "useApifyProxy": true
                        }
                    }
                }
            },
            "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
                                    }
                                }
                            }
                        }
                    }
                }
            }
        }
    }
}
```
