Socket
Socket
Sign inDemoInstall

myipms-api-client

Package Overview
Dependencies
10
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    myipms-api-client

Query Myip.ms data using API


Version published
Weekly downloads
4
increased by100%
Maintainers
1
Install size
2.75 MB
Created
Weekly downloads
 

Changelog

Source

v1.0.5

Readme

Source

node-myipms-api-client

Version npm node.js version js-semistandard-style

Query Myip.ms data using API

Instal

npm install myipms-api-client

Usage

You can get apiId and apiKey by registering an account at myip.ms. Free plan is available and can be used.

const myipms = require('myipms-api-client');

(async () => {
  const apiId = 'PLEASE_CHANGE_IT_TO_YOUR_APIID_FROM_MYIPMS';
  const apiKey = 'PLEASE_CHANGE_IT_TO_YOUR_APIKEY_FROM_MYIPMS';

  const result = await myipms(apiId, apiKey, '185.199.108.153');
})();

result will contain something like these:

{
  "query": "185.199.108.153",
  "ip_address": "185.199.108.153",
  "status": "ok",
  "location": {
    "countryID": "USA",
    "countryName": "United States",
    "countryIcon": "https://myip.ms/images/devices/16/flags/USA.png"
  },
  "owners": {
      "owner": {
        "range": "185.199.108.0 - 185.199.111.255",
        "cidr": "185.199.108.0/22",
        "rangeSize": "1024",
        "ownerName": "Github, Inc",
        "provider": "",
        "address": "88 Colin P. Kelly Jr. Street, 94107, San Francisco, United States",
        "countryID": "USA",
        "countryName": "USA",
        "countryIcon": "https://myip.ms/images/devices/16/flags/USA.png",
        "website": "",
        "phone": "+1 415 735 4488",
        "sites": "22274",
        "topSites": "185",
        "logo": "",
        "screenshot": "",
        "link": "https://myip.ms/view/ip_owners/802978"
      }
    },
  "statistics": {
    "total_websites_on_ip_now": "21396",
    "total_websites_on_ip_before": "9696",
    "total_not_working_websites_on_ip": "975",
    "total_dns_on_ip": 1,
    "total_os_on_ip": 0,
    "total_browsers_on_ip": 0,
    "total_useragents_on_ip": 0
  },
  "crawlerbot_use_ip": "yes",
  "ip_blacklist": {
    "blacklist": "yes",
    "latest_thread": "User Submission - Spam from this IP",
    "latest_site_visit_date": "06 Dec 2018"
  },
  "websites_on_ip_now": [
    {
      "website": "nn.ci",
      "rank": "1914",
      "visitors": "203000",
      "image": "https://myip.ms/images/popularity/rating9.png",
      "text": "203,000 visitors per day"
    },
    {
      "website": "pytorch.org",
      "rank": "2758",
      "visitors": "159000",
      "image": "https://myip.ms/images/popularity/rating9.png",
      "text": "159,000 visitors per day"
    },
    // ...
  ],
  "dns_on_ip": [
    {
      "nameserver": "185.199.108.153",
      "sites": "1",
      "topSites": "0"
    }
  ],
  "os_on_ip": [],
  "browsers_on_ip": [],
  "useragents_on_ip": []
}

Notes

API will only return 100 websites. There is no documented API to get next page on myip.ms.

My other reverse ip npm package:

  • rapiddns.io scrapper. It will return up to 10000 hostnames per ip. Also can be used to enumerate subdomains.

Keywords

FAQs

Last updated on 07 Jan 2024

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc