Rubygems Search Scraper
Pricing
Pay per usage
Go to Apify Store
What it does
RubyGems Search Scraper searches and extracts Ruby gem information from RubyGems.org, the Ruby community's gem hosting service. It returns gem names, versions, descriptions, download counts, and direct links.
Why use it
RubyGems.org hosts over 175,000 Ruby gems. This actor helps Ruby developers, DevOps teams, and researchers discover gems, compare alternatives, and track popularity. Perfect for dependency analysis, ecosystem monitoring, or building gem recommendation tools.
How it works
- The actor takes a search query and optional maximum items count.
- It first attempts to scrape RubyGems.org search results using CheerioCrawler.
- If HTML scraping yields no results, it falls back to the RubyGems API.
- Results are pushed to the Apify dataset in a structured format.
Input parameters
| Parameter | Type | Default | Description |
|---|---|---|---|
query | string | "rails" | Search query to find Ruby gems |
maxItems | integer | 20 | Maximum number of results (1-200) |
Output fields
| Field | Type | Description |
|---|---|---|
name | string | Gem name |
version | string | Latest version |
description | string | Gem description |
downloads | string | Total download count |
url | string | Link to RubyGems page |
Cost estimate
Pay-per-event pricing is $0.00075 per result. RubyGems.org is freely accessible. Memory usage is minimal at 1024 MB default.
Tips
- Search by gem name or keywords for best results.
- The actor includes a fallback to the RubyGems API for reliable results.
- For package registry scrapers in other ecosystems, check out npm Package Search and PyPI Package Search.
