{
  "openapi": "3.0.1",
  "info": {
    "title": "Netmums Scraper - Threads, Replies, Quotes & Keyword Search",
    "description": "Extract threads and replies from the Netmums forum with quotes, likes, best answers, images, links and poster roles. Scrape by thread, board or whole forum section, or find threads by keyword.",
    "version": "0.1",
    "x-build-id": "L6Xp184cuuj8zfj9u"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/metaldata~netmums-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-metaldata-netmums-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/metaldata~netmums-scraper/runs": {
      "post": {
        "operationId": "runs-sync-metaldata-netmums-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/metaldata~netmums-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-metaldata-netmums-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": {
          "startUrls": {
            "title": "Thread, board or forum section URLs",
            "type": "array",
            "description": "Netmums forum URLs to scrape. A thread URL (ending in .html) scrapes that thread. A board URL (e.g. https://www.netmums.com/coffeehouse/being-mum-794/toddlers-1-3-years-59/) scrapes the threads listed on it, newest activity first. A forum section URL (e.g. https://www.netmums.com/coffeehouse/being-mum-794/) scrapes the boards inside it.",
            "items": {
              "type": "object",
              "required": [
                "url"
              ],
              "properties": {
                "url": {
                  "type": "string",
                  "title": "URL of a web page",
                  "format": "uri"
                }
              }
            }
          },
          "searchKeywords": {
            "title": "Search keywords (optional)",
            "type": "array",
            "description": "Topics, brands or phrases to look for. The Actor finds matching Netmums threads with Google Search (site:netmums.com/coffeehouse) and scrapes them, as well as any URLs above. The search runs Apify's Google Search Scraper on your account, at its own price.",
            "items": {
              "type": "string"
            }
          },
          "boardCategory": {
            "title": "Limit search to one board (optional)",
            "type": "string",
            "description": "Only search one board, e.g. 'toddlers-1-3-years-59' or 'pregnancy-1213'. Copy it from the end of the board's URL, or paste the whole board URL. Leave blank to search the whole forum."
          },
          "maxThreadsPerKeyword": {
            "title": "Max threads to find per keyword",
            "minimum": 1,
            "type": "integer",
            "description": "How many matching threads to take for each search keyword.",
            "default": 10
          },
          "maxThreads": {
            "title": "Max threads to scrape",
            "minimum": 1,
            "type": "integer",
            "description": "Stop after this many threads in total. Keep it small for your first runs.",
            "default": 20
          },
          "maxPagesPerThread": {
            "title": "Max pages per thread",
            "minimum": 1,
            "type": "integer",
            "description": "Netmums shows 15 posts per page. Cap how many pages to read per thread (5 pages = up to 75 posts).",
            "default": 5
          },
          "newestPagesFirst": {
            "title": "Newest pages first",
            "type": "boolean",
            "description": "On long threads, read the opening post and then the newest pages instead of the oldest. Switched on automatically when you set a 'from' date.",
            "default": false
          },
          "minReplies": {
            "title": "Minimum replies (optional)",
            "minimum": 0,
            "type": "integer",
            "description": "Skip threads with fewer replies than this. On board URLs this is checked from the board's list, so skipped threads cost nothing.",
            "default": 0
          },
          "maxReplies": {
            "title": "Maximum replies (optional)",
            "minimum": 0,
            "type": "integer",
            "description": "Skip threads with more replies than this. Leave at 0 for no upper limit.",
            "default": 0
          },
          "dateFrom": {
            "title": "Only include posts from this date (optional)",
            "type": "string",
            "description": "Posts before this date are left out. Threads with no posts since then are skipped without being opened."
          },
          "dateTo": {
            "title": "Only include posts up to this date (optional)",
            "type": "string",
            "description": "Posts after this date are left out. Threads started after it are skipped without being opened."
          },
          "skipSponsoredThreads": {
            "title": "Skip sponsored threads",
            "type": "boolean",
            "description": "Leave out threads Netmums marks as sponsored (brand Q&As and promotions). Every row also has a thread_is_sponsored field, so you can filter later instead.",
            "default": false
          },
          "proxyConfiguration": {
            "title": "Proxy configuration",
            "type": "object",
            "description": "Routes requests through Apify Proxy, which keeps larger runs from being rate limited. Defaults to Apify's automatic datacenter proxy.",
            "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
                  },
                  "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}