Skip to content

RubyGems API

8 endpointsDeveloper & TechGlobalsocial:read7 real examples

Returns Ruby gem details, search results, versions, reverse dependencies, owners and the most recently published gems.

View as Markdown
GET/rubygems/gemLatest version, description, licence, downloads and runtime dependencies of one gem.
GET/rubygems/searchGems that match a search, 30 per page, as RubyGems ranks them.
GET/rubygems/versionsEvery published version of one gem, newest first, 30 per page, with its licences, Ruby requirement and downloads.
GET/rubygems/reverseDependenciesNames of the gems that depend on one gem, 50 per page, as RubyGems lists them.
GET/rubygems/ownersThe accounts that own one gem and may publish new versions of it.
GET/rubygems/latestGemsThe 50 gems whose newest version was published most recently on RubyGems.
GET/rubygems/downloadsThe number of gem downloads RubyGems has served in total.
GET/rubygems/versionOne published version of a gem with its runtime dependencies, Ruby requirement, checksum, download count and gem file link.

gem

GET/v1/rubygems/gem

Latest version, description, licence, downloads and runtime dependencies of one gem.

scope social:read1 unitcached 1 h

Parameters

name
string
required
Gem name, or rubygems.org gem URL.
e.g. rails
tunnel
string
Id or name of one of your tunnels: the call reads the source from the machine that runs `hoshime tunnel`, through its own connection. Fails with 409 tunnel_unavailable when no machine is connected. Cannot be combined with proxy.
proxy
string
Your own http:// or https:// proxy, such as http://user:pass@proxy.example.com:8080, on a public address. The call reads the source only through it.
profileId
string
Browser profile whose login the call sends (its cookies), so the source answers as that account. Without tunnel or proxy it leaves through the profile's own residential IP. Needs the browser:read scope. Data read logged in is for your account only.

Response data

15 fields
authorsstring
dependenciesDependency[]
namestring
requirementsstring
descriptionstring
downloadsinteger (int64)
homepagestring
licensesLicense[]
namestring
namestring
sourceCodestring
urlstring
versionstring
versionCreatedAtstring
versionDownloadsinteger (int64)
curl "https://api.hoshime.com/v1/rubygems/gem?name=rails" \
  -H "Authorization: Bearer $HOSHIME_TOKEN"
200 Real response
{
  "data": {
    "authors": "David Heinemeier Hansson",
    "dependencies": [
      {
        "name": "actioncable",
        "requirements": "= 8.1.4.1"
      },
      {
        "name": "actionmailbox",
        "requirements": "= 8.1.4.1"
      }
    ],
    "description": "Ruby on Rails is a full-stack web framework optimized for programmer happiness and sustainable productivity. It encourages beautiful code by…",
    "downloads": 812921988,
    "homepage": "https://rubyonrails.org",
    "licenses": [
      {
        "name": "MIT"
      }
    ],
    "name": "rails",
    "sourceCode": "https://github.com/rails/rails/tree/v8.1.4.1",
    "url": "https://rubygems.org/gems/rails",
    "version": "8.1.4.1",
    "versionCreatedAt": "2026-11-04T02:47:52.512Z",
    "versionDownloads": 500413
  },
  "meta": {
    "cached": false,
    "endpoint": "gem",
    "fetchedAt": "2026-11-06T09:41:00Z",
    "platform": "rubygems",
    "requestId": "req_2Xb9kQ…",
    "units": 1
  }
}

versions

GET/v1/rubygems/versions

Every published version of one gem, newest first, 30 per page, with its licences, Ruby requirement and downloads.

scope social:read1 unitcached 1 hpaginated

Parameters

name
string
required
Gem name, or rubygems.org gem URL.
e.g. rails
cursor
string
meta.pagination.nextCursor of the previous page. Omit it for the first page.
tunnel
string
Id or name of one of your tunnels: the call reads the source from the machine that runs `hoshime tunnel`, through its own connection. Fails with 409 tunnel_unavailable when no machine is connected. Cannot be combined with proxy.
proxy
string
Your own http:// or https:// proxy, such as http://user:pass@proxy.example.com:8080, on a public address. The call reads the source only through it.
profileId
string
Browser profile whose login the call sends (its cookies), so the source answers as that account. Without tunnel or proxy it leaves through the profile's own residential IP. Needs the browser:read scope. Data read logged in is for your account only.

Response data

9 fields
createdAtstring
downloadsinteger (int64)
licensesLicense[]
namestring
numberstring
platformstring
prereleaseboolean
rubyVersionstring
sha256string
curl "https://api.hoshime.com/v1/rubygems/versions?name=rails" \
  -H "Authorization: Bearer $HOSHIME_TOKEN"
200 Real response
{
  "data": [
    {
      "createdAt": "2026-11-04T02:47:52.512Z",
      "downloads": 502860,
      "licenses": [
        {
          "name": "MIT"
        }
      ],
      "number": "8.1.4.1",
      "platform": "ruby",
      "prerelease": false,
      "rubyVersion": ">= 3.2.0",
      "sha256": "365c3a0ad2713bd6e60628e5e826622d4ca8dee60b5a7e560e9b20844e9650bc"
    },
    {
      "createdAt": "2026-09-24T14:22:14.180Z",
      "downloads": 4400482,
      "licenses": [
        {
          "name": "MIT"
        }
      ],
      "number": "8.1.4",
      "platform": "ruby",
      "prerelease": false,
      "rubyVersion": ">= 3.2.0",
      "sha256": "5f3ecdf9a2a3b79b2e31b8fee3b64a00f7284d76e5631f87d0e58e665911a33b"
    }
  ],
  "meta": {
    "cached": false,
    "endpoint": "versions",
    "fetchedAt": "2026-11-06T09:41:00Z",
    "pagination": {
      "nextCursor": "EpcDEgV…",
      "hasMore": true,
      "total": null
    },
    "platform": "rubygems",
    "requestId": "req_2Xb9kQ…",
    "units": 1
  }
}

reverseDependencies

GET/v1/rubygems/reverseDependencies

Names of the gems that depend on one gem, 50 per page, as RubyGems lists them.

scope social:read1 unitcached 1 hpaginated

Parameters

name
string
required
Gem name, or rubygems.org gem URL.
e.g. rails
cursor
string
meta.pagination.nextCursor of the previous page. Omit it for the first page.
tunnel
string
Id or name of one of your tunnels: the call reads the source from the machine that runs `hoshime tunnel`, through its own connection. Fails with 409 tunnel_unavailable when no machine is connected. Cannot be combined with proxy.
proxy
string
Your own http:// or https:// proxy, such as http://user:pass@proxy.example.com:8080, on a public address. The call reads the source only through it.
profileId
string
Browser profile whose login the call sends (its cookies), so the source answers as that account. Without tunnel or proxy it leaves through the profile's own residential IP. Needs the browser:read scope. Data read logged in is for your account only.

Response data

2 fields
namestring
urlstring
curl "https://api.hoshime.com/v1/rubygems/reverseDependencies?name=rails" \
  -H "Authorization: Bearer $HOSHIME_TOKEN"
200 Real response
{
  "data": [
    {
      "name": "turnstile-captcha",
      "url": "https://rubygems.org/gems/turnstile-captcha"
    },
    {
      "name": "rylwin-acts-as-taggable-on",
      "url": "https://rubygems.org/gems/rylwin-acts-as-taggable-on"
    }
  ],
  "meta": {
    "cached": false,
    "endpoint": "reverseDependencies",
    "fetchedAt": "2026-11-06T09:41:00Z",
    "pagination": {
      "nextCursor": "EpcDEgV…",
      "hasMore": true,
      "total": null
    },
    "platform": "rubygems",
    "requestId": "req_2Xb9kQ…",
    "units": 1
  }
}

owners

GET/v1/rubygems/owners

The accounts that own one gem and may publish new versions of it.

scope social:read1 unitcached 1 hpaginated

Parameters

name
string
required
Gem name, or rubygems.org gem URL.
e.g. rails
tunnel
string
Id or name of one of your tunnels: the call reads the source from the machine that runs `hoshime tunnel`, through its own connection. Fails with 409 tunnel_unavailable when no machine is connected. Cannot be combined with proxy.
proxy
string
Your own http:// or https:// proxy, such as http://user:pass@proxy.example.com:8080, on a public address. The call reads the source only through it.
profileId
string
Browser profile whose login the call sends (its cookies), so the source answers as that account. Without tunnel or proxy it leaves through the profile's own residential IP. Needs the browser:read scope. Data read logged in is for your account only.

Response data

2 fields
handlestring
idstring
curl "https://api.hoshime.com/v1/rubygems/owners?name=rails" \
  -H "Authorization: Bearer $HOSHIME_TOKEN"
200 Real response
{
  "data": [
    {
      "handle": "fxn",
      "id": "32977"
    },
    {
      "handle": "tenderlove",
      "id": "207"
    }
  ],
  "meta": {
    "cached": false,
    "endpoint": "owners",
    "fetchedAt": "2026-11-06T09:41:00Z",
    "pagination": {
      "nextCursor": "EpcDEgV…",
      "hasMore": true,
      "total": null
    },
    "platform": "rubygems",
    "requestId": "req_2Xb9kQ…",
    "units": 1
  }
}

latestGems

GET/v1/rubygems/latestGems

The 50 gems whose newest version was published most recently on RubyGems.

scope social:read1 unitcached 5 minpaginated

Parameters

tunnel
string
Id or name of one of your tunnels: the call reads the source from the machine that runs `hoshime tunnel`, through its own connection. Fails with 409 tunnel_unavailable when no machine is connected. Cannot be combined with proxy.
proxy
string
Your own http:// or https:// proxy, such as http://user:pass@proxy.example.com:8080, on a public address. The call reads the source only through it.
profileId
string
Browser profile whose login the call sends (its cookies), so the source answers as that account. Without tunnel or proxy it leaves through the profile's own residential IP. Needs the browser:read scope. Data read logged in is for your account only.

