Skip to main content
All providers

RubyGems

Developer

rubygems.org

Ruby gem metadata from RubyGems.org: versions, dependencies, downloads and the gem's own links.

Capabilities (11)

GET /v1/data/rubygems/gem1 credit

Returns the gem's current version, total and per-version download counts, authors, licenses, SPDX info, dependencies (runtime and development) and all project URIs.

name
GET /v1/data/rubygems/just-updated1 credit

Returns the 50 most recently updated gems that already had at least one earlier release, as full gem records.

No parameters
GET /v1/data/rubygems/latest-version1 credit

Returns a single object with the gem's newest non-prerelease version string, e.g. {"version":"8.1.4"}.

name
GET /v1/data/rubygems/newest-gems1 credit

Returns the 50 most recently created gems, i.e. first-ever publications, as full gem records.

No parameters
GET /v1/data/rubygems/owner-gems1 credit

Returns the full gem records for every gem the given RubyGems account owns.

handle
GET /v1/data/rubygems/owners1 credit

Returns the RubyGems accounts authorised to push the gem, each with its numeric id, handle and role (owner or maintainer).

name
GET /v1/data/rubygems/reverse-dependencies1 credit

Returns a flat array of gem names that declare a dependency on this gem.

name
GET /v1/data/rubygems/search1 credit

Returns an array of full gem records matching a free-text query over gem names and descriptions, 30 per page.

querypage?
GET /v1/data/rubygems/total-downloads1 credit

Returns a single object with the lifetime download count across all gems on RubyGems.org.

No parameters
GET /v1/data/rubygems/version-downloads1 credit

Returns total_downloads for the whole gem and version_downloads for the one specific version requested.

gem_version
GET /v1/data/rubygems/versions1 credit

Returns every published version of the gem with its number, platform, release date, SHA-256 checksum, licences, Ruby/RubyGems requirements, yanked flag and per-version download count.

name

Licence

RubyGems.org publishes gem metadata through this documented public API. We pass it through and do not licence callers to rebuild the registry.

https://rubygems.org/pages/policies

Attribution

Display this wherever you show the data. It arrives on every response as provenance.attribution_text.

Source: RubyGems.org

Cache: up to 3600s