Skip to main content
POST
/
v1
/
tools
/
checkProxy
Check proxy
curl --request POST \
  --url https://api.example.com/v1/tools/checkProxy \
  --header 'Content-Type: application/json' \
  --header 'X-Api-Key: <api-key>' \
  --data '
{
  "host": "geo.g-w.info",
  "port": 10080,
  "username": "username",
  "password": "password",
  "protocol": "http"
}
'
{
  "ip": "123.45.67.89",
  "country": "United States",
  "stateProv": "California",
  "city": "San Francisco"
}

Authorizations

X-Api-Key
string
header
required

Body

application/json

Proxy configuration

host
string
required

Proxy hostname

Example:

"geo.g-w.info"

port
number
required

Proxy port

Example:

10080

username
string
required

Proxy username

Example:

"username"

password
string
required

Proxy password

Example:

"password"

protocol
string
default:http

Proxy protocol

Example:

"http"

Response

Successful response

ip
string
required

Proxy IP address

Example:

"123.45.67.89"

country
string
required

Proxy country

Example:

"United States"

stateProv
string
required

Proxy state/province

Example:

"California"

city
string
required

Proxy city

Example:

"San Francisco"