Skip to main content
GeolocationGet Ips of geolocation
TestMu AI
StatusCommunityBlog
Geolocation

Get Ips of geolocation

This API fetches all the possible ips of geolocation. It is recommended to filter using two digit country code.

GET
/geoLocation/ips
Get Ips of geolocation
curl --request GET \
--url "https://api.lambdatest.com/automation/api/v1/geoLocation/ips" \
--header "Authorization: Basic <encoded-value>"
{
"data": {
"in": [
"0.0.0.0",
"0.0.0.0",
"0.0.0.0"
],
"us": [
"0.0.0.0",
"0.0.0.0"
]
},
"message": "Geolocation IP fetched successfully",
"status": "success"
}

Authorizations

Authorizationstringheaderrequired

Basic authentication header of the form Basic <encoded-value>, where <encoded-value> is the base64-encoded string username:password.

Query Parameters

countryCodestring

To filter ips of specific country.

Response

application/json

successful operation

dataobject
data.instring[]
Example:
["0.0.0.0","0.0.0.0","0.0.0.0"]
data.usstring[]
Example:
["0.0.0.0","0.0.0.0"]
messagestring
statusstring
Get Ips of geolocation
curl --request GET \
--url "https://api.lambdatest.com/automation/api/v1/geoLocation/ips" \
--header "Authorization: Basic <encoded-value>"
{
"data": {
"in": [
"0.0.0.0",
"0.0.0.0",
"0.0.0.0"
],
"us": [
"0.0.0.0",
"0.0.0.0"
]
},
"message": "Geolocation IP fetched successfully",
"status": "success"
}