{
  "openapi": "3.0.1",
  "info": {
    "title": "WhatsApp Channel Search & Scraper",
    "description": "Search WhatsApp channels by keyword and scrape their public metadata — name, follower count, bio, and avatar. Also resolves direct channel links and group invite links. No WhatsApp account, API key, or login needed. JSON or CSV output.",
    "version": "0.0",
    "x-build-id": "h0AdKgquno01GzxS3"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/memo23~whatsapp-channel-search/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-memo23-whatsapp-channel-search",
        "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/memo23~whatsapp-channel-search/runs": {
      "post": {
        "operationId": "runs-sync-memo23-whatsapp-channel-search",
        "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/memo23~whatsapp-channel-search/run-sync": {
      "post": {
        "operationId": "run-sync-memo23-whatsapp-channel-search",
        "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": {
          "queries": {
            "title": "Search queries",
            "type": "array",
            "description": "One search per line, e.g. `crypto trading`, `football news`, `job alerts india`.",
            "items": {
              "type": "string"
            }
          },
          "startUrls": {
            "title": "WhatsApp URLs",
            "type": "array",
            "description": "Direct channel pages (`https://whatsapp.com/channel/{id}`), web accept links (`https://web.whatsapp.com/accept?channel_invite_code={id}`), or group invite links (`https://chat.whatsapp.com/{code}`) to scrape in addition to (or instead of) searches.",
            "items": {
              "type": "string"
            }
          },
          "minFollowers": {
            "title": "Minimum followers",
            "minimum": 0,
            "type": "integer",
            "description": "Keep only channels with at least this many followers. Channels without a public follower count are excluded when set."
          },
          "maxFollowers": {
            "title": "Maximum followers",
            "minimum": 0,
            "type": "integer",
            "description": "Keep only channels with at most this many followers. Channels without a public follower count are excluded when set."
          },
          "verifiedOnly": {
            "title": "Verified channels only",
            "type": "boolean",
            "description": "Keep only WhatsApp channels that display a verified checkmark badge on their public page.",
            "default": false
          },
          "countryHint": {
            "title": "Country hint (ISO code)",
            "type": "string",
            "description": "Optional 2-letter ISO country code (e.g. `US`, `GB`, `IN`, `BR`, `DE`) to localize search-engine channel discovery."
          },
          "languageHint": {
            "title": "Language hint (ISO code)",
            "type": "string",
            "description": "Optional 2-letter ISO language code (e.g. `en`, `es`, `pt`, `de`, `fr`) to localize search-engine channel discovery."
          },
          "includeRecentPosts": {
            "title": "Include recent posts",
            "type": "boolean",
            "description": "Extract recent public posts (`recentPosts` with text, media URLs, reactions, and timestamps) when rendered on the channel page.",
            "default": false
          },
          "maxChannelsPerQuery": {
            "title": "Max channels per query",
            "minimum": 1,
            "type": "integer",
            "description": "Cap on how many channels a single search query can return.",
            "default": 30
          },
          "maxItems": {
            "title": "Maximum items to scrape",
            "minimum": 1,
            "type": "integer",
            "description": "Hard cap on the number of channels/groups scraped in this run.",
            "default": 1000
          },
          "maxConcurrency": {
            "title": "Max concurrency",
            "minimum": 1,
            "type": "integer",
            "description": "Maximum number of WhatsApp pages processed in parallel.",
            "default": 10
          },
          "minConcurrency": {
            "title": "Min concurrency",
            "minimum": 1,
            "type": "integer",
            "description": "Minimum number of pages processed in parallel.",
            "default": 1
          },
          "maxRequestRetries": {
            "title": "Max request retries",
            "minimum": 0,
            "type": "integer",
            "description": "Number of retries before a failed request is given up.",
            "default": 5
          },
          "compact": {
            "title": "Compact output",
            "type": "boolean",
            "description": "Omit verbose fields (`followersRaw`, `avatarUrl`, `scrapedAt`) to reduce payload size and LLM context usage.",
            "default": false
          },
          "excludeEmptyFields": {
            "title": "Exclude empty fields",
            "type": "boolean",
            "description": "Omit fields with `null`, `undefined`, `\"\"`, or `[]` values from output items while strictly preserving `0` and `false`.",
            "default": false
          },
          "descriptionMaxLength": {
            "title": "Description max length",
            "minimum": 0,
            "type": "integer",
            "description": "Truncate channel `description` to at most this many characters (surrogate-pair safe for emojis). Leave empty for full bio."
          },
          "proxy": {
            "title": "Proxy configuration",
            "type": "object",
            "description": "WhatsApp's public pages need no proxy. For large batches of search queries, a residential proxy spreads the search-engine load and avoids rate limits.",
            "default": {
              "useApifyProxy": false
            }
          },
          "searchTerms": {
            "title": "Search terms (alias for queries)",
            "type": "array",
            "description": "Alias for `queries`.",
            "items": {
              "type": "string"
            }
          },
          "keywords": {
            "title": "Keywords (alias for queries)",
            "type": "array",
            "description": "Alias for `queries`.",
            "items": {
              "type": "string"
            }
          },
          "query": {
            "title": "Single query (alias for queries)",
            "type": "string",
            "description": "Single-string alias for `queries`."
          },
          "channelUrls": {
            "title": "Channel URLs (alias for startUrls)",
            "type": "array",
            "description": "Alias for `startUrls`.",
            "items": {
              "type": "string"
            }
          },
          "searchUrls": {
            "title": "Search URLs (alias for startUrls)",
            "type": "array",
            "description": "Alias for `startUrls`.",
            "items": {
              "type": "string"
            }
          },
          "urls": {
            "title": "URLs (alias for startUrls)",
            "type": "array",
            "description": "Alias for `startUrls`.",
            "items": {
              "type": "string"
            }
          },
          "maxResultsPerQuery": {
            "title": "Max results per query (alias for maxChannelsPerQuery)",
            "minimum": 1,
            "type": "integer",
            "description": "Alias for `maxChannelsPerQuery`."
          },
          "resultsPerQuery": {
            "title": "Results per query (alias for maxChannelsPerQuery)",
            "minimum": 1,
            "type": "integer",
            "description": "Alias for `maxChannelsPerQuery`."
          },
          "maxTotalResults": {
            "title": "Max total results (alias for maxItems)",
            "minimum": 1,
            "type": "integer",
            "description": "Alias for `maxItems`."
          },
          "maxResults": {
            "title": "Max results (alias for maxItems)",
            "minimum": 1,
            "type": "integer",
            "description": "Alias for `maxItems`."
          },
          "limit": {
            "title": "Limit (alias for maxItems)",
            "minimum": 1,
            "type": "integer",
            "description": "Alias for `maxItems`."
          },
          "minSubscribers": {
            "title": "Min subscribers (alias for minFollowers)",
            "minimum": 0,
            "type": "integer",
            "description": "Alias for `minFollowers`."
          },
          "minMembers": {
            "title": "Min members (alias for minFollowers)",
            "minimum": 0,
            "type": "integer",
            "description": "Alias for `minFollowers`."
          },
          "maxSubscribers": {
            "title": "Max subscribers (alias for maxFollowers)",
            "minimum": 0,
            "type": "integer",
            "description": "Alias for `maxFollowers`."
          },
          "proxyConfiguration": {
            "title": "Proxy configuration (alias for proxy)",
            "type": "object",
            "description": "Alias for `proxy`."
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}