diff --git a/index.html b/index.html new file mode 100644 index 0000000..8462a08 --- /dev/null +++ b/index.html @@ -0,0 +1,71 @@ + + +
+ + ++ 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.
+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
+ (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"
+}
+
+ + 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. +
+