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.
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.
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.
Substack whoami (signed-in account)
Report which Substack account this browser is signed in as: the @handle, display name, email and numeric user id. 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 Substack scripts.
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 subreddit info
Fetch a subreddit's metadata from its page: title, description, weekly active users / contributions, created date, visibility, rules (title + body), and the full moderator list (username, permissions, joined). Banned/private subs return status with detail; unknown subs throw.
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 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.
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.
Search Reddit threads across several subreddits with a list of queries
Run several search queries across one or more subreddits in a single pass and get back the matching threads, deduplicated across queries and subreddits: title, subreddit, permalink, upvotes, comment count, creation date, flair, and the opening of the post body. Each thread also lists which of your queries matched it, and results are ordered by how many queries matched, then by upvotes. Sort and time window are configurable, and any query that a subreddit refuses is reported separately instead of failing the whole run.
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.
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.
Get Reddit home feed
Get the signed-in account's own Reddit home feed (reddit.com/?feed=home) — 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. count is a maximum — a feed that stops loading returns what it served.
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.
Top Hacker News stories
Read the top N stories from the Hacker News front page: rank, title, url, points, comments_count and a link to the discussion. The front page lists about 30 stories, so an n above that caps out rather than paginating. A story nobody has commented on yet reports 0 comments; YC job posts carry neither a score nor a discussion, so their points and comments_count are null. If Hacker News is throttling requests from your address, the script says so instead of returning a partial list.
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.
List job board postings
List every open position on an Ashby-hosted job board (jobs.ashbyhq.com/<board>).
