Official scripts
Explore our curated collection of scripts
Get current Semrush user
Returns the Semrush account currently signed in: user id, email, name and sign-up date.
Semrush login (Google SSO)
Log into Semrush with Sign in with Google, handling the Google account chooser and consent screen. Returns straight away if you are already signed in, and reports the Semrush account email. Optionally pass which Google account to use. Needs a browser that is already signed in to Google.
Get Semrush Site Audit errors and warnings
List every error, warning and notice from the latest Semrush Site Audit of a project, with how many times each issue occurs. Pass a project id, or omit it to use your first Site Audit project.
Get Trustpilot company reviews
Get one page (20) of a company's Trustpilot reviews: author, rating, title, text, dates, likes, verification and the company's reply. Supports the site's own filters as args (page, sort, stars, language, keyword search, verified, date range). Defaults to returning reviews in every language so none are silently filtered out by locale.
Yahoo web search
Search the web with Yahoo Search and get one page of organic results: each result's position, title, link, displayed site and snippet. Sponsored results are left out. Page through results with the page number.
Subscribe to Substack publication
Subscribe the logged-in account to a Substack publication's free tier.
Get Similarweb website traffic overview
Fetch a website's traffic overview from Similarweb: global/country/category rank, bounce rate, pages per visit, avg visit duration, and company profile fields. No login required.
Like Substack post
Like a Substack post as the logged-in account.
Get Similarweb competitors and similar sites
Read a website's competitors / similar sites from its public Similarweb overview page: competitor domain, affinity percent, category and category rank. No login required. Returns the ~10 competitors the anonymous page renders; the section's "See all competitors" expander leads to gated Similarweb product pages, so that is the anonymous ceiling. available:false means Similarweb has no report for that domain.
Search TopTex products
Search toptex.fr for products by free-text query. Returns one page of products (reference, name, brand, color, from-price, image, PDP url); page is 0-based. Catalogue prices are public, so no login is required.
Get Trustpilot company profile
Get a Trustpilot company profile: TrustScore, stars, review count, full 1-5 star rating distribution, categories, breadcrumb, contact info, claim status and reply behavior. Input is the domain key (e.g. "amazon.com"); the resolved identifyingName is returned (may differ via redirect).
Get Reddit user comments
Fetch a Reddit user's recent comments from their profile Comments tab (with or without u/ prefix). Returns subreddit, post title/url, comment body/permalink, score, timestamp, and stickied flag. Scrolls to load more when limit exceeds one page.
Search Threads posts
Search Threads for posts matching a keyword, hashtag, or topic and return the matching posts with author, text, and engagement counts.
Get SeLoger listing
Fetch a SeLoger property detail page by URL. Returns propertyType, deal, price, pricePerSqm, surface, rooms, bedrooms, floor, location, postalCode, dpe, ges, agency, co-ownership details, and images. Most fields are nullable since not every listing publishes them; energy rating, floor, and co-ownership lots/fees are often missing.
Get YC company profile
Get one YC company's full public profile (ycombinator.com/companies/<slug>): pitch, batch/status, founders, socials, open jobs, news, launches, photos, founder Q&A.
Get Indeed company reviews
Get Indeed employee reviews for a company by its Indeed company slug (e.g. "Google", as it appears in indeed.com/cmp/<slug>), plus the overall rating and detailed-category ratings (work-life balance, pay and benefits, job security, management, culture). Anonymous, read-only.
Get Trustpilot category companies
List one page of companies ranked in a Trustpilot category (categoryId from get_categories). Supports the site's own filters as args: page, sort (recommended/reviews_count/latest_review), country, trustscore (3.0/4.0/4.5), claimed. Returns each company's domain, TrustScore, stars, review count, location, contact, categories.
Like YouTube video
Like a YouTube video — has no effect if it's already liked.
Etsy search listings
Searches Etsy listings by keyword and returns title, price, availability, brand/shop and image for each result, with a total match count.
Get trending Reddit posts
List Reddit's trending threads from the r/popular (or r/all) feed, with optional sort. Returns url, title, subreddit, author, score, comment count, date and displayed text per thread.
Get Substack post
Fetch a single Substack post by its URL: title, subtitle, author, publish date, paywall status, full HTML body (when accessible), word count, and reaction/comment/restack counts.
Get TopTex product
Fetch a single toptex.fr product by reference (e.g. IB297): name, brand, description, every colorway, every size with its public catalogue unit price, images, fabric/composition and certifications. No login required.
Get Reddit user profile
Fetch a Reddit user's profile by their username (with or without the u/ prefix). Returns username, display_name, description, karma, contributions, reddit_age, and recent posts and comments (type, title, text, subreddit, score, created, url).
Get eBay seller storefront details
Fetch an eBay seller's storefront: name, positive feedback percentage, items sold, and follower count. No login required.
Search Reddit
Search posts across all of Reddit (no subreddit restriction), with optional sort and time window. Returns count and threads (each with id, url, title, author, subreddit, score, num_comments, created, nsfw, preview_text). `limit` is a maximum: fewer matching posts than requested returns however many exist. Useful to discover which subreddits discuss a topic. The sort changes how relevant the results are: `top` orders Reddit's matches by score, and because Reddit matches loosely, a heavily upvoted post only tangentially related to the query can outrank the genuine matches. That is Reddit's own ranking, returned as-is. Use the default `relevance` sort when on-topic results matter, and treat a non-zero count under `top` as "Reddit returned something", not as proof the posts are about the topic. Reddit refuses connections from datacenter addresses, so this works as-is on your own browser; on a hosted cloud browser the session has to be given a country so it exits through a residential address, otherwise Reddit blocks it and the script says so.
