RubyGems Scraper avatar

RubyGems Scraper

Pricing

from $3.00 / 1,000 results

Go to Apify Store
RubyGems Scraper

RubyGems Scraper

Scrape RubyGems.org, Ruby community gem hosting with 170K+ gems. Search gems by keyword, fetch gem details, get all gems by a user/owner, or browse recent activity.

Pricing

from $3.00 / 1,000 results

Rating

5.0

(4)

Developer

Crawler Bros

Crawler Bros

Maintained by Community

Actor stats

4

Bookmarked

2

Total users

1

Monthly active users

2 days ago

Last modified

Share

Scrape RubyGems.org — the Ruby community's official gem hosting service with 170,000+ published gems. Search by keyword, fetch a specific gem, retrieve all gems by a user/owner, or browse recently published or updated gems.

No API key, login, or proxy required. Uses the free public RubyGems REST API.

Features

  • Search gems by keyword with pagination
  • Fetch a specific gem by exact name
  • List all gems by a user or organization owner
  • Browse recent activity — 20 most recently published or updated gems

Input

FieldTypeDescription
modeselectsearch / byGem / byUser / recentActivity
querystringSearch keyword (mode=search)
gemNamestringExact gem name (mode=byGem)
usernamestringRubyGems username or owner handle (mode=byUser)
activityTypeselectlatest or justUpdated (mode=recentActivity)
maxItemsintegerMax records to emit (1–5000, default 50)

Example inputs

Search gems:

{
"mode": "search",
"query": "rails",
"maxItems": 20
}

Fetch a specific gem:

{
"mode": "byGem",
"gemName": "sidekiq"
}

Get all gems by a user:

{
"mode": "byUser",
"username": "matz"
}

Browse recent activity:

{
"mode": "recentActivity",
"activityType": "justUpdated"
}

Output

Each record contains:

FieldTypeDescription
namestringGem name
versionstringLatest version number
authorsstring[]List of author names
descriptionstringGem description / info
downloadsintegerTotal all-time downloads
versionDownloadsintegerDownloads for this version
licensesstring[]SPDX license identifiers
platformstringTarget platform (usually ruby)
createdAtstringISO timestamp of this version release
projectUristringRubyGems.org gem page URL
gemUristringDirect .gem download URL
homepageUristringProject homepage URL
sourceCodeUristringSource code repository URL
documentationUristringDocumentation site URL
scrapedAtstringISO timestamp when record was scraped

Example record

{
"name": "rails",
"version": "7.1.3",
"authors": ["David Heinemeier Hansson"],
"description": "Ruby on Rails is a full-stack web framework optimized for programmer happiness.",
"downloads": 500000000,
"versionDownloads": 1000000,
"licenses": ["MIT"],
"platform": "ruby",
"createdAt": "2024-01-16T00:00:00.000Z",
"projectUri": "https://rubygems.org/gems/rails",
"homepageUri": "https://rubyonrails.org",
"sourceCodeUri": "https://github.com/rails/rails",
"documentationUri": "https://api.rubyonrails.org",
"scrapedAt": "2026-05-25T10:00:00+00:00"
}

FAQs

Does this require an API key or login? No. The RubyGems public API is freely accessible without authentication.

Is there a rate limit? RubyGems enforces approximately 300 requests per 5 minutes. This actor automatically paginates with a 1-second delay between pages to stay within limits.

How many results can I get?

  • Search mode: up to 5000 results (paginated at 30 per page)
  • byUser mode: all gems owned by the user (no pagination needed)
  • recentActivity mode: always returns 20 gems (API limit)

What is the difference between latest and justUpdated?

  • latest — gems that were published for the first time most recently
  • justUpdated — gems that had a new version release most recently

Can I get all versions of a gem? The scraper returns the latest version metadata. For full version history, use mode=byGem which fetches the latest gem info including version.

Which fields are always present? name and scrapedAt are always populated. All other fields are omitted if not available for a gem.