{
  "openapi": "3.0.1",
  "info": {
    "title": "Jeban Scraper — Thai Beauty Reviews, Topics & Daisy Products",
    "description": "Scrape Jeban.com, Thailand's beauty community: topics and reviews with full text, images, tags and authors, comments, Daisy beauty products with THB prices, shades and scores, and Daisy product reviews. No login, no API key.",
    "version": "0.1",
    "x-build-id": "qfNVjUo4QZJgbvell"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/teodor_banea~jeban-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-teodor_banea-jeban-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/teodor_banea~jeban-scraper/runs": {
      "post": {
        "operationId": "runs-sync-teodor_banea-jeban-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/teodor_banea~jeban-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-teodor_banea-jeban-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": {
          "mode": {
            "title": "What to scrape",
            "enum": [
              "latestTopics",
              "tagTopics",
              "creatorTopics",
              "topicUrls",
              "comments",
              "products",
              "productReviews"
            ],
            "type": "string",
            "description": "Choose the row type and source. One row type per run: topics, comments, products or product reviews.",
            "default": "latestTopics"
          },
          "maxResults": {
            "title": "Maximum results",
            "minimum": 0,
            "maximum": 1000000,
            "type": "integer",
            "description": "Enter how many rows to return in total (topics, comments, products or reviews). 0 = all (capped at 10,000 when nothing else narrows the run, e.g. latest topics without \"Published after\").",
            "default": 200
          },
          "publishedAfter": {
            "title": "Published after",
            "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
            "type": "string",
            "description": "Return only topics (or product reviews) published on or after this day, Bangkok time. Latest-topics, tag, creator and review listings are newest first and stop there — the cheapest way to get \"everything since…\"."
          },
          "topicTypes": {
            "title": "Topic types",
            "type": "array",
            "description": "Choose the topic types to return. Leave empty for all.",
            "items": {
              "type": "string",
              "enum": [
                "REVIEW",
                "STORY",
                "HOWTO",
                "QA",
                "HAUL"
              ],
              "enumTitles": [
                "Review",
                "Story",
                "How-to",
                "Q&A",
                "Haul"
              ]
            }
          },
          "includeBody": {
            "title": "Include full text",
            "type": "boolean",
            "description": "Read each topic's page for its full text (plain and sanitised HTML), images, videos, tags, loves, comments count, disclosure and tagged products. One extra page per topic. Off: bodyText, bodyHtml, imageUrls, videoUrls, imageCount, disclosureLabel and the three relatedProduct fields are null; latest topics also leave tags, lovesCount, commentsCount and sponsoredBy null (tag and creator listings give those).",
            "default": true
          },
          "tags": {
            "title": "Tags",
            "type": "array",
            "description": "For \"Topics by tag\": enter tags as the site shows them (Thai or English, e.g. \"Makeup\", \"แต่งหน้า\") or tag page URLs (www.jeban.com/issue/…).",
            "items": {
              "type": "string"
            }
          },
          "maxTopicsPerTag": {
            "title": "Maximum topics per tag",
            "minimum": 0,
            "maximum": 1000000,
            "type": "integer",
            "description": "Enter how many topics to read from each tag, newest first. 0 = all.",
            "default": 100
          },
          "creatorUrls": {
            "title": "Creator URLs",
            "type": "array",
            "description": "For \"Topics by creator\": enter creator pages (www.jeban.com/creator/…, with or without \"https://www.\") or member ids, one per line. Up to 1,000 per run.",
            "items": {
              "type": "string"
            }
          },
          "maxTopicsPerCreator": {
            "title": "Maximum topics per creator",
            "minimum": 0,
            "maximum": 1000000,
            "type": "integer",
            "description": "Enter how many topics to read from each creator, newest first. 0 = all.",
            "default": 100
          },
          "topicUrls": {
            "title": "Topic URLs",
            "type": "array",
            "description": "For \"Topics by URL\" and \"Comments of topics\": enter topic pages (www.jeban.com/topic/…, with or without \"https://www.\") or topic ids, one per line. Up to 1,000 per run.",
            "items": {
              "type": "string"
            }
          },
          "maxCommentsPerTopic": {
            "title": "Maximum comments per topic",
            "minimum": 0,
            "maximum": 1000000,
            "type": "integer",
            "description": "For \"Comments of topics\": enter how many comments (and replies) to read per topic, newest first. 0 = all.",
            "default": 100
          },
          "categories": {
            "title": "Categories",
            "type": "array",
            "description": "For \"Daisy products\": choose Daisy subcategories to list (complete listings, 12 products per page).",
            "items": {
              "type": "string",
              "enum": [
                "body/body-care",
                "body/body-care-other",
                "body/body-cleanser",
                "body/body-scrub",
                "body/fragrance",
                "body/sunblock",
                "cheek/blush",
                "cheek/bronzer",
                "cheek/brush",
                "cheek/color-palettes",
                "cheek/concealer",
                "cheek/highlight",
                "eye/brush",
                "eye/color-palettes",
                "eye/concealer",
                "eye/contact-lens",
                "eye/eye-care",
                "eye/eye-liner",
                "eye/eye-shadow",
                "eye/eyelash-curler",
                "eye/false-lashes",
                "eye/lip-eye-remover",
                "eye/mascara",
                "eyebrow/brows",
                "eyebrow/brush",
                "eyebrow/color-palettes",
                "face/Acne-Patch",
                "face/Facial Skincare",
                "face/acne-care",
                "face/bronzer",
                "face/concealer",
                "face/face-blotter",
                "face/face-mask",
                "face/facial-cleanser",
                "face/facial-scrub",
                "face/foundation",
                "face/highlight",
                "face/oil-control",
                "face/powder",
                "face/sun-protection",
                "face/toner",
                "foot/foot-care",
                "hair/conditioner",
                "hair/hair-color",
                "hair/hair-other",
                "hair/hair-styling",
                "hair/hair-treatment",
                "hair/shampoo",
                "hand/hand-cream",
                "hand/hand-sanitizer",
                "intimate-area/deodorant",
                "intimate-area/sanitary",
                "lips/brush",
                "lips/color-palettes",
                "lips/lip-care",
                "lips/lip-color",
                "lips/lip-eye-remover",
                "lips/oral-cleanser",
                "nail/nail",
                "nail/nail-polish-remover",
                "other/accessories-other",
                "other/body-care-other",
                "other/massage",
                "other/oral-cleanser",
                "other/skincare-other",
                "other/special-treatment",
                "other/supplementary"
              ],
              "enumTitles": [
                "Body › บำรุงผิวกาย/Body Care",
                "Body › Other Bodycare",
                "Body › Body Soap/Body Cleanser",
                "Body › Scrub/Body Scrub",
                "Body › น้ำหอม/Fragrance",
                "Body › Sunblock/Sun Protection",
                "Cheeks › Blush",
                "Cheeks › Bronzer",
                "Cheeks › Brush/Makeup Brush",
                "Cheeks › Color Palettes",
                "Cheeks › Concealer",
                "Cheeks › Highlight",
                "Eyes › Brush/Makeup Brush",
                "Eyes › Color Palettes",
                "Eyes › Concealer",
                "Eyes › Contact Lens",
                "Eyes › Eye Care",
                "Eyes › Eye Liner",
                "Eyes › Eye Shadow",
                "Eyes › ที่ดัดขนตา/Eyelash Curler",
                "Eyes › ขนตาปลอม/False Lashes",
                "Eyes › Lip+Eye Remover",
                "Eyes › Mascara",
                "Eyebrows › Brows",
                "Eyebrows › Brush/Makeup Brush",
                "Eyebrows › Color Palettes",
                "Face › แผ่นแปะสิว",
                "Face › ผลิตภัณฑ์บำรุงผิวหน้า",
                "Face › Acne Care",
                "Face › Bronzer",
                "Face › Concealer",
                "Face › กระดาษซับมัน/Face Blotter",
                "Face › Face Mask",
                "Face › ทำความสะอาดผิวหน้า/Facial Cleanser",
                "Face › Facial Scrub",
                "Face › รองพื้น/Foundation",
                "Face › Highlight",
                "Face › ผลิตภัณฑ์ควบคุมความมัน",
                "Face › Powder",
                "Face › Sun Protection/Facial Sun Protection",
                "Face › Toner",
                "Feet › Foot Care",
                "Hair › Conditioner",
                "Hair › Hair Color",
                "Hair › Other Hair",
                "Hair › Hair Styling",
                "Hair › Hair Treatment",
                "Hair › Shampoo",
                "Hands › Hand Cream",
                "Hands › Hand Sanitizer",
                "Intimate area › Deodorant",
                "Intimate area › ผ้าอนามัย/sanitary",
                "Lips › Brush/Makeup Brush",
                "Lips › Color Palettes",
                "Lips › Lip Care",
                "Lips › ลิปสติก/Lip Color",
                "Lips › Lip+Eye Remover",
                "Lips › ผลิตภัณฑ์ทำความสะอาดช่องปาก",
                "Nails › Nail",
                "Nails › Nail Polish Remover",
                "Other › Other Accessories",
                "Other › Other Bodycare",
                "Other › Massage",
                "Other › ผลิตภัณฑ์ทำความสะอาดช่องปาก",
                "Other › Other Skincare",
                "Other › Special Treatment",
                "Other › อาหารเสริม/Supplementary"
              ]
            }
          },
          "brands": {
            "title": "Brands",
            "type": "array",
            "description": "For \"Daisy products\": enter brand slugs (e.g. \"revlon\") or brand pages (daisy.jeban.com/brand/…).",
            "items": {
              "type": "string"
            }
          },
          "keywords": {
            "title": "Keywords",
            "type": "array",
            "description": "For \"Daisy products\": enter search words (e.g. \"lipstick\", \"เซรั่ม\"). The site's search returns at most 10 products per keyword — use categories or brands for complete lists.",
            "items": {
              "type": "string"
            }
          },
          "productUrls": {
            "title": "Product URLs",
            "type": "array",
            "description": "For \"Daisy products\": product pages (daisy.jeban.com/product/…) or product ids, one per line. For \"Daisy product reviews\": the products whose reviews you want — single review pages (daisy.jeban.com/review/…) work too. Up to 1,000 per run.",
            "items": {
              "type": "string"
            }
          },
          "sortBy": {
            "title": "Sort products by",
            "enum": [
              "recentlyReviewed",
              "newest",
              "rating"
            ],
            "type": "string",
            "description": "Choose the order of category and brand lists (the site's own sort options).",
            "default": "recentlyReviewed"
          },
          "includeDetails": {
            "title": "Include product details",
            "type": "boolean",
            "description": "Read each product's page for shades, characteristics, views, loves and saves. One extra page per product from categories, brands and keywords.",
            "default": true
          },
          "maxProductsPerSource": {
            "title": "Maximum products per source",
            "minimum": 0,
            "maximum": 1000000,
            "type": "integer",
            "description": "Enter how many products to read from each category, brand or keyword. 0 = all.",
            "default": 48
          },
          "maxReviewsPerProduct": {
            "title": "Maximum reviews per product",
            "minimum": 0,
            "maximum": 1000000,
            "type": "integer",
            "description": "For \"Daisy product reviews\": enter how many reviews to read per product, newest first. 0 = all.",
            "default": 100
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}