LookupSuccessResponse: {
    cityName: string;
    continent: string;
    continentCode: string;
    countryCode: string;
    countryName: string;
    currency: Currency;
    ipAddress: string;
    ipVersion: 4 | 6;
    isProxy: boolean;
    language: string;
    latitude: number;
    longitude: number;
    regionName: string;
    timeZone: string;
    timeZones: string[];
    tlds: string[];
    zipCode: string;
}

Type declaration

  • cityName: string
  • continent: string
  • continentCode: string

    ISO code e.g. EU

  • countryCode: string

    ISO 3166-1 alpha-2 e.g. US

  • countryName: string
  • currency: Currency
  • ipAddress: string
  • ipVersion: 4 | 6
  • isProxy: boolean

    It shows that if the IP is used as a public proxy or not

  • language: string

    The language of the country e.g. English

  • latitude: number
  • longitude: number
  • regionName: string
  • timeZone: string

    The time zone offset of the IP address location e.g. +02:00

  • timeZones: string[]

    A list of Timezones related to the same country e.g. ["America/Detroit"]

  • tlds: string[]

    List of TLDs of the country e.g. [".us"]

  • zipCode: string