GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - socks5ip/proxy-ip-check: Zero-dependency CLI and library: look up an IP's ASN, ISP, country and network type (residential vs hosting vs proxy). No API key required.

BranchesTags
Open more actions menu

Latest commit

 

History

21 Commits
21 Commits

Folders and files

NameName
Last commit message
Last commit date
.github/workflows
.github/workflows
 
 
Dockerfile
Dockerfile
 
 
LICENSE
LICENSE
 
 
README.md
README.md
 
 
index.js
index.js
 
 
package.json
package.json
 
 

Repository files navigation

proxy-ip-check

Identify an IP's ASN owner, country and network type (consumer / hosting / proxy) from the command line. Zero dependencies. No API key. Works out of the box.

Docker Pulls Docker Image Size Docker Image Version

$ npx proxy-ip-check 8.8.8.8

  IP          8.8.8.8
  ASN         AS15169
  AS name     GOOGLE
  ISP / org   Google LLC
  Country     United States  /  Virginia
  Type        hosting / datacenter
  Source      ip-api.com

Why

When you evaluate a proxy IP — for scraping, for account management, or for geo-testing — the first question is always "who owns this network?" An IP announced by a consumer broadband AS looks like a home user. An IP announced by a hosting AS looks like a server, because it is one.

proxy-ip-check answers that in one command, with no signup and no SDK.

Install

# one-off, no install
npx proxy-ip-check 1.2.3.4

# or install
npm install -g proxy-ip-check

Run with Docker

No Node.js required. The CLI is published as a multi-arch image (linux/amd64, linux/arm64):

# one-off lookup
docker run --rm socks5ip/proxy-ip-check 1.2.3.4

# several IPs, machine-readable
docker run --rm socks5ip/proxy-ip-check 8.8.8.8 1.1.1.1 --json

Bare docker run socks5ip/proxy-ip-check performs a demo lookup of 8.8.8.8.

Image: https://hub.docker.com/r/socks5ip/proxy-ip-check

Usage

proxy-ip-check <ip> [<ip> ...] [--json]
# single IP
proxy-ip-check 8.8.8.8

# several IPs (sequential, rate-limit friendly)
proxy-ip-check 8.8.8.8 1.1.1.1 223.5.5.5

# machine-readable
proxy-ip-check 8.8.8.8 --json

JSON output

{
  "source": "ip-api.com",
  "ip": "8.8.8.8",
  "asn": "AS15169",
  "asName": "GOOGLE",
  "isp": "Google LLC",
  "org": "Google Public DNS",
  "country": "United States",
  "countryCode": "US",
  "region": "Virginia",
  "city": "Ashburn",
  "isHosting": true,
  "isProxy": false,
  "isMobile": false,
  "networkType": "hosting",
  "isResidentialLike": false,
  "fallbackUsed": false
}

Programmatic use

const { lookup, lookupMany } = require('proxy-ip-check');

const r = await lookup('8.8.8.8');
console.log(r.asn, r.asName, r.networkType);
// AS15169 GOOGLE hosting

const list = await lookupMany(['8.8.8.8', '1.1.1.1']);

Fields

Field Description
asn Autonomous System number, e.g. AS15169
asName Short AS owner name, e.g. GOOGLE
isp / org ISP and organization name
country / countryCode / region / city Location
isHosting Provider-flagged hosting/datacenter range
isProxy Provider-flagged proxy/VPN range
isMobile Mobile carrier range
networkType consumer / hosting / proxy / vpn / unknown
isResidentialLike true for consumer, false for hosting, null when undetermined
source Which data source answered (ip-api.com or ipinfo.io)
fallbackUsed true if the primary source failed and the fallback answered

How networkType is determined

  1. If the data source explicitly flags the range as hosting, → hosting.
  2. Else if it flags proxy/VPN, → proxy / vpn.
  3. Else if it explicitly flags both as false, → consumer.
  4. Otherwise fall back to a heuristic over the AS owner name (tokens like cloud, hosting, datacenter, vps → hosting; broadband, telecom, unicom, chinanet → consumer).

This is a first signal, not a verdict. AS ownership tells you what class of network the IP sits on. It does not tell you the IP's reputation, whether it appears on blocklists, or whether your client leaks your real address.

Data sources & rate limits

Source Role Free tier
ip-api.com primary ~45 requests / minute, no key
ipinfo.io fallback ~50k requests / month, no key

The fallback kicks in automatically when the primary source fails (network error, rate limit, non-success status). lookupMany() inserts a 250 ms delay between lookups to stay polite.

Requirements

Node.js >= 12. No dependencies.

Related

Part of a small open toolset for proxy IP work:

  • IP quality & line check center (free, browser-based — adds blocklist checks, leak tests and IP type databases on top of the ASN signal): https://socks5ip.com.cn/ip-check-center/

  • Proxy IP pricing dataset (24 providers, machine-readable, CC0, DOI 10.5281/zenodo.22801591): https://github.com/socks5ip/proxy-ip-pricing

  • Awesome proxy providers list: https://github.com/socks5ip/awesome-proxy-providers

  • Source code of this tool: https://github.com/socks5ip/proxy-ip-check

  • 面向 AI / LLM 的站点索引(llms.txt):https://socks5ip.com.cn/llms.txt —— 核心页导航、24 家平台注册入口与邀请码、开源工具与联系方式(完整版:https://socks5ip.com.cn/llms-full.txt)

  • Support (registration, pricing, invoicing, after-sales): WeChat 17720135827 · QQ 878989347 · QQ group 1045307809 · [email protected] — provider registration links and invite codes for 24 China-market proxy providers: https://socks5ip.com.cn/provider-contacts.md

License

MIT © socks5ip


官方唯一通道 / Official contact channels

本项目由 全网低价IP(socks5ip.com.cn) 维护。只有下列通道属于本站:

通道 号码 / 地址
官网 https://socks5ip.com.cn
客服微信(主) 17720135827
客服微信(备)/ QQ 878989347
售后群 1045307809
邮箱 [email protected]
24 家平台注册入口与逐家客服 https://socks5ip.com.cn/provider-contacts.md

⚠️ 不在上表之列的账号,一律不是本站账号。 任何自称「改价专用」「内部价」「官方渠道」「客服小号」的微信号 / QQ 号,都与本站无任何关联。本站优惠价一律通过专属邀请码注册、在平台内付款;从不要求私下转账,也从不通过任何未列出的账号收款。

⚠️ Any account not listed above is NOT ours. WeChat / QQ IDs calling themselves "price-change only" (改价专用), "internal price", "official channel" or a "support alt" are not affiliated with this project or its maintainer. Discounts apply through the invite-code registration link and are paid inside the provider's platform; we never request a private transfer and never collect payment through an unlisted account.

About

Zero-dependency CLI and library: look up an IP's ASN, ISP, country and network type (residential vs hosting vs proxy). No API key required.

socks5ip.com.cn/ip-check-center/

Topics

asncliipip-lookup-fixnetworknodejsproxyzero-dependencies

Resources

Readme
MIT license
Activity

Stars

0 stars

Watchers

0 watching

Forks

0 forks
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.