FREE Public IP Address API
Introduction
The Public IP Address API is a fast and simple way to determine the public IPv4 address of a customer accessing your services. It also offers proxy detection by examining the X-Forwarded-For (XFF) HTTP header field.
Response Format
The response should be expected in JSON format
Field |
Data type |
Description |
ipString |
string |
Returns the client’s IP address in a string format |
ipNumeric |
32 bit unsigned integer |
Returns the client’s IP address in a numeric format |
ipType |
string |
Returns the IP address type. Possible values: "IPv4" |
isBehindProxy |
boolean |
Indicates if the request was detected as delivered via proxy |
proxyIp |
string |
Returns the IP address of the proxy server (omitted if no proxy detected) |
API Endpoint
Endpoint: | /data/client-ip |
---|---|
Full URL: | https://api.bigdatacloud.net/data/client-ip |