Abstract API · JSON Structure

Ip Intelligence Location Info Structure

Geographic location for the IP

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

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

Properties

city region country country_code latitude longitude

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-intelligence-location-info-structure.json",
  "name": "LocationInfo",
  "description": "Geographic location for the IP",
  "type": "object",
  "properties": {
    "city": {
      "type": "string",
      "description": "City name",
      "example": "Mountain View"
    },
    "region": {
      "type": "string",
      "description": "Region or state",
      "example": "California"
    },
    "country": {
      "type": "string",
      "description": "Country name",
      "example": "United States"
    },
    "country_code": {
      "type": "string",
      "description": "ISO 3166-1 alpha-2 country code",
      "example": "US"
    },
    "latitude": {
      "type": "double",
      "description": "Latitude",
      "example": 37.386
    },
    "longitude": {
      "type": "double",
      "description": "Longitude",
      "example": -122.0838
    }
  }
}