Reddit Subreddit Details

reddit_subreddit_details

Fetch detailed information about a Reddit subreddit

Category: socialTimeout: 300s• Retryable

Input schema

POST this shape to /api/v1/tasks as the input field when creating a task in a group of type reddit_subreddit_details.

{
  "type": "object",
  "properties": {
    "subredditName": {
      "type": "string",
      "description": "The subreddit name (without r/ prefix)",
      "pattern": "^[A-Za-z0-9_]{3,21}$",
      "examples": [
        "programming",
        "ChatGPT"
      ],
      "x-ui": {
        "label": "Subreddit Name",
        "placeholder": "Subreddit name (without r/ prefix)",
        "component": "input"
      }
    }
  },
  "required": [
    "subredditName"
  ]
}

Output schema

Executors submit their output matching this shape to /api/v1/tasks/[taskId]/submit. Readers pull it back from task detail endpoints.

{
  "type": "object",
  "properties": {
    "subreddit": {
      "type": "object",
      "properties": {
        "name": {
          "type": "string",
          "description": "Subreddit name without r/ prefix"
        },
        "subscribers": {
          "type": "integer",
          "description": "Number of subscribers"
        },
        "online": {
          "type": "integer",
          "description": "Number of users currently online"
        },
        "weeklyVisitors": {
          "type": "integer",
          "description": "Number of weekly visitors"
        },
        "weeklyContributions": {
          "type": "integer",
          "description": "Number of weekly contributions"
        },
        "description": {
          "type": "string",
          "description": "Subreddit description"
        },
        "rules": {
          "type": "array",
          "description": "Subreddit rules",
          "items": {
            "type": "object",
            "properties": {
              "id": {
                "type": "string",
                "description": "Rule identifier"
              },
              "order": {
                "type": "integer",
                "description": "Rule order"
              },
              "title": {
                "type": "string",
                "description": "Rule title"
              },
              "description": {
                "type": "string",
                "description": "Rule description"
              }
            },
            "required": [
              "id",
              "order",
              "title",
              "description"
            ]
          }
        }
      },
      "required": [
        "name"
      ]
    }
  },
  "required": [
    "subreddit"
  ]
}

Ready to run Reddit Subreddit Details?

Create a project, approve an executor, and push your first reddit_subreddit_details task.

Get started
Tskgone — Distributed Task Scraping Platform