Free Software: - Find your position on Google SERPS


Aug 11, 2023

Reveal SERPS Position on Google.

> python .\ --url "" --keyword "best car deals"
You rank 10 for: with keyword: best car deals
You rank 49 for: with keyword: best car deals

This software is simple, simply copy it into a .py file ( If you want an .exe that runs on Windows, let me know and I will PM, or do it yourself with:

pyinstaller --onefile

If you encounter bugs or something isn't working right, let me know.

import argparse
from typing import List, Tuple, Any
import mechanize
import re

class GoogleRank:
    def __init__(self, url: str, rank_url: str, keyword: str) -> None:
        self.search_url: str = url
        self.rank_url: str = rank_url
        self.rank_keyword: str = keyword mechanize.Browser = mechanize.Browser()
        self.useragent: List[Tuple[str, str]] = [
            ('User-agent', 'Mozilla/5.0 (Windows NT 10.0; WOW64; Trident/7.0; rv:11.0) like Gecko')
        ] = self.useragent

    def get_serp_links(self) -> List[str]: + self.rank_keyword)
        response =
        links = re.findall(r'href="/url\?.*?"><', str(response))

        parsed_link: List[str] = []
        for link in links:
            split_link = link.split('=')
            split_link = link.split('https://')
            split_link = split_link[1].split('&')

        return parsed_link

    def get_rank(self) -> Tuple[List[str], List[str]]:
        i: int = 1
        ranked: List[str] = []
        full_serp: List[str] = []
        links: List[str] = self.get_serp_links()
        for link in links:
            if self.rank_url in link:
                text: str = f"You rank {i} for: {link} with keyword: {self.rank_keyword}"

                full_serp.append(f"{i}: {link}")
            i += 1
        return ranked, full_serp

def main() -> None:
    parser: argparse.ArgumentParser = argparse.ArgumentParser(description="Get Google SERP rank in top 100.")
    parser.add_argument('--url', '-u', required=True, type=str,
                        default=None, dest="rank_url",
                        help="Provide a full URL which you'd like to check on Google SERPS (e.g.")
    parser.add_argument('--keyword', '-k', required=True, type=str,
                        default=None, dest='keyword',
                        help='Provide a keyword phrase (e.g. best car deals).')
    args: argparse.Namespace = parser.parse_args()

    goog: GoogleRank = GoogleRank("", args.rank_url, args.keyword)
    ranked: List[str] = goog.get_rank()[0]
    full_serp: Any = goog.get_rank()[1]

    if ranked:
        for position in ranked:

if __name__ == "__main__":
Is it possible to expand the search to e.g. 300 items to check increasing keywords?
Yeah it should be but I won't be updating this script for right now. I.e. will require more work on the source code

Can you share the .exe file here for windows.
Your software can search first 1000 result?

I will PM you as they won't accept the link here. I'll need to build up my post count first though, so hang in there.

It does top 100 results only on Google.

Write an Android application or program for Windows.
It's helpful and easy to use for all members.

You can run this one under cmd/powershell/from an ide like PyCharm. You'll need to have Python installed though until I can get you the link in PM.
AdBlock Detected

We get it, advertisements are annoying!

Sure, ad-blocking software does a great job at blocking ads, but it also blocks useful features and essential functions on BlackHatWorld and other forums. These functions are unrelated to ads, such as internal links and images. For the best site experience please disable your AdBlocker.

I've Disabled AdBlock