# ipify

Category: [IP to location APIs](https://free-web-services.com/web-services/geo/ip-to-location/)  
Page: https://free-web-services.com/web-services/geo/ip-to-location/ipify.html  
Documentation: https://www.ipify.org/

ipify returns the public IP address of whoever calls it, as plain text, JSON or JSONP, over IPv4 or IPv6. Handy for scripts, dynamic DNS clients and apps that need to know their own public address. Free and open source, no key and no usage limit.

- API key: Not needed
- Pricing: Free and open source, no key and no usage limit.
- From the browser: Yes (CORS)
- Formats: JSON
- Interface: REST, HTTP-GET
- Provider: ipify.org
- Last checked: Working on November 15th, 2026

Example request:

```sh
curl 'https://api.ipify.org?format=json'
```

The JavaScript works in a web page as well as in Node.js 18 or newer.