Response data

7 fields
authorsstring
descriptionstring
licensesLicense[]
namestring
namestring
urlstring
versionstring
curl "https://api.hoshime.com/v1/rubygems/latestGems" \
  -H "Authorization: Bearer $HOSHIME_TOKEN"
200 Real response
{
  "data": [
    {
      "authors": "John Davis",
      "description": "Event bus over gRPC — generated grpcdc.events.v1 publish/subscribe clients over WebRTC DataChannels, via the grpc-dc runtime (Ruby).",
      "licenses": [
        {
          "name": "Apache-2.0"
        }
      ],
      "name": "eventbus-grpc",
      "url": "https://rubygems.org/gems/eventbus-grpc",
      "version": "0.39.0"
    },
    {
      "authors": "Asin",
      "description": "Track Amazon prices and products with a scheduled watchlist, price history, offers and alerts.",
      "licenses": [
        {
          "name": "MIT"
        }
      ],
      "name": "asindotdev",
      "url": "https://rubygems.org/gems/asindotdev",
      "version": "0.1.0"
    }
  ],
  "meta": {
    "cached": false,
    "endpoint": "latestGems",
    "fetchedAt": "2026-11-06T09:41:00Z",
    "pagination": {
      "nextCursor": "EpcDEgV…",
      "hasMore": true,
      "total": null
    },
    "platform": "rubygems",
    "requestId": "req_2Xb9kQ…",
    "units": 1
  }
}

downloads

GET/v1/rubygems/downloads

The number of gem downloads RubyGems has served in total.

scope social:read1 unitcached 30 min

Parameters

tunnel
string
Id or name of one of your tunnels: the call reads the source from the machine that runs `hoshime tunnel`, through its own connection. Fails with 409 tunnel_unavailable when no machine is connected. Cannot be combined with proxy.
proxy
string
Your own http:// or https:// proxy, such as http://user:pass@proxy.example.com:8080, on a public address. The call reads the source only through it.
profileId
string
Browser profile whose login the call sends (its cookies), so the source answers as that account. Without tunnel or proxy it leaves through the profile's own residential IP. Needs the browser:read scope. Data read logged in is for your account only.

Response data

1 fields
totalinteger (int64)
curl "https://api.hoshime.com/v1/rubygems/downloads" \
  -H "Authorization: Bearer $HOSHIME_TOKEN"
200 Real response
{
  "data": {
    "total": 274923807750
  },
  "meta": {
    "cached": false,
    "endpoint": "downloads",
    "fetchedAt": "2026-11-06T09:41:00Z",
    "platform": "rubygems",
    "requestId": "req_2Xb9kQ…",
    "units": 1
  }
}

version

GET/v1/rubygems/version

One published version of a gem with its runtime dependencies, Ruby requirement, checksum, download count and gem file link.

scope social:read1 unitcached 6 h

Parameters

name
string
required
Gem name, or rubygems.org gem URL.
e.g. rails
number
string
required
Version number, such as 8.1.4.1.
e.g. 8.1.4.1
tunnel
string
Id or name of one of your tunnels: the call reads the source from the machine that runs `hoshime tunnel`, through its own connection. Fails with 409 tunnel_unavailable when no machine is connected. Cannot be combined with proxy.
proxy
string
Your own http:// or https:// proxy, such as http://user:pass@proxy.example.com:8080, on a public address. The call reads the source only through it.
profileId
string
Browser profile whose login the call sends (its cookies), so the source answers as that account. Without tunnel or proxy it leaves through the profile's own residential IP. Needs the browser:read scope. Data read logged in is for your account only.

Response data

17 fields
createdAtstring
dependenciesDependency[]
namestring
requirementsstring
descriptionstring
downloadsinteger (int64)
gemUrlstring
licensesLicense[]
namestring
namestring
numberstring
platformstring
rubyVersionstring
sha256string
urlstring
versionDownloadsinteger (int64)
yankedboolean
curl "https://api.hoshime.com/v1/rubygems/version?name=rails&number=8.1.4.1" \
  -H "Authorization: Bearer $HOSHIME_TOKEN"
200 Response shape
{
  "data": {
    "createdAt": "2026-11-06T09:41:00Z",
    "dependencies": [
      {
        "name": "…",
        "requirements": "…"
      }
    ],
    "description": "…",
    "downloads": 0,
    "gemUrl": "https://…",
    "licenses": [
      {
        "name": "…"
      }
    ],
    "name": "…",
    "number": "…",
    "platform": "…",
    "rubyVersion": "…",
    "sha256": "…",
    "url": "https://…",
    "versionDownloads": 0,
    "yanked": false
  },
  "meta": {
    "cached": false,
    "endpoint": "version",
    "fetchedAt": "2026-11-06T09:41:00Z",
    "platform": "rubygems",
    "requestId": "req_2Xb9kQ…",
    "units": 1
  }
}
esc
↑↓ move↵ open