Instantly Retrieve Accurate Geographical Information for any IPv4 Address. Enhance cybersecurity, target content, and manage access with our GeoIP Lookup of OneFirewall
You can call the API /api/v1/info/<IPv4>
in order to receive GeoIP information for the IPv4. This API is useful when you want to verify public data in regards to the GeoIP of any IPv4.
GET /api/v1/info/<IPv4> HTTP/1.1
Host: app.onefirewall.com
Authorization: Bearer PLACE_YOUR_OWN_TOKEN_HERE
Variable | Possible Values | Notes |
---|---|---|
IPv4 | IPv4 (String) | A single IP |
The output of a JSON
{
"status": "success",
"continent": "North America",
"continentCode": "NA",
"country": "United States",
"countryCode": "US",
"region": "VA",
"regionName": "Virginia",
"city": "Ashburn",
"district": "",
"zip": "20149",
"lat": 39.03,
"lon": -77.5,
"timezone": "America/New_York",
"offset": -14400,
"currency": "USD",
"isp": "Google LLC",
"org": "Google Public DNS",
"as": "AS15169 Google LLC",
"asname": "GOOGLE",
"reverse": "dns.google",
"mobile": false,
"proxy": false,
"hosting": true,
"query": "8.8.8.8"
}
You can call the API /api/v1/info/domain/<domani_name>
in order to receive an array IPs resolved for the Domain name.
GET /api/v1/info/domain/<domain_name> HTTP/1.1
Host: app.onefirewall.com
Authorization: Bearer PLACE_YOUR_OWN_TOKEN_HERE
Variable | Possible Values | Notes |
---|---|---|
domain_name | Any valid Domain name (String) | A single domain |
The output of a JSON
[
"172.67.129.97",
"104.21.2.162"
]
To retrieve a list of well-known Content Delivery Network (CDN) providers along with their respective edge IP addresses, you can utilize the /api/v1/info/cdn/list
endpoint. The data provided by this API is generally static, yet the R&D team at OneFirewall periodically updates it. It’s worth noting that CDN providers frequently acquire new IP addresses, making it impossible to guarantee that the following list is exhaustive at any given moment.
GET /api/v1/info/cdn/list HTTP/1.1
Host: app.onefirewall.com
Authorization: Bearer PLACE_YOUR_OWN_TOKEN_HERE
none
[
{
"name": "<CDN NAME>",
"addresses": [
"<single ip>",
"<CIDR>",
...
]
},
...
]