# City IP Geolocation

**Use case:** 

Extract IP Geolocation data filtered by city. Export structured results ready for analysis, lead generation, or research.

## Input

```json
{
  "maxItems": 10,
  "ips": [
    "8.8.8.8",
    "1.1.1.1",
    "208.67.222.222",
    "9.9.9.9",
    "4.2.2.1"
  ],
  "fields": [
    "city"
  ]
}
```

## Output

```json
{
  "ip": {
    "label": "IP",
    "format": "text"
  },
  "version": {
    "label": "Version",
    "format": "text"
  },
  "city": {
    "label": "City",
    "format": "text"
  },
  "region": {
    "label": "Region",
    "format": "text"
  },
  "regionCode": {
    "label": "Region Code",
    "format": "text"
  },
  "countryName": {
    "label": "Country",
    "format": "text"
  },
  "countryCode": {
    "label": "ISO 2",
    "format": "text"
  },
  "countryCodeIso3": {
    "label": "ISO 3",
    "format": "text"
  },
  "countryCapital": {
    "label": "Capital",
    "format": "text"
  },
  "countryTld": {
    "label": "TLD",
    "format": "text"
  },
  "continentCode": {
    "label": "Continent",
    "format": "text"
  },
  "inEu": {
    "label": "In EU",
    "format": "boolean"
  },
  "postal": {
    "label": "Postal",
    "format": "text"
  },
  "latitude": {
    "label": "Latitude",
    "format": "number"
  },
  "longitude": {
    "label": "Longitude",
    "format": "number"
  },
  "timezone": {
    "label": "Timezone",
    "format": "text"
  },
  "utcOffset": {
    "label": "UTC Offset",
    "format": "text"
  },
  "countryCallingCode": {
    "label": "Calling Code",
    "format": "text"
  },
  "currency": {
    "label": "Currency",
    "format": "text"
  },
  "currencyName": {
    "label": "Currency Name",
    "format": "text"
  },
  "languages": {
    "label": "Languages",
    "format": "text"
  },
  "countryArea": {
    "label": "Country Area (km²)",
    "format": "number"
  },
  "countryPopulation": {
    "label": "Country Population",
    "format": "number"
  },
  "asn": {
    "label": "ASN",
    "format": "text"
  },
  "org": {
    "label": "Organization",
    "format": "text"
  },
  "scrapedAt": {
    "label": "Collected",
    "format": "date"
  },
  "error": {
    "label": "Error",
    "format": "text"
  }
}
```

## About this Actor

This example demonstrates how to use [IP Geolocation Scraper](https://apify.com/parseforge/ipapi-geolocation-scraper) with a specific input configuration. Visit the [Actor detail page](https://apify.com/parseforge/ipapi-geolocation-scraper) to learn more, explore other use cases, and run it yourself.