npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

getgems

v1.0.2

Published

**TypeScript SDK for interacting with the Getgems NFT Marketplace API.**

Downloads

227

Readme

Getgems NFT Marketplace API Client

TypeScript SDK for interacting with the Getgems NFT Marketplace API.

This package provides a convenient interface for working with the Getgems marketplace, supporting the ability to retrieve collection stats, manage NFTs, and more.

This npm package follows the structure and types as outlined in the official Getgems API documentation.

Installation

To install the package, use npm:

npm install getgems

Usage

Initialize the Client

import { Getgems } from 'getgems';

const client = new Getgems('your-api-key');

Accessing APIs

The client provides access to the following APIs:

  1. ReadApi – Retrieve Collection Floor Price, NFTs in Collection, and More
  2. MintingApi – Create New NFTs and Collections via a Simple API
  3. cNFTApi – For Large NFT Collections
  4. GiftApi – This is a Special API for Partners Only
  5. StorageApi – This is a Special API for Partners Only

To access the methods of these APIs, use the following properties of the created client class: readApi, mintingApi, cNftApi, giftApi, storageApi.

Example:

//Get collection attributes
const collectionAttributes = await client.readApi.getCollectionAttributes('collectionAddress');

//Create minting task
const mintingStatus = await client.mintingApi.createMinting('collectionAddress', mintingRequestBody);

//Add CNFT to collection
const addCNFTToCollectionResponse = await client.cNftApi.addCNFTToCollection('collectionAddress', cNFTRequestBody);

//Publicly unavailable. Get offchain gifts by specified owner address
const nftItems = await client.giftApi.getOwnerOffchainGifts('ownerAddress', queryParams);

//Publicly unavailable. Create box for storage
const storageBoxId = await client.storageApi.createStorage();

The method names correspond to the operationId values specified in the paths/{path}/{httpRequestMethod}/operationId for each endpoint, as outlined in JSON file of the official API documentation

For full documentation of available methods for each API, please refer to the official Getgems API Documentation.

Data Structures

If you require any of the Getgems API schema types (e.g., for forming request bodies), you can import them directly from getgems.

import { DefaultErrorObject, NftItemFull } from 'getgems'