RubyGems · Example Payload

Rubygems Get Gem Info Example

RubyPackage ManagerOpen-SourceDeveloper Tools

Rubygems Get Gem Info Example is an example object payload from RubyGems, with 2 top-level fields. It illustrates the shape of data this provider's APIs accept or return.

Top-level fields

requestresponse

Example Payload

Raw ↑
{
  "request": {
    "method": "GET",
    "url": "https://rubygems.org/api/v1/gems/rails.json"
  },
  "response": {
    "status": 200,
    "body": {
      "name": "rails",
      "downloads": 756482034,
      "version": "7.2.2",
      "version_created_at": "2024-10-03T09:00:00.000Z",
      "version_downloads": 12450000,
      "platform": "ruby",
      "authors": "David Heinemeier Hansson",
      "info": "Ruby on Rails is a full-stack web framework optimized for programmer happiness and sustainable productivity.",
      "licenses": ["MIT"],
      "metadata": {
        "changelog_uri": "https://github.com/rails/rails/releases/tag/v7.2.2",
        "source_code_uri": "https://github.com/rails/rails/tree/v7.2.2"
      },
      "yanked": false,
      "sha": "abc123def456",
      "project_uri": "https://rubygems.org/gems/rails",
      "gem_uri": "https://rubygems.org/gems/rails-7.2.2.gem",
      "homepage_uri": "https://rubyonrails.org",
      "source_code_uri": "https://github.com/rails/rails",
      "changelog_uri": "https://github.com/rails/rails/releases",
      "dependencies": {
        "runtime": [
          { "name": "activesupport", "requirements": "= 7.2.2" },
          { "name": "actionpack", "requirements": "= 7.2.2" }
        ],
        "development": []
      }
    }
  }
}

Work with this as data

Every example here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for examples

4 MCP tools reach this
  • find_examplesBrowse and filter every example in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This example
curl "https://apis.io/api/v1/examples/rubygems-get-gem-info-example"
All examples
curl "https://apis.io/api/v1/examples?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.