# IP Address Lookup & IP Locator – Bulk IP Location, ASN, ISP (`rowfeed/ip-address-lookup`) Actor

Look up any list of IP addresses or domains in bulk: country, region, city and coordinates, the network (ASN) and its owner, hosting/cloud and Tor flags, and reverse DNS. IPv4 and IPv6. $0.50 per 1,000 IPs.

- **URL**: https://apify.com/rowfeed/ip-address-lookup.md
- **Developed by:** [Rowfeed](https://apify.com/rowfeed) (community)
- **Categories:** Developer tools, Lead generation, Automation
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $0.50 / 1,000 ip looked ups

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.

Learn more: https://docs.apify.com/actors/running/actors-in-store.md#pay-per-event

## What's an Apify Actor?

An Actor is a serverless cloud program that runs on the Apify platform. It has two run modes.
In Batch mode, an Actor accepts a well-defined JSON input, performs an action which can take anything from a few seconds to a few hours,
and optionally produces a well-defined JSON output, datasets with results, or files in key-value store.
In Standby mode, an Actor provides a web server which can be used as a website, API, or an MCP server.

Apify vocabulary and the platform model are defined once, in the agent quickstart at https://apify.com/agents.md.

## How to integrate an Actor?

If asked about integration, you help developers integrate Actors into their projects.
You adapt to their stack and deliver integrations that are safe, well-documented, and production-ready.

Do not guess an integration path. Every one of them is in the agent quickstart at https://apify.com/agents.md: the Apify MCP server, Agent Skills with the Apify CLI, the JavaScript and Python clients, the REST API, and the account-free path for an agent with no human to sign in. It also carries the rule on stating cost before the first paid run.

For examples already wired to this Actor's own input schema, see the [API](#api) section below.

Each client library has reference documentation the quickstart does not restate: [JavaScript/TypeScript](https://docs.apify.com/api/client/js/docs.md) (`npm install apify-client`) and [Python](https://docs.apify.com/api/client/python/docs.md) (`pip install apify-client`).

# README

## IP Address Lookup & IP Locator – Bulk IP Location, ASN, ISP

Look up one IP address or 100,000 at once, IPv4 and IPv6. Paste IP addresses, or domains, website URLs and email addresses to look up the IPs they point to. For each IP you get:

- **Location**: country, region, city, coordinates and continent, and whether the country is in the EU.
- **Network**: the autonomous system (ASN) and its owner, so you see the ISP, hosting company or business behind the address.
- **Flags**: `is_hosting` when the network belongs to a hosting, cloud or CDN company (Amazon, Google Cloud, Hetzner, OVH, Cloudflare ...), and `is_tor` for Tor exit nodes.
- **Reverse DNS** (PTR name) of the IP.

Built for cleaning sign-up and log data, spotting bots and datacenter traffic, fraud checks, analytics by country, and finding where a website is hosted.

### Example output row

```json
{"ip": "8.8.8.8", "input": "8.8.8.8", "ip_version": 4, "country_code": "US", "country": "United States", "continent": "North America",
 "region": "California", "city": "Mountain View", "latitude": 37.422, "longitude": -122.085, "in_eu": false,
 "asn": 15169, "as_organization": "Google LLC", "is_hosting": true, "is_tor": false, "reverse_dns": "dns.google", "public": true}
```

### How to use

1. Click **Try for free** (or **Start**) at the top of this page to open the input form.
2. Fill in **IP addresses or domains**. Up to 100,000 IPv4 or IPv6 addresses. The form comes with a working example, so you can also run it as it is.
3. Click **Start** and wait for the run to finish.
4. Download the results as Excel, CSV or JSON from the **Output** tab, or get them through the Apify API, a schedule or an integration (Make, Zapier, Google Sheets ...).

### Pricing

Pay per event, no subscription:

- **$0.0005 per IP** looked up ($0.50 per 1,000).
- $0.001 per run start.

Private and reserved addresses (192.168.x.x, 10.x.x.x ...), addresses missing from the database, domains without an IP and text that is not an IP or domain are free. Works on the free Apify plan.

### Input

| Field | What it does |
|---|---|
| `ips` | IPv4 or IPv6 addresses, or domains, URLs and email addresses, up to 100,000. A domain gives up to 4 IPv4 and 2 IPv6 addresses. |

### Good to know

- Country and network are reliable. City and coordinates are approximate, as with every IP database: mobile networks and VPNs often show the provider's city, not the user's.
- Location and network data come from the free DB-IP Lite databases, refreshed every month with each build. `database_month` shows which month you got. IP Geolocation by [DB-IP](https://db-ip.com), licensed under CC BY 4.0.
- The Tor list is loaded fresh from the Tor Project at the start of each run.

### More tools from Rowfeed

- [DNS Lookup](https://apify.com/rowfeed/dns-lookup) – all DNS records, reverse DNS and DNS host of any domain.
- [Website Technology Checker](https://apify.com/rowfeed/website-technology-checker) – which CMS, analytics and tools a website uses.
- [WHOIS Lookup & DNS Checker](https://apify.com/rowfeed/domain-rdap-checker) – domain age, expiry, registrar and SSL expiry.
- [Domain Availability Checker](https://apify.com/rowfeed/domain-availability-checker) – which domains are free to register.

# Actor input Schema

## `ips` (type: `array`):

Up to 100,000 IPv4 or IPv6 addresses. A domain, URL or email address is looked up as the IPs it points to (up to 4 IPv4 and 2 IPv6). Duplicates are looked up once.

## Actor input object example

```json
{
  "ips": [
    "8.8.8.8",
    "1.1.1.1",
    "2a00:1450:4001:81c::200e",
    "apify.com"
  ]
}
```

# Actor output Schema

## `results` (type: `string`):

No description

# API

You can run this Actor programmatically using our API. Below are code examples in JavaScript, Python, and CLI, as well as the OpenAPI specification and MCP server setup.

## JavaScript example

```javascript
import { ApifyClient } from 'apify-client';

// Initialize the ApifyClient with your Apify API token
// Replace the '<YOUR_API_TOKEN>' with your token
const client = new ApifyClient({
    token: '<YOUR_API_TOKEN>',
});

// Prepare Actor input
const input = {
    "ips": [
        "8.8.8.8",
        "1.1.1.1",
        "2a00:1450:4001:81c::200e",
        "apify.com"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("rowfeed/ip-address-lookup").call(input);

// Fetch and print Actor results from the run's dataset (if any)
console.log('Results from dataset');
console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
const { items } = await client.dataset(run.defaultDatasetId).listItems();
items.forEach((item) => {
    console.dir(item);
});

// 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/js/docs

```

## Python example

```python
from apify_client import ApifyClient

# Initialize the ApifyClient with your Apify API token
# Replace '<YOUR_API_TOKEN>' with your token.
client = ApifyClient("<YOUR_API_TOKEN>")

# Prepare the Actor input
run_input = { "ips": [
        "8.8.8.8",
        "1.1.1.1",
        "2a00:1450:4001:81c::200e",
        "apify.com",
    ] }

# Run the Actor and wait for it to finish
run = client.actor("rowfeed/ip-address-lookup").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
for item in client.dataset(run.default_dataset_id).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{
  "ips": [
    "8.8.8.8",
    "1.1.1.1",
    "2a00:1450:4001:81c::200e",
    "apify.com"
  ]
}' |
apify call rowfeed/ip-address-lookup --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,rowfeed/ip-address-lookup"
        }
    }
}
```

The hosted server signs you in with OAuth on first connect, so no API token belongs in this config. Clients without OAuth support can send an `Authorization: Bearer <APIFY_API_TOKEN>` header instead, using a token from API & Integrations in Apify Console (https://console.apify.com/settings/integrations).

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/actors/FUxfE4xgVDrKY8CgC/builds/l2eJnqpZKbyPb5mM7/openapi.json
