{
  "openapi": "3.0.1",
  "info": {
    "title": "Ruliweb Scraper – Korean Gaming Forum Posts & Comments",
    "description": "Ruliweb scraper (bbs.ruliweb.com), a major Korean gaming, anime and hobby community, no API or login: board listings (title keyword and date filters), full posts and all comments including nested replies, with authors, recommends and KST timestamps. Korean residential proxy built in.",
    "version": "1.0",
    "x-build-id": "BGemsC1gSyNNsxbIO"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/claude_code_reviewer~ruliweb-scraper-en/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-claude_code_reviewer-ruliweb-scraper-en",
        "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/claude_code_reviewer~ruliweb-scraper-en/runs": {
      "post": {
        "operationId": "runs-sync-claude_code_reviewer-ruliweb-scraper-en",
        "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/claude_code_reviewer~ruliweb-scraper-en/run-sync": {
      "post": {
        "operationId": "run-sync-claude_code_reviewer-ruliweb-scraper-en",
        "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": {
          "mode": {
            "title": "🎯 Mode",
            "enum": [
              "board",
              "thread"
            ],
            "type": "string",
            "description": "What do you want to collect? Pick a mode, then fill in the matching fields below.",
            "default": "board"
          },
          "boards": {
            "title": "📋 Board IDs",
            "maxItems": 50,
            "uniqueItems": true,
            "type": "array",
            "description": "Ruliweb board numbers (the number in bbs.ruliweb.com/community/board/{ID}). Examples: 300143 (Humor), 300142 (Questions), 300148 (Political humor), 300421 (PlayStation games), 300046 (Xbox chat), 1020 (user pre-order & hot deals), 300018 (Sajeonggye). You can also paste a board URL. Used in board mode.",
            "items": {
              "type": "string"
            },
            "default": []
          },
          "threadIds": {
            "title": "💬 Posts (board/post id)",
            "maxItems": 500,
            "uniqueItems": true,
            "type": "array",
            "description": "Use the 'boardId/postId' form, e.g. 300143/77231807 (the two numbers in .../board/300143/read/77231807). Ruliweb answers 404 unless the board id matches the post, so a bare post id is not enough. Used in full post mode.",
            "items": {
              "type": "string"
            },
            "default": []
          },
          "threadUrls": {
            "title": "💬 Post URLs",
            "maxItems": 500,
            "uniqueItems": true,
            "type": "array",
            "description": "Full post URLs, e.g. https://bbs.ruliweb.com/community/board/300143/read/77231807 . Board and post ids are extracted automatically.",
            "items": {
              "type": "string"
            },
            "default": []
          },
          "bulkInput": {
            "title": "📋 Paste in bulk",
            "type": "string",
            "description": "Enter **one per line** (Enter for a new line, no quotes or commas). Depending on the mode each line is read as a board id / post URL / 'board/post' pair and merged into the fields above. Pasting a whole spreadsheet column is the fastest way.",
            "default": ""
          },
          "keywords": {
            "title": "🔍 Title keyword filter",
            "maxItems": 50,
            "uniqueItems": true,
            "type": "array",
            "description": "(Optional) Board mode: keep only posts whose title contains at least one keyword. Ruliweb's site search is disallowed for automated access by its robots.txt, so this is a local filter over the board listing, not a site-wide search. Leave empty for no filtering. With keywords, each board is scanned for at most 20 pages (about 560 posts).",
            "items": {
              "type": "string"
            },
            "default": []
          },
          "maxItems": {
            "title": "📊 Max items",
            "minimum": 1,
            "maximum": 500,
            "type": "integer",
            "description": "Board mode: maximum posts per board. Full post mode: maximum number of posts (all comments of each post are collected; use 'Max comments per post' to limit them). Up to 500.",
            "default": 50
          },
          "maxReplies": {
            "title": "🧵 Max comments per post (optional)",
            "minimum": 0,
            "type": "integer",
            "description": "Used in full post mode. Collects only the first N comments of each post (nested replies included, in page order). Comments are billed with the comment-item event; comments with no text (image or emoticon only) are collected but not billed. 0 = post body only, empty = all comments (default). Independent from 'Max items' (the number of posts)."
          },
          "dateFrom": {
            "title": "📅 Only posts since (optional)",
            "type": "string",
            "description": "Board mode, by posting time. Relative: 30m, 12h, 3d, 2w; or a date like 2026-10-01 (midnight Korea time). Empty = no filter. Paging stops as soon as an older page is reached, which keeps scheduled runs cheap. The list shows posts from today to the minute and older posts by date only, so day-level posts are judged by the whole day."
          },
          "proxyConfiguration": {
            "title": "🌐 Proxy (default: Korean residential)",
            "type": "object",
            "description": "With Apify datacenter proxy about half of the requests to Ruliweb failed at the connection level (590 UPSTREAM502). The default, Apify RESIDENTIAL + country KR, succeeded on 20 of 20 requests, so keep it unless you use your own proxy.",
            "default": {
              "useApifyProxy": true,
              "apifyProxyGroups": [
                "RESIDENTIAL"
              ],
              "apifyProxyCountry": "KR"
            }
          }
        }
      },
      "runsResponseSchema": {
        "type": "object",
        "properties": {
          "data": {
            "type": "object",
            "properties": {
              "id": {
                "type": "string"
              },
              "actId": {
                "type": "string"
              },
              "userId": {
                "type": "string"
              },
              "startedAt": {
                "type": "string",
                "format": "date-time",
                "example": "2025-01-08T00:00:00.000Z"
              },
              "finishedAt": {
                "type": "string",
                "format": "date-time",
                "example": "2025-01-08T00:00:00.000Z"
              },
              "status": {
                "type": "string",
                "example": "READY"
              },
              "meta": {
                "type": "object",
                "properties": {
                  "origin": {
                    "type": "string",
                    "example": "API"
                  },
                  "userAgent": {
                    "type": "string"
                  }
                }
              },
              "stats": {
                "type": "object",
                "properties": {
                  "inputBodyLen": {
                    "type": "integer",
                    "example": 2000
                  },
                  "rebootCount": {
                    "type": "integer",
                    "example": 0
                  },
                  "restartCount": {
                    "type": "integer",
                    "example": 0
                  },
                  "resurrectCount": {
                    "type": "integer",
                    "example": 0
                  },
                  "computeUnits": {
                    "type": "integer",
                    "example": 0
                  }
                }
              },
              "options": {
                "type": "object",
                "properties": {
                  "build": {
                    "type": "string",
                    "example": "latest"
                  },
                  "timeoutSecs": {
                    "type": "integer",
                    "example": 300
                  },
                  "memoryMbytes": {
                    "type": "integer",
                    "example": 1024
                  },
                  "diskMbytes": {
                    "type": "integer",
                    "example": 2048
                  }
                }
              },
              "buildId": {
                "type": "string"
              },
              "defaultKeyValueStoreId": {
                "type": "string"
              },
              "defaultDatasetId": {
                "type": "string"
              },
              "defaultRequestQueueId": {
                "type": "string"
              },
              "buildNumber": {
                "type": "string",
                "example": "1.0.0"
              },
              "containerUrl": {
                "type": "string"
              },
              "usage": {
                "type": "object",
                "properties": {
                  "ACTOR_COMPUTE_UNITS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_WRITES": {
                    "type": "integer",
                    "example": 1
                  },
                  "KEY_VALUE_STORE_LISTS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_INTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_EXTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_SERPS": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_UNBLOCKER_UNITS": {
                    "type": "integer",
                    "example": 0
                  }
                }
              },
              "usageTotalUsd": {
                "type": "number",
                "example": 0.00005
              },
              "usageUsd": {
                "type": "object",
                "properties": {
                  "ACTOR_COMPUTE_UNITS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_WRITES": {
                    "type": "number",
                    "example": 0.00005
                  },
                  "KEY_VALUE_STORE_LISTS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_INTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_EXTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_SERPS": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_UNBLOCKER_UNITS": {
                    "type": "integer",
                    "example": 0
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}