| domain | ipify.org |
| summary | The provided content consists of various snippets of code from different programming languages (Xojo, Scala, Javascript, Elixir, JavaScript (Node.js), Nim, PowerShell, Lua, PureBasic, LiveCode, Objective-C, and Swift) that perform a common task: fetching the public IP address from ip.ipify.org using their respective HTTP request libraries.
Each snippet creates an HTTP client or socket to send a GET request to https://api.ipify.org, which returns the requester's public IP address upon successful completion. The results are then processed and displayed as "My public IP address is: Xojo Dim s As New HTTPSecureSocket Dim t As String s.Gethttps:api.ipify.org,10 MsgBox My public IP Address is: t" (Xojo), "val addr scala.io.Source.fromURLhttps:api.ipify.org.mkString printlnMy public IP address is: addr" (Scala), "javascript function getIPjson document.writeMy public IP address is: , json.ip;" (Javascript/Node.js), "elixir :inets.start :ok, _, _, inet_addr :httpc.requesthttp:api.ipify.org :inets.stop" (Elixir), "Invoke-RestMethod -Uri https:api.ipify.orgformatjson My public IP address is: , ip" (PowerShell), "socket_http require http.compat.socket body assertsocket_http.requesthttps:api.ipify.org printbody If Buffer ParseJSON0, PeekSBuffer, MemorySizeBuffer, PB_UTF8 FreeMemoryBuffer Debug GetJSONStringGetJSONMemberJSONValue0, ip EndIf" (Lua), "Invoke-RestMethod -Uri https:api.ipify.orgformatjson My public IP address is: , ipAddress;" (Objective-C), "import Foundation NSURL url = NSURL URLWithString:https:api.ipify.org; NSString ipAddress = NSString stringWithContentsOfURL:url encoding:NSUTF8StringEncoding error:nil; NSLogMy public IP address is: , ipAddress;" (Swift). |
| title | ipify - A Simple Public IP Address API |
| description | ipify API is a simple public IP address API, easy enough to integrate into any application in seconds. |
| keywords | https, public, address, http, string, want, script, code, need, information, requests, using, here, text, library, import, language |
| upstreams |
|
| downstreams |
|
| nslookup | A 104.26.12.205, A 104.26.13.205, A 172.67.74.152 |
| created | 2025-11-09 |
| updated | 2025-11-09 |
| summarized | 2025-11-13 |
|
|