Geolocation › Get Ips of geolocation
Geolocation
Get Ips of geolocation This API fetches all the possible ips of geolocation. It is recommended to filter using two digit country code.
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 Authorization string header required
Basic authentication header of the form Basic <encoded-value>, where <encoded-value> is the base64-encoded string username:password.
Query Parameters countryCode string
To filter ips of specific country.
Response 200▼
application/json successful operation
data object
▶ Hide child attributesdata. in string[]
Example: ["0.0.0.0","0.0.0.0","0.0.0.0"]
data. us string[]
Example: ["0.0.0.0","0.0.0.0"]
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"
}