{
  "openapi": "3.0.1",
  "info": {
    "title": "Search Results Scraper (SERP): Bing Rank Tracker",
    "description": "No login or cookies needed. Scrapes Bing search results for your phrases and gives each page's rank, with your domain's best position per phrase. Good for quick serp scraper and rank checks. DuckDuckGo and Google can be added as experimental engines, but from data-center addresses they often show a",
    "version": "0.1",
    "x-build-id": "Ov1l8CZdEDweb8C2F"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/h1018y~anvil-google-search-search-results/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-h1018y-anvil-google-search-search-results",
        "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/h1018y~anvil-google-search-search-results/runs": {
      "post": {
        "operationId": "runs-sync-h1018y-anvil-google-search-search-results",
        "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/h1018y~anvil-google-search-search-results/run-sync": {
      "post": {
        "operationId": "run-sync-h1018y-anvil-google-search-search-results",
        "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 phrases",
            "type": "array",
            "description": "One search phrase per line, exactly as you would type it, e.g. best vpn. A single text with line breaks also works.",
            "items": {
              "type": "string"
            }
          },
          "engines": {
            "title": "Search engines",
            "type": "array",
            "description": "bing (works every time). duckduckgo and google are experimental: they often show a human check from data-center addresses, then that engine is skipped, listed in enginesFailed, and the others still return. For a site: phrase the backup engine fills in when the first one ignored the site.",
            "default": [
              "bing"
            ],
            "items": {
              "type": "string"
            }
          },
          "resultsPerEngine": {
            "title": "Results per engine",
            "minimum": 1,
            "maximum": 30,
            "type": "integer",
            "description": "Results kept per engine and phrase, e.g. 10. Above 10 the next pages are read as well.",
            "default": 10
          },
          "country": {
            "title": "Country code",
            "type": "string",
            "description": "Two-letter country code the search is made from, e.g. us, gb or de.",
            "default": "us"
          },
          "trackDomain": {
            "title": "Domain to track",
            "type": "string",
            "description": "Optional, e.g. example.com. Every row says whether it is yours and your best position."
          },
          "maxItems": {
            "title": "Max result rows",
            "minimum": 1,
            "maximum": 5000,
            "type": "integer",
            "description": "Stop after this many result rows in total, a whole number, e.g. 50.",
            "default": 100
          },
          "useApifyProxy": {
            "title": "Use Apify Proxy",
            "type": "boolean",
            "description": "Recommended: true uses Apify Proxy, which helps Google and DuckDuckGo. Experimental engines may need a residential proxy.",
            "default": true
          },
          "proxyGroups": {
            "title": "Proxy groups",
            "type": "array",
            "description": "Optional list of Apify proxy groups to use, for example RESIDENTIAL when an engine shows a human check.",
            "items": {
              "type": "string"
            }
          },
          "onlyNew": {
            "title": "Only new or moved results",
            "type": "boolean",
            "description": "Return only results that are new or changed position since the last run with the same input. Use it on a schedule to watch rankings.",
            "default": false
          },
          "maxPagesPerQuery": {
            "title": "Pages per query (alias)",
            "minimum": 1,
            "maximum": 10,
            "type": "integer",
            "description": "Pages of results per phrase, the same name the Google scrapers use, e.g. 3. One page is about 10 results. When set it wins over Results per engine. Pages after the first take longer."
          },
          "countryCode": {
            "title": "Country code (alias)",
            "type": "string",
            "description": "Same as Country code, under the name other Google scrapers use, e.g. de. Wins when both are set."
          },
          "languageCode": {
            "title": "Page language",
            "type": "string",
            "description": "Two-letter language of the search page, e.g. de. Empty means en."
          },
          "searchLanguage": {
            "title": "Results language",
            "type": "string",
            "description": "Two-letter language the result pages must be in, e.g. de. Empty means any language."
          },
          "site": {
            "title": "Only this site",
            "type": "string",
            "description": "Keep only this site's pages, e.g. instagram.com. Subdomains count; other domains are dropped and counted in offSiteDropped."
          },
          "relatedToSite": {
            "title": "Related to site",
            "type": "string",
            "description": "Pages related to this site, e.g. example.com. Ignored when Only this site is set."
          },
          "wordsInTitle": {
            "title": "Words in title",
            "type": "array",
            "description": "Words the page title must have (intitle:), one per line, e.g. review.",
            "items": {
              "type": "string"
            }
          },
          "wordsInText": {
            "title": "Words in text",
            "type": "array",
            "description": "Words the page text must have (intext:), one per line, e.g. pricing.",
            "items": {
              "type": "string"
            }
          },
          "wordsInUrl": {
            "title": "Words in address",
            "type": "array",
            "description": "Words the page address must have (inurl:), one per line, e.g. blog.",
            "items": {
              "type": "string"
            }
          },
          "fileTypes": {
            "title": "File types",
            "type": "array",
            "description": "Only these file types (filetype:), one per line, e.g. pdf.",
            "items": {
              "type": "string"
            }
          },
          "forceExactMatch": {
            "title": "Exact phrase",
            "type": "boolean",
            "description": "Search the phrase in quotes, word for word, e.g. best vpn becomes \"best vpn\".",
            "default": false
          },
          "quickDateRange": {
            "title": "Quick date range",
            "type": "string",
            "description": "Only recent pages: d7 is 7 days, w2 two weeks, m6 six months, y1 one year. Wins over the two dates below."
          },
          "afterDate": {
            "title": "After date",
            "type": "string",
            "description": "Only pages from after this date, e.g. 2026-05-03, or 3 months for three months ago."
          },
          "beforeDate": {
            "title": "Before date",
            "type": "string",
            "description": "Only pages from before this date, e.g. 2026-05-03, or 8 days for eight days ago."
          },
          "searchTab": {
            "title": "Search tab",
            "enum": [
              "web",
              "shortVideos"
            ],
            "type": "string",
            "description": "web for normal results, shortVideos for short clips with websiteTitle, channelName and videoLength. A pasted Google address with udm=39 picks it too.",
            "default": "web"
          },
          "skipGotoResolve": {
            "title": "Skip following Google links",
            "type": "boolean",
            "description": "Google engine only: true keeps Google's /goto links as they are (urlResolved false). It is faster, e.g. when you only need ranks.",
            "default": false
          },
          "queryTimeoutSeconds": {
            "title": "Time limit per phrase (seconds)",
            "minimum": 10,
            "maximum": 600,
            "type": "integer",
            "description": "A phrase that takes longer is cut off with what it has and the run goes on, e.g. 60. Three unreadable phrases at the start end the run.",
            "default": 90
          },
          "aiOverview": {
            "title": "Google AI Overview (accepted, not done)",
            "type": "object",
            "description": "Saved inputs keep working, e.g. {}. This add-on is not done here: when switched on it is named in ignoredOptions on each row.",
            "default": {}
          },
          "aiModeSearch": {
            "title": "Google AI Mode (accepted, not done)",
            "type": "object",
            "description": "Saved inputs keep working, e.g. {}. This add-on is not done here: when switched on it is named in ignoredOptions on each row.",
            "default": {}
          },
          "geminiSearch": {
            "title": "Gemini (accepted, not done)",
            "type": "object",
            "description": "Saved inputs keep working, e.g. {}. This add-on is not done here: when switched on it is named in ignoredOptions on each row.",
            "default": {}
          },
          "perplexitySearch": {
            "title": "Perplexity (accepted, not done)",
            "type": "object",
            "description": "Saved inputs keep working, e.g. {}. This add-on is not done here: when switched on it is named in ignoredOptions on each row.",
            "default": {}
          },
          "chatGptSearch": {
            "title": "ChatGPT (accepted, not done)",
            "type": "object",
            "description": "Saved inputs keep working, e.g. {}. This add-on is not done here: when switched on it is named in ignoredOptions on each row.",
            "default": {}
          },
          "copilotSearch": {
            "title": "Copilot (accepted, not done)",
            "type": "object",
            "description": "Saved inputs keep working, e.g. {}. This add-on is not done here: when switched on it is named in ignoredOptions on each row.",
            "default": {}
          },
          "linkProspecting": {
            "title": "Link prospecting (accepted, not done)",
            "type": "object",
            "description": "Saved inputs keep working, e.g. {}. This add-on is not done here: when switched on it is named in ignoredOptions on each row.",
            "default": {}
          },
          "maximumLeadsEnrichmentRecords": {
            "title": "Leads per domain (accepted, not done)",
            "minimum": 0,
            "type": "integer",
            "description": "Saved inputs keep working, e.g. 0. No personal contact data is collected: a value above 0 is named in ignoredOptions.",
            "default": 0
          },
          "leadsEnrichmentDepartments": {
            "title": "Lead departments (accepted, not done)",
            "type": "array",
            "description": "Saved inputs keep working, e.g. sales. No personal contact data is collected here.",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "verifyLeadsEnrichmentEmails": {
            "title": "Verify lead emails (accepted, not done)",
            "type": "boolean",
            "description": "Saved inputs keep working, e.g. false. No e-mail addresses are collected or checked here.",
            "default": false
          },
          "dedupeAcrossQueries": {
            "title": "Return a page only once per run",
            "type": "boolean",
            "description": "On: a result address already returned for an earlier phrase in this run is not returned (and not billed) again. Off: it comes again, marked alsoFoundEarlier.",
            "default": false
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}