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

serverseekerapi

v1.0.6

Published

Wrapper for the ServerSeeker API

Downloads

1

Readme

ServerSeekerAPI

Installing & Requiring the package

npm i serverseekerapi

const srv = require("serverseekerapi");

Getting the API Key

Click Here and copy the value of api_key In your code define a constant variable called ServerSeekerAPI and input your API_KEY

const ServerSeekerAPI = new srv.ServerSeekerAPI("API_KEY_GOES_HERE");

getUserInfo

Allows you to see your Discord data, alongside your current ratelimit status.

const res = await ServerSeekerAPI.getUserInfo();
console.log(res);
{
  "discord_avatar_url": null,
  "discord_id": "xxxxxxxxxxxxxxxxxx",
  "discord_username": "xxxxxxxx",
  "requests_made_server_info": 0,
  "requests_made_servers": 8,
  "requests_made_whereis": 14,
  "requests_per_day_server_info": 200,
  "requests_per_day_servers": 25,
  "requests_per_day_whereis": 200
}

whereIs

Allows you to find a Minecraft user based on their UUID / Username.

ServerSeekerAPI.WHEREIS_MODE.UUID; // Use this when passing a UUID as the 2nd parameter
ServerSeekerAPI.WHEREIS_MODE.NAME; // Use this when passing a Username as the 2nd parameter
const res = await ServerSeekerAPI.whereIs(ServerSeekerAPI.WHEREIS_MODE.NAME, "DAMCraft");
console.log(res);
[
  ...,
  {
    "last_seen": 1684873448,
    "name": "DAMcraft",
    "server": "193.35.18.165:14682",
    "uuid": "68af4d98-24a2-41b6-96bc-a9c2ef9b397b"
  },
  ...
]

servers

Allows you to filter through servers to find specific ones. DOES NOT CONTAIN PLAYER LIST INFO

const res = await ServerSeekerAPI.servers({ cracked: true, software: "paper", online_players: 5 });
console.log(res);
[
  ...,
  {
    "cracked": true,
    "description": "§rsample description",
    "last_seen": 1695830091,
    "max_players": 100,
    "online_players": 5,
    "protocol": 763,
    "server": "199.127.60.223:25565",
    "version": "Paper 1.20.1"
  },
  ...
]

serverInfo

Allows you to see info AND player history of a server.

const res = await ServerSeekerAPI.serverInfo("199.127.60.223", 25565); // 2nd parameter defaults to 25565
console.log(res);
{
  "cracked": true,
  "description": "§rsample description",
  "last_seen": 1695831549,
  "max_players": 100,
  "online_players": 4,
  "players": [
    {
      "last_seen": 1695831549,
      "name": ".david99L",
      "uuid": "00000000-0000-0000-0009-01f17a03d9f4"
    },
    {
      "last_seen": 1695831549,
      "name": ".Julieta_2327607",
      "uuid": "00000000-0000-0000-0009-01febc1c4707"
    }
  ],
  "protocol": 763,
  "server": "199.127.60.223:25565",
  "version": "Paper 1.20.1"
}