Go to example tasks

Geolocate IP addresses from a log or text

Paste a server log, e-mail header or any text: the actor finds every IP address in it and returns country, city and ASN for each.

Try for free
IP Geolocation API: Bulk IP Lookup, Country, City & ASN
IP Geolocation API: Bulk IP Lookup, Country, City & ASNsolidfetch/ip-geolocation
Input
IP address
Valid IP
IP version
+23 fields
Text
Number
Boolean
List
Object

Input

Or paste text that contains IPs:Failed login from 8.8.8.8 at 10:02, then 1.1.1.1 and 80.67.169.12 tried the same account.
IP addresses:8.8.8.8+6

Output fields

Input
IP address
Valid IP
IP version
Private
Reserved
Found in database
Continent code
Country code
Country
EU member
Region
City
Latitude (approximate)
Longitude (approximate)
Timezone (IANA)
ASN
AS organisation
Hosting network (heuristic)
Cloud provider
Network type
Reason
Explanation
Repeat of
Source
Database month
Checked at

How it works

Sign up on Apify or log in

The IP Geolocation API: Bulk IP Lookup, Country, City & ASN Actor is ready to run with the inputs already set for "Geolocate IP addresses from a log or text". Sign up or log in and you'll land in Apify Console with a copy of this exact task.

Start the "Geolocate IP addresses from a log or text" task

The IP Geolocation API: Bulk IP Lookup, Country, City & ASN Actor will start running based on the input automatically. You can also change all the input fields, like or paste text that contains ips and IP addresses, to match your specific use case.

Receive the "Geolocate IP addresses from a log or text" output

Monitor the progress in real time. You will be notified as soon as your dataset is complete and ready for review. Each result includes data such as input, IP address, valid ip, and more.

Integrate into your workflow

The final output is delivered in JSON, CSV, or Excel format, ready to be plugged into your workflow. You can also run the "Geolocate IP addresses from a log or text" task via API.

Image

Integrate "Geolocate IP addresses from a log or text" into your workflow

Connect "Geolocate IP addresses from a log or text" with 100+ integrations, or run it via API or MCP.

Webhook

Webhook

n8n

n8n

Make

Make

Zapier

Zapier

Airbyte

Airbyte

Keboola

Keboola

IFTTT

IFTTT

Hubspot

Hubspot

GDrive

GDrive

Gmail

Gmail

Apify MCP

Apify MCP

GitHub

GitHub

Slack

Slack

LangChain

LangChain

LlamaIndex

LlamaIndex

Flowise

Flowise

Pinecone

Pinecone

OpenAI

OpenAI

Mastra

Mastra

Clay

Clay