{
  "openapi": "3.0.1",
  "info": {
    "title": "Web Search API - Google, Bing, Yahoo, DuckDuckGo & Brave",
    "description": "Search Google, Bing, Yahoo, DuckDuckGo and Brave in one call, plus ChatGPT, Perplexity, Claude and Gemini answers. Real URLs, engine consensus, AI Overview, People Also Ask, ads, page text, leads and link prospecting. Pay only for engines that answered: $0.0025 each.",
    "version": "1.0",
    "x-build-id": "5nBqIAethVdlCWx1n"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/pomlabs~multi-engine-web-search/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-pomlabs-multi-engine-web-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/pomlabs~multi-engine-web-search/runs": {
      "post": {
        "operationId": "runs-sync-pomlabs-multi-engine-web-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/pomlabs~multi-engine-web-search/run-sync": {
      "post": {
        "operationId": "run-sync-pomlabs-multi-engine-web-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 (up to 20 per run). Operators like quotes, site: and OR work as in the engines. A full page address (https://...) is read directly instead of searched.",
            "default": [
              "best running shoes 2026"
            ],
            "items": {
              "type": "string"
            }
          },
          "engines": {
            "title": "Engines",
            "type": "array",
            "description": "Which engines to ask. You pay only for the engines that answered with results.",
            "items": {
              "type": "string",
              "enum": [
                "google",
                "bing",
                "yahoo",
                "duckduckgo",
                "brave"
              ],
              "enumTitles": [
                "Google",
                "Bing",
                "Yahoo",
                "DuckDuckGo",
                "Brave"
              ]
            },
            "default": [
              "google",
              "bing"
            ]
          },
          "country": {
            "title": "Country",
            "type": "string",
            "description": "Two-letter country code (US, BR, GB, DE...). Empty: no country."
          },
          "language": {
            "title": "Language",
            "type": "string",
            "description": "Language code (en, pt, es, de...). Empty: English interface."
          },
          "timeRange": {
            "title": "Time range",
            "enum": [
              "any",
              "day",
              "week",
              "month",
              "year"
            ],
            "type": "string",
            "description": "Only pages from this period.",
            "default": "any"
          },
          "dateFrom": {
            "title": "From date",
            "type": "string",
            "description": "Only pages published on or after this date (YYYY-MM-DD). Google, Bing, Brave and DuckDuckGo."
          },
          "dateTo": {
            "title": "To date",
            "type": "string",
            "description": "Only pages published on or before this date (YYYY-MM-DD)."
          },
          "location": {
            "title": "Location (Google)",
            "type": "string",
            "description": "A city or region in Google's format, e.g. 'Austin,Texas,United States' or 'Sao Paulo,State of Sao Paulo,Brazil'. Google shows local results for that place."
          },
          "searchLanguage": {
            "title": "Results language",
            "type": "string",
            "description": "Only pages written in this language (en, pt, es, de...). 'Language' above sets the interface language."
          },
          "resultsCountry": {
            "title": "Pages from country (Google)",
            "type": "string",
            "description": "Only pages from this country (two-letter code), apart from where the search is made ('Country')."
          },
          "tbs": {
            "title": "Google tbs value",
            "type": "string",
            "description": "Advanced: Google's own tbs filter as you would put it in the address, e.g. qdr:h (past hour), li:1 (verbatim). Overrides the time filters for Google."
          },
          "maxResultsPerEngine": {
            "title": "Results per engine",
            "minimum": 1,
            "maximum": 10,
            "type": "integer",
            "description": "First-page results taken from each engine (1-10).",
            "default": 10
          },
          "maxPagesPerQuery": {
            "title": "Result pages per engine",
            "minimum": 1,
            "maximum": 5,
            "type": "integer",
            "description": "How many result pages to read from each engine (1 to 5). Each extra page is one more engine result charge.",
            "default": 1
          },
          "startPage": {
            "title": "Start at page",
            "minimum": 1,
            "maximum": 10,
            "type": "integer",
            "description": "Begin at this results page (1 = first page). With 'Result pages per engine' 3 and 'Start at page' 2, pages 2 to 4 are read. Google, Bing, Yahoo and Brave.",
            "default": 1
          },
          "mobileResults": {
            "title": "Mobile results",
            "type": "boolean",
            "description": "Search as a phone: the results Google and Bing show on mobile (other order, local packs).",
            "default": false
          },
          "includeDomains": {
            "title": "Only these domains",
            "type": "array",
            "description": "Keep only results from these sites (reddit.com, stackoverflow.com). Checked on our side on the real URL, so engines that ignore site: don't leak other sites.",
            "items": {
              "type": "string"
            }
          },
          "excludeDomains": {
            "title": "Exclude domains",
            "type": "array",
            "description": "Drop results from these sites.",
            "items": {
              "type": "string"
            }
          },
          "forceExactMatch": {
            "title": "Exact match",
            "type": "boolean",
            "description": "Search each query as an exact phrase (wrapped in quotes).",
            "default": false
          },
          "wordsInTitle": {
            "title": "Words in title",
            "type": "array",
            "description": "Every result must have these words in the title (intitle:).",
            "items": {
              "type": "string"
            }
          },
          "wordsInText": {
            "title": "Words in text",
            "type": "array",
            "description": "Every result must have these words in the page text (intext:).",
            "items": {
              "type": "string"
            }
          },
          "wordsInUrl": {
            "title": "Words in URL",
            "type": "array",
            "description": "Every result must have these words in the address (inurl:).",
            "items": {
              "type": "string"
            }
          },
          "fileTypes": {
            "title": "File types",
            "type": "array",
            "description": "Only files of these types: pdf, doc, docx, xls, xlsx, ppt, pptx, txt, csv...",
            "items": {
              "type": "string"
            }
          },
          "relatedToSite": {
            "title": "Related to site",
            "type": "string",
            "description": "Pages similar to this site, e.g. 'nytimes.com' (related:). Ignored when 'Only these domains' is set."
          },
          "includeUnfilteredResults": {
            "title": "Include filtered results",
            "type": "boolean",
            "description": "Ask Google to also return the near-duplicate results it normally hides (filter=0).",
            "default": false
          },
          "aiOverview": {
            "title": "Google AI Overview",
            "type": "boolean",
            "description": "Return Google's AI Overview text and sources when Google shows one (no extra cost).",
            "default": true
          },
          "aiAnswers": {
            "title": "AI answers",
            "type": "array",
            "description": "Ask these AI assistants the same query, each with its own live web search, and add their answer and cited sources next to the results (aiAnswers). Charged per answer delivered. Google AI Mode and Microsoft Copilot have a daily capacity; Copilot takes 15 to 40 s per answer.",
            "items": {
              "type": "string",
              "enum": [
                "chatgpt",
                "perplexity",
                "claude",
                "gemini",
                "aimode",
                "copilot"
              ],
              "enumTitles": [
                "ChatGPT (OpenAI)",
                "Perplexity",
                "Claude (Anthropic)",
                "Gemini (Google)",
                "Google AI Mode",
                "Microsoft Copilot"
              ]
            }
          },
          "fetchContent": {
            "title": "Read the top N pages as Markdown",
            "minimum": 0,
            "maximum": 10,
            "type": "integer",
            "description": "Also open the top N merged results and return each page's main text as clean Markdown (navigation, ads and footers removed), ready for an LLM or RAG. 0 = off. Charged per page that came back with text (event page-content); refused, empty and non-HTML pages are free.",
            "default": 0
          },
          "maxContentChars": {
            "title": "Maximum Markdown characters per page",
            "minimum": 1000,
            "maximum": 100000,
            "type": "integer",
            "description": "Longer pages are cut at this size and marked truncated=true.",
            "default": 20000
          },
          "outputFormats": {
            "title": "Page content formats",
            "type": "array",
            "description": "Formats for the page content read with 'Read top pages': markdown, text, html.",
            "items": {
              "type": "string",
              "enum": [
                "markdown",
                "text",
                "html"
              ],
              "enumTitles": [
                "Markdown",
                "Plain text",
                "HTML"
              ]
            },
            "default": [
              "markdown"
            ]
          },
          "requestTimeoutSecs": {
            "title": "Page read timeout",
            "minimum": 5,
            "maximum": 60,
            "type": "integer",
            "description": "Seconds to wait for each page read with 'Read top pages' (5 to 60).",
            "default": 25
          },
          "scrapingTool": {
            "title": "Page reader",
            "enum": [
              "auto",
              "raw-http",
              "browser-playwright"
            ],
            "type": "string",
            "description": "How pages are read: auto (fast HTTP first, a real browser when the page needs JavaScript or refuses), raw-http (HTTP only, fastest) or browser-playwright (browser only).",
            "default": "auto"
          },
          "dynamicContentWaitSecs": {
            "title": "Wait for dynamic content",
            "minimum": 0,
            "maximum": 20,
            "type": "number",
            "description": "Seconds the browser waits after the page loads, for content drawn by JavaScript (0 to 20).",
            "default": 2.5
          },
          "removeElementsCssSelector": {
            "title": "Remove elements",
            "type": "array",
            "description": "CSS selectors of parts to drop before reading the text, e.g. nav, footer, .ads.",
            "items": {
              "type": "string"
            }
          },
          "removeCookieWarnings": {
            "title": "Remove cookie warnings",
            "type": "boolean",
            "description": "Drop cookie and consent banners before reading the text.",
            "default": true
          },
          "includeHtml": {
            "title": "Save results page HTML",
            "type": "boolean",
            "description": "Add the raw HTML of each engine's first results page to the item (html).",
            "default": false
          },
          "includeIcons": {
            "title": "Site icons",
            "type": "boolean",
            "description": "Add each result's site icon as a small image (icon, data URI).",
            "default": false
          },
          "maximumLeadsEnrichmentRecords": {
            "title": "Leads per site",
            "minimum": 0,
            "maximum": 10,
            "type": "integer",
            "description": "Find up to this many people who work at each result's site (public LinkedIn results): name, role, department, seniority, LinkedIn link and the e-mail by the domain's pattern. 0 turns it off. Charged per lead.",
            "default": 0
          },
          "leadsEnrichmentDepartments": {
            "title": "Lead departments",
            "type": "array",
            "description": "Only leads from these departments. Empty: all.",
            "items": {
              "type": "string",
              "enum": [
                "c_suite",
                "product",
                "engineering_technical",
                "design",
                "education",
                "finance",
                "human_resources",
                "information_technology",
                "legal",
                "marketing",
                "medical_health",
                "operations",
                "sales",
                "consulting"
              ],
              "enumTitles": [
                "C-suite",
                "Product",
                "Engineering Technical",
                "Design",
                "Education",
                "Finance",
                "Human Resources",
                "Information Technology",
                "Legal",
                "Marketing",
                "Medical Health",
                "Operations",
                "Sales",
                "Consulting"
              ]
            }
          },
          "leadsMaxDomains": {
            "title": "Sites to find leads for",
            "minimum": 1,
            "maximum": 10,
            "type": "integer",
            "description": "How many distinct sites from the top results get leads (1 to 10).",
            "default": 5
          },
          "verifyLeadsEnrichmentEmails": {
            "title": "Verify e-mails",
            "type": "boolean",
            "description": "Check the e-mails found on the pages read ('Read top pages'): syntax, mail server, disposable, role address and, when available, the mailbox. Charged per conclusive check.",
            "default": false
          },
          "brandName": {
            "title": "Link prospecting: brand name",
            "type": "string",
            "description": "Your brand. Every page cited for the query (results, AI Overview sources, AI answer sources) is read and marked isBrandMentionedInSource; pages that do not mention you get leads for outreach (with 'Leads per site'). Empty turns it off."
          },
          "ownDomains": {
            "title": "Link prospecting: own domains",
            "type": "array",
            "description": "Your own sites, left out of link prospecting (subdomains too).",
            "items": {
              "type": "string"
            }
          },
          "ignoredDomains": {
            "title": "Link prospecting: ignored domains",
            "type": "array",
            "description": "Sites to leave out of link prospecting, such as competitors or directories.",
            "items": {
              "type": "string"
            }
          },
          "prospectMaxPages": {
            "title": "Link prospecting: pages per query",
            "minimum": 1,
            "maximum": 20,
            "type": "integer",
            "description": "How many cited pages to check per query (1 to 20). Each page read is one page-content charge.",
            "default": 10
          },
          "resolveSeconds": {
            "title": "Seconds to resolve Google links",
            "minimum": 3,
            "maximum": 30,
            "type": "integer",
            "description": "Google hides most result links behind redirects. We match them with the other engines and follow the rest for up to this many seconds per query (3-30). Links still unresolved come with urlResolved=false and the displayed URL.",
            "default": 10
          },
          "maxSecondsPerQuery": {
            "title": "Time limit per query (seconds)",
            "minimum": 0,
            "maximum": 300,
            "type": "integer",
            "description": "Stop each query after this many seconds and return what came back; AI answers, pages and leads not back by then are left out and not charged. 0 = no limit.",
            "default": 0
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}