Everything you need to integrate Gripover into your application
The Gripover API is a RESTful service that returns IP geolocation data in JSON format. Getting started is simple and requires just a few steps.
https://api.gripover.com/v1/lookup/{ip_address}
Include your API key in the request header or as a query parameter:
?apikey=YOUR_API_KEY
curl -X GET "https://api.gripover.com/v1/lookup/8.8.8.8?apikey=YOUR_API_KEY"
{
"status": "success",
"data": {
"ip": "8.8.8.8",
"type": "IPv4",
"country": "United States",
"country_code": "US",
"region": "California",
"region_code": "CA",
"city": "Mountain View",
"postal": "94043",
"latitude": 37.4056,
"longitude": -122.0775,
"timezone": "America/Los_Angeles",
"utc_offset": "-08:00",
"isp": "Google LLC",
"organization": "Google Public DNS",
"asn": "AS15169",
"currency": {
"code": "USD",
"name": "US Dollar",
"symbol": "$"
}
}
}
const apiKey = 'YOUR_API_KEY';
const ip = '8.8.8.8';
fetch(`https://api.gripover.com/v1/lookup/${ip}?apikey=${apiKey}`)
.then(response => response.json())
.then(data => {
console.log('Location:', data.data.city);
console.log('Country:', data.data.country);
})
.catch(error => console.error('Error:', error));
import requests
api_key = 'YOUR_API_KEY'
ip = '8.8.8.8'
response = requests.get(
f'https://api.gripover.com/v1/lookup/{ip}',
params={'apikey': api_key}
)
data = response.json()
print(f"City: {data['data']['city']}")
print(f"Country: {data['data']['country']}")
$apiKey = 'YOUR_API_KEY';
$ip = '8.8.8.8';
$url = "https://api.gripover.com/v1/lookup/{$ip}?apikey={$apiKey}";
$response = file_get_contents($url);
$data = json_decode($response, true);
echo "City: " . $data['data']['city'];
echo "Country: " . $data['data']['country'];
| Code | Description |
|---|---|
| 400 | Bad Request - Invalid parameters |
| 401 | Unauthorized - Invalid API key |
| 403 | Forbidden - Rate limit exceeded |
| 404 | Not Found - IP address not found |
| 500 | Server Error - Internal server error |
Rate limits vary by plan: