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.
Input
Output fields
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.

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
n8n
Make
Zapier
Airbyte
Keboola
IFTTT
Hubspot
GDrive
Gmail
Apify MCP
GitHub
Slack
LangChain
LlamaIndex
Flowise
Pinecone
OpenAI
Mastra
Clay