IP geolocation lookup

GET/{ip}

Full lookup of one IPv4 or IPv6 address: location (city, region, country, continent, lat/long, postal), ASN, carrier, languages, currency, timezone and threat flags. Trim with fields.

Listed by OrthogonalPublished by ipdataPublisher docs
curl -X POST https://api.orthogonal.com/v1/run \
-H 'Authorization: Bearer orth_live_••••' \
-H 'Content-Type: application/json' \
-d '{
"api": "ipdata",
"path": "",
"method": "GET"
}'
{
"success": true,
"data": {
"ip": "8.8.8.8",
"asn": { … },
"city": null,
"flag": "https://ipdata.co/flags/us.png",
"count": "0",
"is_eu": false,
"postal": null,
"region": null,
"threat": { … },
"currency": { … },
"latitude": 39.7599983215332,
"languages": [ 1 item ],
"longitude": -98.5,
"time_zone": { … },
"emoji_flag": "🇺🇸",
"is_anycast": true,
"region_code": null,
"region_type": null,
"calling_code": "1",
"country_code": "US",
"country_name": "United States",
"emoji_unicode": "U+1F1FA U+1F1F8",
"continent_code": "NA",
"continent_name": "North America"
}
}
A real response, recorded when Orthogonal checked this endpoint.

$0.000037per call

Path parameters

Query parameters

More from ipdata

  1. IP ASN lookupGET/{ip}/asn$0.000037 per call
  2. IP threat checkGET/{ip}/threat$0.000037 per call
  3. IP currency lookupGET/{ip}/currency$0.000037 per call
  4. IP mobile carrierGET/{ip}/carrier$0.000037 per call
  5. IP company lookupGET/{ip}/company$0.000037 per call
  6. IP timezone lookupGET/{ip}/time_zone$0.000037 per call
All 7 ipdata endpoints