Maxmind Geolite2
The MaxMind GeoLite2 connector integrates with Swimlane to get geographical information and ASN information for an IP.
Prerequisites
There are no prerequisites for MaxMind Geolite2.
Capabilities
The MaxMind GeoLite2 connector has the following capabilities:
- Get Geographical Information for IP
- Get ASN Information for IP
Notes
This product includes GeoLite2 data created by MaxMind, available at: http://www.maxmind.com
Actions
ASN Lookup
Get ASN for an IP using GeoLite2
Endpoint
- Method: GET
Input
Argument Name | Type | Required | Description |
|---|---|---|---|
ipAddress | string | Required | Parameter for ASN Lookup |
Input Example
{"ipAddress":"1.0.0.127"}
Output
Parameter | Type | Description |
|---|---|---|
autonomousSystemNumber | number | Output field: autonomousSystemNumber |
autonomousSystemOrganization | string | Output field: autonomousSystemOrganization |
ipAddress | string | Output field: ipAddress |
Output Example
{"autonomousSystemNumber":13335,"autonomousSystemOrganization":"CLOUDFLARENET","ipAddress":"1.0.0.127"}
Geo Lookup
Get geographical data for an IP using GeoLite2
Endpoint
- Method: GET
Input
Argument Name | Type | Required | Description |
|---|---|---|---|
ipAddress | string | Required | Parameter for Geo Lookup |
Input Example
{"ipAddress":"1.0.0.127"}
Output
Parameter | Type | Description |
|---|---|---|
cityName | string | Name of the resource |
continentName | string | Name of the resource |
continentCode | string | Output field: continentCode |
countryIsInEU | boolean | Output field: countryIsInEU |
countryISOCode | string | Output field: countryISOCode |
countryName | string | Name of the resource |
locationAccuracyRadius | number | Output field: locationAccuracyRadius |
locationLatitude | number | Output field: locationLatitude |
locationLongitude | number | Output field: locationLongitude |
locationMetroCode | object | Output field: locationMetroCode |
locationTimeZone | string | Output field: locationTimeZone |
registeredCountryIsInEU | boolean | Output field: registeredCountryIsInEU |
registeredCountryISOCode | string | Output field: registeredCountryISOCode |
registeredCountryName | string | Name of the resource |
representedCountryIsInEU | boolean | Output field: representedCountryIsInEU |
representedCountryISOCode | object | Output field: representedCountryISOCode |
representedCountryName | object | Name of the resource |
representedCountryType | object | Type of the resource |
subdivisionISOCode | string | Output field: subdivisionISOCode |
subdivisionName | string | Name of the resource |
ipAddress | string | Output field: ipAddress |
Output Example
{"cityName":"Melbourne","continentName":"Oceania","continentCode":"OC","countryIsInEU":false,"countryISOCode":"AU","countryName":"Australia","locationAccuracyRadius":500,"locationLatitude":-37.8333,"locationLongitude":145.2375,"locationMetroCode":null,"locationTimeZone":"Australia/Melbourne","registeredCountryIsInEU":false,"registeredCountryISOCode":"AU","registeredCountryName":"Australia","representedCountryIsInEU":false}
Response Headers
Header | Description | Example |
|---|---|---|
Content-Type | The media type of the resource | application/json |
Date | The date and time at which the message was originated | Thu, 01 Jan 2024 00:00:00 GMT |