Hex Packages Scraper
Spider read hex.pm in 183 ms without a browser and returned 261 lines of clean markdown, including the section "Most Downloaded".
Specify your Mix dependencies as two-item tuples likeFetch dependencies from Hex without creating an account. Hex is usable out of the box in Elixir withfor commonly asked questions.and follow the publishing guide.Your package will be immediately available to all Elixir and Erlang users and the documentation will be available on HexDocs.Publish private packages by creating an organization.Private packages cost $9 / user / month after a free 30-day trial and include fast dependency fetching and HexDocs on the same reliable infrastructure that serves millions of packages daily. See ourKeep dependency rules consistent across projects with signed, organization-managed policies. Free organizations can publish public policies for public Hex packages. Paid organizations can also publish private policies covering public and private packages, visible only to organization members. See the## Most DownloadedA blazing fast JSON parser and generator in pure Elixir.Dynamic dispatching library for metrics and instrumentationsCompose web applications with functionsA MIME type module for ElixirCrypto-related functionality for the webArbitrary precision decimal arithmetic. The same call, in code.
The capture above came back as markdown. These examples add a key, so you get browser rendering, proxies, and concurrency on hex.pm.
import { SpiderBrowser } from "spider-browser";
const spider = new SpiderBrowser({
apiKey: process.env.SPIDER_API_KEY!,
});
await spider.connect();
const page = spider.page!;
await page.goto("https://www.hex.pm");
// No selectors, no schema. Spider reads the page and names the fields.
const data = await page.scrape();
console.log(data);
await spider.close(); import { SpiderBrowser } from "spider-browser";
const spider = new SpiderBrowser({
apiKey: process.env.SPIDER_API_KEY!,
});
await spider.connect();
const page = spider.page!;
await page.goto("https://www.hex.pm");
const data = await page.extractFields({
about_hex: "div.footer-nav ul li",
about_hex_link: "div.footer-nav ul li a",
about_hex_title: "div.footer-nav h4",
help: "div.footer-nav ul li",
help_link: "div.footer-nav ul li a",
help_title: "div.footer-nav h4",
});
console.log(data);
await spider.close(); Ready for volume? Get an API key →
Fields you can pull.
Spider names these from the page. The capture above came back as markdown; the same
call with return_format: "json" returns them as keys.
What hex.pm costs to scrape.
The capture above cost $0.000153 to fetch. Pricing is $1 per GB of pre-transformation bandwidth plus $0.001 per CPU minute, so a page like this one lands at a fraction of a cent. Failed requests are billed at $0.
- Free balance on signup
- No card required to test
- Balance never expires
Run it keyless, no account
More AI & Developer scrapers.
ChatGPT Scraper
Extract shared ChatGPT conversations, prompts, and AI-generated content from public links.
Hugging Face Scraper
Extract ML model cards, dataset info, leaderboard data, and paper metadata from Hugging Face.
GitHub Scraper
Extract trending repositories, star counts, contributor data, and code snippets from GitHub.
Start scraping hex.pm.
You already have the call. A key raises the rate limit and turns on browser rendering, proxies, and concurrency. Balance never expires, and top-ups go through secure checkout.