Abstract API · JSON Structure

Ip Geolocation Ip Geolocation Response Structure

IP geolocation response data

Type: object Properties: 20
AvatarsCompany EnrichmentContactsCurrenciesEmail ValidationExchange RatesIBAN ValidationImage ProcessingIP GeolocationIP IntelligencePhone ValidationPublic HolidaysScreenshotsTimezonesVAT ValidationWeb Scraping

IPGeolocationResponse is a JSON Structure definition published by Abstract API, describing 20 properties. It conforms to the https://json-structure.org/meta/core/v0/# meta-schema.

Properties

ip_address city city_geoname_id region region_iso_code region_geoname_id postal_code country country_code country_geoname_id country_is_eu continent continent_code continent_geoname_id longitude latitude security timezone flag currency

Meta-schema: https://json-structure.org/meta/core/v0/#

JSON Structure

Raw ↑
{
  "$schema": "https://json-structure.org/meta/core/v0/#",
  "$id": "https://raw.githubusercontent.com/api-evangelist/abstract-api/refs/heads/main/json-structure/ip-geolocation-ip-geolocation-response-structure.json",
  "name": "IPGeolocationResponse",
  "description": "IP geolocation response data",
  "type": "object",
  "properties": {
    "ip_address": {
      "type": "string",
      "description": "The queried IP address",
      "example": "8.8.8.8"
    },
    "city": {
      "type": "string",
      "description": "City name",
      "example": "Mountain View"
    },
    "city_geoname_id": {
      "type": "int32",
      "description": "Geonames ID for the city",
      "example": 5375480
    },
    "region": {
      "type": "string",
      "description": "Region or state name",
      "example": "California"
    },
    "region_iso_code": {
      "type": "string",
      "description": "ISO region code",
      "example": "CA"
    },
    "region_geoname_id": {
      "type": "int32",
      "description": "Geonames ID for the region",
      "example": 5332921
    },
    "postal_code": {
      "type": "string",
      "description": "Postal or ZIP code",
      "example": "94043"
    },
    "country": {
      "type": "string",
      "description": "Country name",
      "example": "United States"
    },
    "country_code": {
      "type": "string",
      "description": "ISO 3166-1 alpha-2 country code",
      "example": "US"
    },
    "country_geoname_id": {
      "type": "int32",
      "description": "Geonames ID for the country",
      "example": 6252001
    },
    "country_is_eu": {
      "type": "boolean",
      "description": "Whether the country is in the EU",
      "example": false
    },
    "continent": {
      "type": "string",
      "description": "Continent name",
      "example": "North America"
    },
    "continent_code": {
      "type": "string",
      "description": "Continent code",
      "example": "NA"
    },
    "continent_geoname_id": {
      "type": "int32",
      "description": "Geonames ID for the continent",
      "example": 6255149
    },
    "longitude": {
      "type": "double",
      "description": "Longitude coordinate",
      "example": -122.0838
    },
    "latitude": {
      "type": "double",
      "description": "Latitude coordinate",
      "example": 37.386
    },
    "security": {
      "$ref": "#/components/schemas/SecurityInfo"
    },
    "timezone": {
      "$ref": "#/components/schemas/TimezoneInfo"
    },
    "flag": {
      "$ref": "#/components/schemas/FlagInfo"
    },
    "currency": {
      "$ref": "#/components/schemas/CurrencyInfo"
    }
  }
}