{
  "openapi": "3.0.1",
  "info": {
    "title": "Reddit Feeds V2 — 11 sitewide, subreddit & account feeds",
    "description": "Fetch any of Reddit's 11 feeds at scale: Popular, News, r/All, Watch (videos), Games, Explore, Topic, Recommended Media, any subreddit's posts feed, plus your account's Latest and Saved Posts feeds. 11 self-contained endpoints — 9 anonymous, 2 require a Reddit account.",
    "version": "0.5",
    "x-build-id": "M8Ynd6n63ZFnXfsSe"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/red_crawler~reddit-feeds/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-red_crawler-reddit-feeds",
        "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/red_crawler~reddit-feeds/runs": {
      "post": {
        "operationId": "runs-sync-red_crawler-reddit-feeds",
        "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/red_crawler~reddit-feeds/run-sync": {
      "post": {
        "operationId": "run-sync-red_crawler-reddit-feeds",
        "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": [
          "endpoint"
        ],
        "properties": {
          "endpoint": {
            "title": "What to fetch",
            "enum": [
              "subreddit",
              "popular",
              "news",
              "all",
              "explore",
              "games",
              "watch",
              "topic",
              "recommended_media",
              "latest",
              "saved_posts"
            ],
            "type": "string",
            "description": "Choose which feed to call. The first 9 are anonymous (no Reddit account needed). The last 2 require a Reddit account — fill the Reddit credentials section at the bottom of the form.",
            "default": "popular"
          },
          "subreddit_name": {
            "title": "Subreddit",
            "type": "string",
            "description": "Subreddit name, r/name, or full URL (e.g. 'python', 'r/python', or 'https://www.reddit.com/r/python')."
          },
          "subreddit_sort": {
            "title": "Sort",
            "enum": [
              "best",
              "hot",
              "new",
              "top",
              "controversial",
              "rising"
            ],
            "type": "string",
            "description": "Sort order. Time filter only applies to 'top' / 'controversial'.",
            "default": "hot"
          },
          "subreddit_time": {
            "title": "Time filter (top / controversial only)",
            "enum": [
              "hour",
              "day",
              "week",
              "month",
              "year",
              "all"
            ],
            "type": "string",
            "description": "Time window — IGNORED unless sort is 'top' or 'controversial'.",
            "default": "all"
          },
          "subreddit_limit": {
            "title": "Limit",
            "minimum": 1,
            "maximum": 500,
            "type": "integer",
            "description": "Max posts to return (1–500). Auto-paginates.",
            "default": 100
          },
          "popular_sort": {
            "title": "Sort",
            "enum": [
              "best",
              "hot",
              "new",
              "top",
              "controversial",
              "rising"
            ],
            "type": "string",
            "description": "Sort order. Time filter only applies to 'top' / 'controversial'.",
            "default": "hot"
          },
          "popular_time": {
            "title": "Time filter (top / controversial only)",
            "enum": [
              "hour",
              "day",
              "week",
              "month",
              "year",
              "all"
            ],
            "type": "string",
            "description": "Time window — IGNORED unless sort is 'top' or 'controversial'.",
            "default": "all"
          },
          "popular_limit": {
            "title": "Limit",
            "minimum": 1,
            "maximum": 500,
            "type": "integer",
            "description": "Max posts to return (1–500). Auto-paginates.",
            "default": 100
          },
          "news_sort": {
            "title": "Sort",
            "enum": [
              "best",
              "hot",
              "new",
              "top",
              "controversial",
              "rising",
              "awarded"
            ],
            "type": "string",
            "description": "Sort order. News supports an extra 'awarded' option. Time filter only applies to 'top' / 'controversial'.",
            "default": "best"
          },
          "news_time": {
            "title": "Time filter (top / controversial only)",
            "enum": [
              "hour",
              "day",
              "week",
              "month",
              "year",
              "all"
            ],
            "type": "string",
            "description": "Time window — IGNORED unless sort is 'top' or 'controversial'.",
            "default": "all"
          },
          "news_limit": {
            "title": "Limit",
            "minimum": 1,
            "maximum": 500,
            "type": "integer",
            "description": "Max posts to return (1–500). Auto-paginates.",
            "default": 100
          },
          "all_sort": {
            "title": "Sort",
            "enum": [
              "best",
              "hot",
              "new",
              "top",
              "controversial",
              "rising"
            ],
            "type": "string",
            "description": "Sort order. Time filter only applies to 'top' / 'controversial'.",
            "default": "hot"
          },
          "all_time": {
            "title": "Time filter (top / controversial only)",
            "enum": [
              "hour",
              "day",
              "week",
              "month",
              "year",
              "all"
            ],
            "type": "string",
            "description": "Time window — IGNORED unless sort is 'top' or 'controversial'.",
            "default": "all"
          },
          "all_limit": {
            "title": "Limit",
            "minimum": 1,
            "maximum": 500,
            "type": "integer",
            "description": "Max posts to return (1–500). Auto-paginates.",
            "default": 100
          },
          "explore_sort": {
            "title": "Sort",
            "enum": [
              "best",
              "hot",
              "new",
              "top",
              "controversial",
              "rising"
            ],
            "type": "string",
            "description": "Sort order. Time filter only applies to 'top' / 'controversial'.",
            "default": "hot"
          },
          "explore_time": {
            "title": "Time filter (top / controversial only)",
            "enum": [
              "hour",
              "day",
              "week",
              "month",
              "year",
              "all"
            ],
            "type": "string",
            "description": "Time window — IGNORED unless sort is 'top' or 'controversial'.",
            "default": "all"
          },
          "explore_limit": {
            "title": "Limit",
            "minimum": 1,
            "maximum": 500,
            "type": "integer",
            "description": "Max posts to return (1–500). Auto-paginates.",
            "default": 100
          },
          "games_sort": {
            "title": "Sort",
            "enum": [
              "best",
              "hot",
              "new",
              "top",
              "controversial",
              "rising"
            ],
            "type": "string",
            "description": "Sort order. Time filter only applies to 'top' / 'controversial'.",
            "default": "hot"
          },
          "games_time": {
            "title": "Time filter (top / controversial only)",
            "enum": [
              "hour",
              "day",
              "week",
              "month",
              "year",
              "all"
            ],
            "type": "string",
            "description": "Time window — IGNORED unless sort is 'top' or 'controversial'.",
            "default": "all"
          },
          "games_limit": {
            "title": "Limit",
            "minimum": 1,
            "maximum": 500,
            "type": "integer",
            "description": "Max posts to return (1–500). Auto-paginates.",
            "default": 100
          },
          "watch_sort": {
            "title": "Sort",
            "enum": [
              "best",
              "hot",
              "new",
              "top",
              "controversial",
              "rising"
            ],
            "type": "string",
            "description": "Sort order. Time filter only applies to 'top' / 'controversial'.",
            "default": "hot"
          },
          "watch_time": {
            "title": "Time filter (top / controversial only)",
            "enum": [
              "hour",
              "day",
              "week",
              "month",
              "year",
              "all"
            ],
            "type": "string",
            "description": "Time window — IGNORED unless sort is 'top' or 'controversial'.",
            "default": "all"
          },
          "watch_limit": {
            "title": "Limit",
            "minimum": 1,
            "maximum": 500,
            "type": "integer",
            "description": "Max posts to return (1–500). Auto-paginates.",
            "default": 100
          },
          "topic_id": {
            "title": "Topic ID",
            "type": "string",
            "description": "Topic ID like 'tx1_2unn29s'. Get IDs from the 'Explore Feed' endpoint."
          },
          "topic_sort": {
            "title": "Sort",
            "enum": [
              "best",
              "hot",
              "new",
              "top",
              "controversial",
              "rising"
            ],
            "type": "string",
            "description": "Sort order. Time filter only applies to 'top' / 'controversial'.",
            "default": "hot"
          },
          "topic_time": {
            "title": "Time filter (top / controversial only)",
            "enum": [
              "hour",
              "day",
              "week",
              "month",
              "year",
              "all"
            ],
            "type": "string",
            "description": "Time window — IGNORED unless sort is 'top' or 'controversial'.",
            "default": "all"
          },
          "topic_scheme_name": {
            "title": "Scheme name (optional)",
            "type": "string",
            "description": "Optional scheme name. Leave blank unless you know what you need."
          },
          "topic_limit": {
            "title": "Limit",
            "minimum": 1,
            "maximum": 500,
            "type": "integer",
            "description": "Max posts to return (1–500). Auto-paginates.",
            "default": 100
          },
          "recommended_media_seeds": {
            "title": "Seed subreddit IDs",
            "type": "string",
            "description": "Comma-separated subreddit fullnames (e.g. 't5_2qh33,t5_2cneq'). Recommendations are seeded from these communities."
          },
          "recommended_media_sort": {
            "title": "Sort",
            "enum": [
              "best",
              "hot",
              "new",
              "top",
              "controversial",
              "rising"
            ],
            "type": "string",
            "description": "Sort order. Time filter only applies to 'top' / 'controversial'.",
            "default": "hot"
          },
          "recommended_media_time": {
            "title": "Time filter (top / controversial only)",
            "enum": [
              "hour",
              "day",
              "week",
              "month",
              "year",
              "all"
            ],
            "type": "string",
            "description": "Time window — IGNORED unless sort is 'top' or 'controversial'.",
            "default": "all"
          },
          "recommended_media_limit": {
            "title": "Limit",
            "minimum": 1,
            "maximum": 500,
            "type": "integer",
            "description": "Max posts to return (1–500). Auto-paginates.",
            "default": 100
          },
          "latest_sort": {
            "title": "Sort",
            "enum": [
              "best",
              "hot",
              "new",
              "top",
              "controversial",
              "rising"
            ],
            "type": "string",
            "description": "Sort order. Defaults to 'new' for the Latest feed. Time filter only applies to 'top' / 'controversial'.",
            "default": "new"
          },
          "latest_time": {
            "title": "Time filter (top / controversial only)",
            "enum": [
              "hour",
              "day",
              "week",
              "month",
              "year",
              "all"
            ],
            "type": "string",
            "description": "Time window — IGNORED unless sort is 'top' or 'controversial'.",
            "default": "all"
          },
          "latest_limit": {
            "title": "Limit",
            "minimum": 1,
            "maximum": 500,
            "type": "integer",
            "description": "Max posts to return (1–500). Auto-paginates.",
            "default": 100
          },
          "saved_posts_sort": {
            "title": "Sort",
            "enum": [
              "best",
              "hot",
              "new",
              "top",
              "controversial",
              "rising"
            ],
            "type": "string",
            "description": "Sort order. Time filter only applies to 'top' / 'controversial'.",
            "default": "hot"
          },
          "saved_posts_time": {
            "title": "Time filter (top / controversial only)",
            "enum": [
              "hour",
              "day",
              "week",
              "month",
              "year",
              "all"
            ],
            "type": "string",
            "description": "Time window — IGNORED unless sort is 'top' or 'controversial'.",
            "default": "all"
          },
          "saved_posts_limit": {
            "title": "Limit",
            "minimum": 1,
            "maximum": 500,
            "type": "integer",
            "description": "Max posts to return (1–500). Auto-paginates.",
            "default": 100
          },
          "credentialSource": {
            "title": "Credential source",
            "enum": [
              "vault",
              "manual"
            ],
            "type": "string",
            "description": "Only used when the chosen endpoint is one of the bearer-required ones ('Latest Feed' and 'Saved Posts Feed'). For all other endpoints leave the default — credentials are ignored. **Use saved account (vault)** loads your stored Token V2 + proxy from the **reddit-vault** actor — only the 'Saved account name' field is used. **Paste Token V2 + proxy** uses the values you paste below.",
            "default": "vault"
          },
          "accountName": {
            "title": "Saved account name (used when source = vault)",
            "pattern": "^[A-Za-z0-9_-]{1,32}$",
            "maxLength": 32,
            "type": "string",
            "description": "The name you used in the **reddit-vault** actor when you stored this account. Your Token V2 + proxy load automatically from the vault. Ignored when 'Credential source' = manual."
          },
          "bearer": {
            "title": "Token V2 (used when source = manual)",
            "type": "string",
            "description": "Your Reddit `token_v2` cookie value (`eyJ...`). Lifetime ~24 h. Encrypted at rest by Apify. Ignored when 'Credential source' = vault."
          },
          "proxy": {
            "title": "Proxy (used when source = manual)",
            "type": "string",
            "description": "Proxy in `ip:port:user:pass` format. MUST be the same IP that originally minted the Token V2. Ignored when 'Credential source' = vault."
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}