> ## Documentation Index
> Fetch the complete documentation index at: https://docs.webrouter.net/llms.txt
> Use this file to discover all available pages before exploring further.

# RubyGems.org

> The Ruby gem registry: gem search, metadata, versions, reverse dependencies, owners and download counts, plus recent releases.

![](https://mintcdn.com/webrouter/T_A5Quwg50s_JK2y/logo/data-apis/rubygems.webp?fit=max\&auto=format\&n=T_A5Quwg50s_JK2y\&q=85\&s=0e3f84acb6a421cadf813d1ac824b899)

[Web Catalog · Developer](https://docs.webrouter.net/data-apis.md?category=developer)

No key needed

Endpoints

12

Auth

None

[Vendor docs](https://guides.rubygems.org/rubygems-org-api/) · Serves `rubygems.org`

## Notes

* Keyless for reads. The general guideline is 10 requests per second for the API and site; a 429 may carry Retry-After. Some answers come from the CDN cache.
* Each path also has a .yaml form; these entries use .json.
* Pushing, yanking, owner changes, webhooks and API-key calls are not in this entry.

## Endpoints

GET

Search gems

Active gems matching a query, 30 per page, as on the site.

[Open](#rubygems-gems-search)

GET

Get a gem

The latest version's details: downloads, authors, info, licenses, metadata links, checksums and dependencies.

[Open](#rubygems-gems-get)

GET

List a gem's versions

Every version with its date, platform, downloads, licenses and requirements.

[Open](#rubygems-gems-versions)

GET

Get a gem's latest version

The latest version number of a gem.

[Open](#rubygems-gems-latest-version)

GET

Get one version

Details of a specific gem version (API v2).

[Open](#rubygems-versions-get)

GET

List reverse dependencies

Names of gems whose latest version depends on this gem.

[Open](#rubygems-gems-reverse-dependencies)

GET

List a gem's owners

Users who can push the gem, with role (owner or maintainer); email only when public.

[Open](#rubygems-gems-owners)

GET

Get downloads for a gem version

Total downloads of the gem and of one version.

[Open](#rubygems-downloads-version)

GET

List the most downloaded versions

The 50 most downloaded gem versions with their counts.

[Open](#rubygems-downloads-top)

GET

List a user's gems

Every gem a user (handle or ID) can push.

[Open](#rubygems-owners-gems)

GET

List versions published in a time window

Gem versions created between two times, paginated.

[Open](#rubygems-versions-timeframe)

GET

List just-updated gems

The 50 most recently updated gem versions.

[Open](#rubygems-activity-just-updated)

### Search gems

GET

`/api/v1/search.json`

`rubygems.gems.search`

Active gems matching a query, 30 per page, as on the site.

Input

<table>
  <thead>
    <tr>
      <th>
        Name
      </th>

      <th>
        Type
      </th>

      <th>
        In
      </th>

      <th>
        Notes
      </th>
    </tr>
  </thead>

  <tbody>
    <tr><td>`query` required</td><td>string</td><td>query</td><td>Search text. Example `cucumber`</td></tr>

    <tr>
      <td>
        `page`
      </td>

      <td>
        integer
      </td>

      <td>
        query
      </td>

      <td>
        Page, from 1; stop at an empty answer.
      </td>
    </tr>
  </tbody>
</table>

[Vendor docs](https://guides.rubygems.org/rubygems-org-api/) · Same job: [crates.io](https://docs.webrouter.net/data-apis/crates-io.md#crates-io-crates-search), [Libraries.io](https://docs.webrouter.net/data-apis/libraries-io.md#libraries-io-projects-search), [npm registry](https://docs.webrouter.net/data-apis/npm.md#npm-packages-search)

```python Python theme={null}
router.call_data_api("rubygems.gems.search", {'query': 'cucumber'})
```

```text MCP theme={null}
call_data_api(endpoint="rubygems.gems.search", params={"query": "cucumber"})
```

### Get a gem

GET

`/api/v1/gems/{gem}.json`

`rubygems.gems.get`

The latest version's details: downloads, authors, info, licenses, metadata links, checksums and dependencies.

Input

<table>
  <thead>
    <tr>
      <th>
        Name
      </th>

      <th>
        Type
      </th>

      <th>
        In
      </th>

      <th>
        Notes
      </th>
    </tr>
  </thead>

  <tbody>
    <tr><td>`gem` required</td><td>string</td><td>path</td><td>Gem name. Example `rails`</td></tr>
  </tbody>
</table>

[Vendor docs](https://guides.rubygems.org/rubygems-org-api/) · Same job: [crates.io](https://docs.webrouter.net/data-apis/crates-io.md#crates-io-crates-get), [Docker Hub](https://docs.webrouter.net/data-apis/docker-hub.md#docker-hub-repositories-get), [Libraries.io](https://docs.webrouter.net/data-apis/libraries-io.md#libraries-io-projects-get), [npm registry](https://docs.webrouter.net/data-apis/npm.md#npm-packages-get), [PyPI](https://docs.webrouter.net/data-apis/pypi.md#pypi-project-get)

```python Python theme={null}
router.call_data_api("rubygems.gems.get", {'gem': 'rails'})
```

```text MCP theme={null}
call_data_api(endpoint="rubygems.gems.get", params={"gem": "rails"})
```

### List a gem's versions

GET

`/api/v1/versions/{gem}.json`

`rubygems.gems.versions`

Every version with its date, platform, downloads, licenses and requirements.

Input

<table>
  <thead>
    <tr>
      <th>
        Name
      </th>

      <th>
        Type
      </th>

      <th>
        In
      </th>

      <th>
        Notes
      </th>
    </tr>
  </thead>

  <tbody>
    <tr><td>`gem` required</td><td>string</td><td>path</td><td>Gem name. Example `rails`</td></tr>
  </tbody>
</table>

[Vendor docs](https://guides.rubygems.org/rubygems-org-api/) · Same job: [crates.io](https://docs.webrouter.net/data-apis/crates-io.md#crates-io-crates-versions), [Docker Hub](https://docs.webrouter.net/data-apis/docker-hub.md#docker-hub-tags-list), [PyPI](https://docs.webrouter.net/data-apis/pypi.md#pypi-release-get)

```python Python theme={null}
router.call_data_api("rubygems.gems.versions", {'gem': 'rails'})
```

```text MCP theme={null}
call_data_api(endpoint="rubygems.gems.versions", params={"gem": "rails"})
```

### Get a gem's latest version

GET

`/api/v1/versions/{gem}/latest.json`

`rubygems.gems.latest_version`

The latest version number of a gem.

Input

<table>
  <thead>
    <tr>
      <th>
        Name
      </th>

      <th>
        Type
      </th>

      <th>
        In
      </th>

      <th>
        Notes
      </th>
    </tr>
  </thead>

  <tbody>
    <tr><td>`gem` required</td><td>string</td><td>path</td><td>Gem name. Example `rails`</td></tr>
  </tbody>
</table>

[Vendor docs](https://guides.rubygems.org/rubygems-org-api/) · Same job: [crates.io](https://docs.webrouter.net/data-apis/crates-io.md#crates-io-crates-versions), [Docker Hub](https://docs.webrouter.net/data-apis/docker-hub.md#docker-hub-tags-list), [PyPI](https://docs.webrouter.net/data-apis/pypi.md#pypi-release-get)

```python Python theme={null}
router.call_data_api("rubygems.gems.latest_version", {'gem': 'rails'})
```

```text MCP theme={null}
call_data_api(endpoint="rubygems.gems.latest_version", params={"gem": "rails"})
```

### Get one version

GET

`/api/v2/rubygems/{gem}/versions/{version}.json`

`rubygems.versions.get`

Details of a specific gem version (API v2).

Input

<table>
  <thead>
    <tr>
      <th>
        Name
      </th>

      <th>
        Type
      </th>

      <th>
        In
      </th>

      <th>
        Notes
      </th>
    </tr>
  </thead>

  <tbody>
    <tr><td>`gem` required</td><td>string</td><td>path</td><td>Gem name. Example `rails`</td></tr>
    <tr><td>`version` required</td><td>string</td><td>path</td><td>Version number. Example `8.1.3.1`</td></tr>

    <tr>
      <td>
        `platform`
      </td>

      <td>
        string
      </td>

      <td>
        query
      </td>

      <td>
        A non-default platform, e.g. java or x86\_64-linux.
      </td>
    </tr>
  </tbody>
</table>

[Vendor docs](https://guides.rubygems.org/rubygems-org-api/) · Same job: [crates.io](https://docs.webrouter.net/data-apis/crates-io.md#crates-io-crates-versions), [Docker Hub](https://docs.webrouter.net/data-apis/docker-hub.md#docker-hub-tags-list), [PyPI](https://docs.webrouter.net/data-apis/pypi.md#pypi-release-get)

```python Python theme={null}
router.call_data_api("rubygems.versions.get", {'gem': 'rails', 'version': '8.1.3.1'})
```

```text MCP theme={null}
call_data_api(endpoint="rubygems.versions.get", params={"gem": "rails", "version": "8.1.3.1"})
```

### List reverse dependencies

GET

`/api/v1/gems/{gem}/reverse_dependencies.json`

`rubygems.gems.reverse_dependencies`

Names of gems whose latest version depends on this gem.

Input

<table>
  <thead>
    <tr>
      <th>
        Name
      </th>

      <th>
        Type
      </th>

      <th>
        In
      </th>

      <th>
        Notes
      </th>
    </tr>
  </thead>

  <tbody>
    <tr><td>`gem` required</td><td>string</td><td>path</td><td>Gem name. Example `rails`</td></tr>
    <tr><td>`only`</td><td>string</td><td>query</td><td>runtime or development; both by default. One of `runtime`, `development`</td></tr>
  </tbody>
</table>

[Vendor docs](https://guides.rubygems.org/rubygems-org-api/) · Same job: [crates.io](https://docs.webrouter.net/data-apis/crates-io.md#crates-io-crates-reverse-dependencies), [Libraries.io](https://docs.webrouter.net/data-apis/libraries-io.md#libraries-io-projects-dependents)

```python Python theme={null}
router.call_data_api("rubygems.gems.reverse_dependencies", {'gem': 'rails'})
```

```text MCP theme={null}
call_data_api(endpoint="rubygems.gems.reverse_dependencies", params={"gem": "rails"})
```

### List a gem's owners

GET

`/api/v1/gems/{gem}/owners.json`

`rubygems.gems.owners`

Users who can push the gem, with role (owner or maintainer); email only when public.

Input

<table>
  <thead>
    <tr>
      <th>
        Name
      </th>

      <th>
        Type
      </th>

      <th>
        In
      </th>

      <th>
        Notes
      </th>
    </tr>
  </thead>

  <tbody>
    <tr><td>`gem` required</td><td>string</td><td>path</td><td>Gem name. Example `rails`</td></tr>
  </tbody>
</table>

[Vendor docs](https://guides.rubygems.org/rubygems-org-api/) · Same job: [crates.io](https://docs.webrouter.net/data-apis/crates-io.md#crates-io-crates-get), [Docker Hub](https://docs.webrouter.net/data-apis/docker-hub.md#docker-hub-repositories-get), [Libraries.io](https://docs.webrouter.net/data-apis/libraries-io.md#libraries-io-projects-get), [npm registry](https://docs.webrouter.net/data-apis/npm.md#npm-packages-get), [PyPI](https://docs.webrouter.net/data-apis/pypi.md#pypi-project-get)

```python Python theme={null}
router.call_data_api("rubygems.gems.owners", {'gem': 'rails'})
```

```text MCP theme={null}
call_data_api(endpoint="rubygems.gems.owners", params={"gem": "rails"})
```

### Get downloads for a gem version

GET

`/api/v1/downloads/{gem}-{version}.json`

`rubygems.downloads.version`

Total downloads of the gem and of one version.

Input

<table>
  <thead>
    <tr>
      <th>
        Name
      </th>

      <th>
        Type
      </th>

      <th>
        In
      </th>

      <th>
        Notes
      </th>
    </tr>
  </thead>

  <tbody>
    <tr><td>`gem` required</td><td>string</td><td>path</td><td>Gem name. Example `rails`</td></tr>
    <tr><td>`version` required</td><td>string</td><td>path</td><td>Version number. Example `8.1.3.1`</td></tr>
  </tbody>
</table>

[Vendor docs](https://guides.rubygems.org/rubygems-org-api/) · Same job: [crates.io](https://docs.webrouter.net/data-apis/crates-io.md#crates-io-crates-downloads), [npm registry](https://docs.webrouter.net/data-apis/npm.md#npm-downloads-point)

```python Python theme={null}
router.call_data_api("rubygems.downloads.version", {'gem': 'rails', 'version': '8.1.3.1'})
```

```text MCP theme={null}
call_data_api(endpoint="rubygems.downloads.version", params={"gem": "rails", "version": "8.1.3.1"})
```

### List the most downloaded versions

GET

`/api/v1/downloads/all.json`

`rubygems.downloads.top`

The 50 most downloaded gem versions with their counts.

Input

No inputs.

[Vendor docs](https://guides.rubygems.org/rubygems-org-api/) · Same job: [crates.io](https://docs.webrouter.net/data-apis/crates-io.md#crates-io-crates-downloads), [npm registry](https://docs.webrouter.net/data-apis/npm.md#npm-downloads-point)

```python Python theme={null}
router.call_data_api("rubygems.downloads.top")
```

```text MCP theme={null}
call_data_api(endpoint="rubygems.downloads.top")
```

### List a user's gems

GET

`/api/v1/owners/{user}/gems.json`

`rubygems.owners.gems`

Every gem a user (handle or ID) can push.

Input

<table>
  <thead>
    <tr>
      <th>
        Name
      </th>

      <th>
        Type
      </th>

      <th>
        In
      </th>

      <th>
        Notes
      </th>
    </tr>
  </thead>

  <tbody>
    <tr>
      <td>
        `user`

        required
      </td>

      <td>
        string
      </td>

      <td>
        path
      </td>

      <td>
        User handle or ID.
      </td>
    </tr>
  </tbody>
</table>

[Vendor docs](https://guides.rubygems.org/rubygems-org-api/) · Same job: [Docker Hub](https://docs.webrouter.net/data-apis/docker-hub.md#docker-hub-repositories-list), [Libraries.io](https://docs.webrouter.net/data-apis/libraries-io.md#libraries-io-repositories-projects), [PyPI](https://docs.webrouter.net/data-apis/pypi.md#pypi-simple-list)

### List versions published in a time window

GET

`/api/v1/timeframe_versions.json`

`rubygems.versions.timeframe`

Gem versions created between two times, paginated.

Input

<table>
  <thead>
    <tr>
      <th>
        Name
      </th>

      <th>
        Type
      </th>

      <th>
        In
      </th>

      <th>
        Notes
      </th>
    </tr>
  </thead>

  <tbody>
    <tr><td>`from` required</td><td>string</td><td>query</td><td>ISO 8601 start time. Example `2026-11-01T00:00:00Z`</td></tr>

    <tr>
      <td>
        `to`
      </td>

      <td>
        string
      </td>

      <td>
        query
      </td>

      <td>
        ISO 8601 end time; at most 7 days after from (default now).
      </td>
    </tr>

    <tr>
      <td>
        `page`
      </td>

      <td>
        integer
      </td>

      <td>
        query
      </td>

      <td>
        Page, from 1.
      </td>
    </tr>
  </tbody>
</table>

[Vendor docs](https://guides.rubygems.org/rubygems-org-api/)

```python Python theme={null}
router.call_data_api("rubygems.versions.timeframe", {'from': '2026-11-01T00:00:00Z'})
```

```text MCP theme={null}
call_data_api(endpoint="rubygems.versions.timeframe", params={"from": "2026-11-01T00:00:00Z"})
```

### List just-updated gems

GET

`/api/v1/activity/just_updated`

`rubygems.activity.just_updated`

The 50 most recently updated gem versions.

Input

No inputs.

[Vendor docs](https://guides.rubygems.org/rubygems-org-api/)

```python Python theme={null}
router.call_data_api("rubygems.activity.just_updated")
```

```text MCP theme={null}
call_data_api(endpoint="rubygems.activity.just_updated")
```


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.