Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- {
- "host": {
- "ipv4": "123.45.67.89",
- "hostname": "the.host.name", // or `null` if reverse DNS lookup failed
- "address": {
- /* if IP is in a private range (e.g. 192.168.0.1) */
- "city": "private",
- "country": "private"
- "geo": {
- "latitude": null,
- "longitude": null
- }
- /* otherwise
- (depending on geocoding accuracy, any of these may be `null`) */
- "city": "The City",
- "country": "THE COUNTRY (CODE)",
- "geo": {
- "latitude": 12.3456,
- "longitude": 34.5678
- }
- }
- }
- }
Add Comment
Please, Sign In to add comment