RubyGems Dependencies API

Endpoints for querying gem dependency information.

Operations 1

GET /dependencies Get Gem Dependencies #

Work with this as data

Every API 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 apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • 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 API
curl "https://apis.io/api/v1/apis/rubygems-dependencies-api"
All apis
curl "https://apis.io/api/v1/apis?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.

OpenAPI Specification

rubygems-dependencies-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: RubyGems Activity Dependencies API
  description: The RubyGems Activity API provides endpoints that return the most recently added and most recently updated gems on RubyGems.org. The latest endpoint returns the 50 gems most recently published to the registry, while the just-updated endpoint returns the 50 most recently modified gems. These endpoints are useful for building activity feeds, monitoring new releases, and tracking changes across the Ruby ecosystem.
  version: '1.0'
  contact:
    name: RubyGems.org Support
    url: https://help.rubygems.org
  termsOfService: https://rubygems.org/pages/about
servers:
- url: https://rubygems.org/api/v1
  description: Production Server
tags:
- name: Dependencies
  description: Endpoints for querying gem dependency information.
paths:
  /dependencies:
    get:
      operationId: getDependencies
      summary: Get Gem Dependencies
      description: Returns dependency information for one or more gems specified as a comma-separated list. The response is a marshalled array of hashes containing dependency details. This endpoint is deprecated in favor of the Compact Index API.
      tags:
      - Dependencies
      security: []
      deprecated: true
      parameters:
      - name: gems
        in: query
        description: Comma-separated list of gem names
        required: true
        schema:
          type: string
        example: rails,sinatra
      responses:
        '200':
          description: Successful response with dependency information
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/DependencyInfo'
components:
  schemas:
    DependencyInfo:
      type: object
      description: Dependency information for a gem version
      properties:
        name:
          type: string
          description: Name of the gem
        number:
          type: string
          description: Version number
        platform:
          type: string
          description: Platform identifier
        dependencies:
          type: array
          items:
            type: array
            items:
              type: string
          description: Array of dependency pairs (name, version requirement)
externalDocs:
  description: RubyGems.org API Documentation
  url: https://guides.rubygems.org/rubygems-org-api/