Official scripts
Explore our curated collection of scripts
Surfshark login (Google SSO)
Log into your Surfshark account with Google sign-in, handling the cookie banner, the Google account chooser and the confirm screen, and land on the account dashboard. Returns straight away if already signed in, and reports the account email. Optionally pass which Google account to use.
Surfshark whoami (signed-in account)
Report which Surfshark account this browser is signed in as: the account email. Being signed out is reported as a normal answer (loggedIn false), not an error, so it can be used to check a session before running other Surfshark scripts.
List Surfshark invoices/receipts
List Surfshark payment receipts from your account's subscription payments page. Returns total and invoices (id, purchase, date, amount, status) — metadata only. Feed a row's id to surfshark.com/download_invoice to get that receipt's PDF. Works regardless of the account's display language.
Download Surfshark receipt
Download a single Surfshark payment receipt PDF by order id (from surfshark.com/list_invoices). Returns the PDF bytes as base64 plus a filename.
Surfshark login (Google SSO)
Log into Surfshark (my.surfshark.com) via Google SSO: dismisses the cookie banner, drives the OAuth redirect (account chooser + consent confirm) and lands on the account dashboard.
Surfshark whoami (signed-in account)
Report which Surfshark account this browser is signed in as: the account email. Being signed out is reported as a normal answer (loggedIn false), not an error, so it can be used to check a session before running other Surfshark scripts.
Like a TikTok video
Like a TikTok video (as the logged-in account) by URL or id. Safe to repeat: it does nothing if you already liked it.
Search Dribbble shots
Search Dribbble shots by keyword, returning title, url, owner, thumbnail, likes and views for each result.
Like YouTube video
Like a YouTube video — has no effect if it's already liked.
Raycast — search Store extensions
Search the Raycast Store for extensions by keyword: each result's id, slug, title, description, Store URL, author handle and name, download count, supported platforms (macOS / Windows), categories and creation date. Public data, no sign-in needed. A search with no matches returns an empty list.
Like Substack post
Like a Substack post as the logged-in account.
Craigslist unofficial API: search Craigslist apartments for rent
An unofficial Craigslist scraper API for apartment listings: search apartments, rooms and sublets for rent in any city, newest first, filtered by rent, bedrooms, pets and distance, as data in one call. Run it every few minutes to catch new listings first. Search Craigslist's housing-for-rent listings in any Craigslist city (the SF Bay Area by default, or one part of it such as San Francisco, East Bay or Peninsula), for whole apartments, rooms in shared homes, or sublets. Filter by keywords, rent, bedrooms, bathrooms, square feet, cats or dogs allowed, furnished, listings with photos, listings posted today, and distance from a ZIP code; sort by newest or by price. Each result gives the listing link, title, asking rent, neighborhood, city, bedrooms, bathrooms and map coordinates. One search returns up to the newest few hundred matches and says whether that is all of them; when it is not, narrow the filters to reach the rest. Pass a listing link to get_housing_listing for the full description, address, photos and amenities.
Get TikTok related videos
Get the “you may like” related-video recommendations shown next to a TikTok video (a single ~12-item snapshot, not a paginable list).
Get Dribbble shot
Fetch a Dribbble shot's details from its url: title, description, owner, images and comment count.
Capture a page as a PNG
Screenshot any URL (not limited to Reddit) at a pinned viewport width and pixel density, and save it to the machine's Downloads folder as a real browser download. Runs signed in when the target host has a session, so Reddit captures have no cookie banner and no logged-out login panel. fullPage:true captures the whole scrollable page for assets that need scrolling; pass clipHeight to bound a very long page. Returns the filename, size in bytes, image width and height, and the page title. Confirmed on reddit.com: capturing while signed OUT triggers Reddit's bot detection (tab gets detached non-deterministically); once the device is actually logged into Reddit, both fullPage and viewport-only captures are clean.
Unlike a TikTok video
Remove your like from a TikTok video (as the logged-in account) by URL or id. Safe to repeat: it does nothing if you haven't liked it.
Get YouTube channel stats
Get a YouTube channel's stats and profile from a @handle, channel id (UC...) or channel URL. Returns channel_id, handle, name, description, subscribers, video_count, view_count, joined, country, channel_url, avatar, rss_url, is_family_safe, keywords and links. Subscribers is the abbreviated public figure (e.g. 4.51m becomes 4510000, approximate), while video_count and view_count are exact; joined is a display string (e.g. "1 Feb 2015") and each link's url is the display host without scheme.
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.
Raycast login (Google SSO)
Log into your Raycast account on raycast.com with Google sign-in, handling Google's account chooser and consent screen. Returns straight away if this browser is already signed in, and reports the Raycast account email. Optionally pass which Google account to use. Needs a browser already signed in to Google and a Google account that already has a Raycast account.
Get Medium author's posts
List an author's published posts on Medium (from their profile Home tab): title, URL, tags, claps, read time, published date, and whether locked (member-only). No login required.
Search Tripadvisor
Search Tripadvisor's typeahead for places (restaurants, hotels, attractions, cities): name, location id, address, coordinates, and place type. No login required.
Get App Store app reviews
Read an App Store app's customer reviews and aggregate rating from its public "Ratings & Reviews" page, for any storefront country. Returns averageRating, the site's own ratings-count text, and the reviews the page renders (id, title, rating 1-5, author, ISO date, full body). Anonymous, read-only. Apple's web page serves a fixed first page of ~10 reviews and exposes no pagination, offset or sort control at all, so that is the ceiling — deeper history is not a web affordance.
Search Pinterest boards
Searches Pinterest boards by keyword and returns the first page of results (name, url, pin count, cover images, owner). Read-only, no login required; Pinterest serves a reduced anonymous result set.
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.
Search TikTok videos
Search TikTok videos by keyword, newest-relevance order, up to `count`.
