Official scripts
Explore our curated collection of scripts
Like Substack post
Like a Substack post as the logged-in account.
Subscribe to Substack publication
Subscribe the logged-in account to a Substack publication's free tier.
Unlike Substack post
Remove the logged-in account's like from a Substack post.
Unsubscribe from Substack publication
Unsubscribe the logged-in account from a Substack publication.
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.
Substack whoami (signed-in account)
Report which Substack account this browser is signed in as: the @handle, display name, email and numeric user id. When the browser is signed out, the run fails with a signed-out error that says to sign in to Substack.
List Substack newsletter posts
List a Substack publication's posts from its archive, newest or top first, with optional keyword search and pagination. Returns each post's title, slug, publish date, paywall status, and reaction/comment/restack counts.
Post Substack comment
Post a comment on a Substack post as the logged-in account. The account needs a display name set up on Substack first (via any post's comment box) — the script fails loudly with instructions if it isn't.
Get Substack post comments
Get the comments on a Substack post by its URL, including nested replies. Supports sorting by top reactions or newest first. Returns each comment's author, text, date, reaction count, and reply thread.
Delete Substack comment
Delete one of the logged-in account's own comments on a Substack post, by the post URL and the comment's id (from post_comment or get_post_comments). Only your own comments can be deleted, and this cannot be undone.
Get Reddit subreddit info
Fetch a subreddit's metadata: title, description, created date, weekly visitors and contributions, its type (public, restricted…), every rule (title and body), and its full moderator list with each moderator's permissions and join date. A banned or private subreddit returns its status and nothing else; an unknown name throws. The moderator list is null when Reddit does not show it to the browser's session.
Craigslist unofficial API: get a Craigslist apartment listing
An unofficial Craigslist API for one apartment listing: address, rent, photos, amenities and the full description as data, from its link. Read one Craigslist housing listing (an apartment, a room or a sublet) from its link, as returned by search_housing. Returns the post id, title, asking rent, the size line (bedrooms and square feet), neighborhood, street address and ZIP code when the poster gave them, map coordinates, bedrooms, bathrooms, whether pets and smoking are allowed, every amenity the listing shows (rent period, laundry, parking, housing type, cats and dogs, furnished, availability date and others), the full description, all photo links, and when it was posted and last updated. A listing that the poster deleted or Craigslist removed comes back as not found rather than as an error. Phone numbers the poster hid behind the site's contact button are not revealed.
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 Reddit subreddit threads
List a subreddit's threads by Reddit's native sort (best/hot/new/top/rising). "new" is chronological (filter with `since`); "top" takes a `time` window (hour…all); others paginate by `limit`. Returns url, title, author, score, num_comments, created, post_type, and body — the post's full text (never truncated; null for link/image posts). `limit` is a maximum, not a guarantee: fewer matching threads returns what exists.
Join subreddit
Join (subscribe to) a subreddit by name. If you're already a member, nothing changes and changed is returned as false. Runs only via the browser extension, not the hosted cloud browser.
Submit Reddit post
Create a text post (thread) in a subreddit. Returns the new post's ID, subreddit and URL. Posts a real thread under the logged-in account; text posts only (no link/image); some subreddits require a flair and will block the post. Runs only via the browser extension, not the hosted cloud browser.
Search Reddit threads in a subreddit, with post text
Search one subreddit for a query and get one page of matching threads in Reddit's order, each with title, subreddit, permalink, upvotes, comment count, creation time, flair and the post's full text. Sort and time window are configurable; pass the returned after value to read the next page (null on the last one). Requires being signed in to Reddit. A subreddit that refuses the search (private, banned) fails with its HTTP status. To search several subreddits or queries, run the script once per pair.
List Discord channels
Lists a Discord server's channels and categories from its sidebar (name, channelId, category, channel URL). Takes a guildId. Requires being logged in.
List Discord servers
Lists the Discord servers the logged-in account has access to (name + guildId), read from the server sidebar. Requires being logged in.
Ahrefs unofficial API: get keyword ideas with search volume
An unofficial Ahrefs keyword API: keyword and question ideas for a seed, with monthly search volume and difficulty, free, no account. Get keyword ideas for a seed keyword from Ahrefs' free keyword generator, with each one's monthly Google search volume range and ranking difficulty in a chosen country. Returns the first 20 keywords that contain the seed, the first 20 phrased as questions, and how many of each Ahrefs knows in total. Volume comes as a range, as the free tool shows it: fewer than 100, or more than 100, 1,000, 10,000 or 100,000 searches a month. No login required. Run seeds one after another on one browser: several at once from the same browser can go unanswered.
Search meteoblue locations
Search meteoblue's location index by place name, as its search box does, and get one page of matching places in meteoblue's order: name, region, country, coordinates, timezone, id and the location url that meteoblue.com/get_14day_forecast takes. Pass page to read further pages; an unknown name returns an empty list.
Get Reddit home feed
Get the signed-in account's own Reddit home feed (reddit.com/?feed=home), one page at a time — its mix of subscribed communities and Reddit's recommendations, in the order the feed serves them, promoted slots included. Not r/popular: use get_trending for the cross-Reddit trending feed. Returns per item id, url, title, subreddit, author, created, score, num_comments, upvote_ratio, post_type, content_href, body, plus is_subscribed (the post comes from a community you joined, as opposed to a recommendation) and is_promoted (an ad slot). An ad carries no subreddit, since it is posted from a user profile rather than a community. sort takes the feed's own five orders; time is Reddit's window on the top sort. Each call returns one page as Reddit serves it (its size is Reddit's) and a nextCursor: pass it as cursor, with the same sort and time, for the next page; it is null when the feed has no more.
List job board postings
List every open position on an Ashby-hosted job board (jobs.ashbyhq.com/<board>).
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.
Search TheFork restaurants near a coordinate
Search TheFork restaurants near a lat/lng, one page (site paginates 25/page). Returns pagination (totalCount/totalPage/hasNext) and per-restaurant: name, address, coords, distanceM from the input point, theforkRating (/10) plus reviews, avgPriceEur, priceRangeLevel, cuisine, promoPct (max %% discount in deals) and raw deals, url. Results come back in the site's default quality order, not by distance, so filter by distanceM caller-side and loop `page` to totalPage.
