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.

Try It Now

Use the form below to try out this API.

Parameters


Parameter Type Your Input Value
key string

Don't have an API Key? Click here to register and get your free API Key

If you already have a BigDataCloud account, to automatically fill this field with your Api Key.



Curl



Request URL



Response


Awaiting request submission...

API Pricing

  1. Monthly Subscription
    FREE 10,000 queries/month
    Additional 10,000 queries US$1.00/month
  2. Annual Subscription
    FREE 10,000 queries/month
    Additional 10,000 queries US$0.80/month

Request Format

Order

Parameter

Required

Data type

Description

1

key

Yes

string

Your API key

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)

 

Related APIs