From db17234b82a7447b321486c7a5e27589293825be Mon Sep 17 00:00:00 2001 From: Malted Date: Sun, 30 Mar 2025 18:34:26 -0400 Subject: [PATCH] Add index.html --- index.html | 71 ++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 71 insertions(+) create mode 100644 index.html diff --git a/index.html b/index.html new file mode 100644 index 0000000..8462a08 --- /dev/null +++ b/index.html @@ -0,0 +1,71 @@ + + + + + + Hack Club | IP + + +
+

ip.hackclub.com

+

+ An experimental service providing unlimited + IP address geolocation and metadata for free, + for teens in + Hack Club. + No API key needed. +

+ +

Open source at github.com/hackclub/ip!

+

Questions? I'm @Malted on the Slack.

+
+ +
+

Usage

+

To query your current IP address:

+
curl https://ip.hackclub.com/ip
+ +

To query a different IP address:

+
curl https://ip.hackclub.com/ip/ANY_IPv4_HERE
+
+
+

Result

+

(Context: I'm at Harvard, on Eduroam, without a VPN on.)

+
{
+	"network":"67.134.204.0/22",
+	"is_anonymous_proxy":false,
+	"is_satellite_provider":false,
+	"postal_code":"02138",
+	"latitude":"42.3737",
+	"longitude":"-71.1284",
+	"accuracy_radius":20,
+	"is_anycast":null,
+	"locale_code":"en",
+	"continent_code":"NA",
+	"continent_name":"North America",
+	"country_iso_code":"US",
+	"country_name":"United States",
+	"subdivision_1_iso_code":"MA",
+	"subdivision_1_name":"Massachusetts",
+	"subdivision_2_iso_code":null,
+	"subdivision_2_name":null,
+	"city_name":"Cambridge",
+	"metro_code":506,
+	"time_zone":"America/New_York",
+	"is_in_european_union":false,
+	"isp_name":"HARVARD-UNIV"
+}
+			
+
+ + +
+

Terms

+

+ You must be a teenager in the Hack Club Slack. + Abuse means this will get shut down. We're a nonprofit funded by donations. + Data courtesy of MaxMind GeoLite2. Don't blame Hack Club if it's wrong or out of date. +

+
+ +