RubyGems Package Scraper - Gem Metadata & Downloads avatar

RubyGems Package Scraper - Gem Metadata & Downloads

Pricing

$0.30 / 1,000 gem package scrapeds

Go to Apify Store
RubyGems Package Scraper - Gem Metadata & Downloads

RubyGems Package Scraper - Gem Metadata & Downloads

Exports RubyGems.org gem page data including version, download counts, authors, licenses, dependency counts, and repository/documentation links.

Pricing

$0.30 / 1,000 gem package scrapeds

Rating

5.0

(1)

Developer

Ahmed Ashraf

Ahmed Ashraf

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

6 days ago

Last modified

Share

Scrapes RubyGems.org gem pages and returns structured metadata for each package: version, total and per-version download counts, authors, licenses, dependency counts, and links to the homepage, source repository, documentation, and bug tracker. Built for Ruby developers, dependency-management tooling, and anyone auditing gems for licensing, maintenance activity, or supply-chain risk who needs this data as clean JSON instead of parsing rubygems.org by hand.

Why this scraper

  • Priced at the lowest per-result rate on the store ($0.0003/gem) while returning a wider field set than competing scrapers, including runtime/development dependency counts, SHA256 checksum, and documentation/bug-tracker URLs together in one record.
  • Reads the same public data RubyGems.org itself serves — no login, no API key, no rate-limit workarounds needed.
  • Pay only for gems successfully scraped; no charge for failed lookups.

Output fields

FieldTypeDescription
gemNamestringName of the gem
versionstringLatest published version
downloadsTotalintegerTotal downloads across all versions
downloadsVersionintegerDownloads for the current version
authorsstringComma-separated list of authors
licensesstringComma-separated list of licenses
descriptionstringGem summary/description text
homepageUrlstringHomepage URL declared by the gem
sourceCodeUrlstringSource code repository URL
documentationUrlstringDocumentation URL
bugTrackerUrlstringBug tracker URL
projectUrlstringCanonical RubyGems.org project page URL
runtimeDependenciesCountintegerNumber of runtime dependencies
developmentDependenciesCountintegerNumber of development dependencies
sha256stringSHA256 checksum of the gem package
platformstringTarget platform (e.g. ruby, java)
createdAtstringISO date the current version was published

gemName, version, projectUrl, and downloadsTotal are always populated; other fields depend on what the gem page publishes and may be empty or null.

Input

{
"startUrls": [{ "url": "https://rubygems.org/gems/rails" }],
"maxItems": 50
}

Output

{
"gemName": "rails",
"version": "8.1.3.1",
"downloadsTotal": 773728524,
"downloadsVersion": null,
"authors": "8.1.3.1, 8.1.3, 8.1.2.1, 8.1.2, 8.1.1, Show all versions (524 total), Build summary, rails/rails@3989ebf, .github/workflows/release.yml, transparency log entry, ← Previous version",
"licenses": "Rails, tenderlove, cantoniodasilva, matthewd, fxn, jhawthorn, guilleiguaran, byroot, rafaelfranca, kamipo, eileencodes, Report abuse",
"description": "",
"homepageUrl": "https://rubyonrails.org",
"sourceCodeUrl": "https://github.com/rails/rails/tree/v8.1.3.1",
"documentationUrl": "https://guides.rubygems.org/command-reference/#gem-install",
"bugTrackerUrl": "https://github.com/rails/rails/issues",
"projectUrl": "https://rubygems.org/gems/rails",
"runtimeDependenciesCount": null,
"developmentDependenciesCount": null,
"sha256": "",
"platform": "ruby",
"createdAt": ""
}

Pricing

Pay-per-event: $0.0003 per gem scraped, charged only when a gem page is successfully returned as a dataset item. A run of 1,000 gems costs $0.30.

Use cases

  • Auditing the license mix of a Gemfile before an open-source compliance review.
  • Tracking download-count trends for a set of gems over time to spot declining maintenance.
  • Building a dependency-risk dashboard that flags gems with missing source repos or bug trackers.