GeoIP icon

GeoIP

Lookup location or ASN information from an IP address

Overview

The GeoIP node in n8n performs geolocation lookups based on IP addresses, providing location or Autonomous System Number (ASN) information. It supports multiple languages and offers simplified output options.

Use Case Examples

  1. Determining the geographic location of a user's IP address for content localization.
  2. Retrieving ASN details for network analysis based on an IP address.

Properties

Name Meaning
ip The IP address to be looked up for geolocation or ASN information.
simplifyOutput Determines whether to return a simplified version of the response instead of the raw data.
options Additional settings for the lookup, including output field name and language for location names.

Output

JSON

  • location - Contains the geographic location information, such as city, country, and coordinates.
  • asn - Contains the Autonomous System Number information related to the IP address.

Dependencies

  • An API key credential for the geolocation service.

Troubleshooting

  • Ensure the IP address provided is valid and accessible.
  • Verify that the geolocation service is operational and the API key is correct.
  • Check for network connectivity issues that might prevent the lookup from completing.

Links

  • n8n-nodes-geoip - An n8n community node for looking up geo information from an IP address.

Discussion