FREE Public IP Address API

This API returns the public IPv4 and IPv6 addresses of the calling client. It also performs basic proxy detection by inspecting the X-Forwarded-For (XFF) header, which can reveal whether the request is passing through a proxy server.

No API key required. It's a lightweight option for any application that needs to know the client's public IP — logging, analytics, geolocation lookups, or session context. Responsible use is expected; high-volume or abusive usage patterns may result in access being restricted.

GEThttps://api.bigdatacloud.net/data/client-ip

Responses

200OK

Sample Request

https://api.bigdatacloud.net/data/client-ip

Sample Response

JSON View

Response Schema

ipStringstringReturns the client’s IP address in a string format
ipTypestringReturns the IP address type. Possible values: "IPv4"
proxyIpstringReturns the IP address of the proxy server (omitted if no proxy detected)
500An error has occurred and did not complete your request. Please try again

Sample Response

JSON View