RawLookupFullSuccessResponse: {
    as: string;
    asname: string;
    city: string;
    continent: string;
    continentCode: string;
    country: string;
    countryCode: string;
    currency: string;
    district: string;
    hosting: boolean;
    isp: string;
    lat: number;
    lon: number;
    message?: LookupErrorMessage;
    mobile: boolean;
    offset: number;
    org: string;
    proxy: boolean;
    query: string;
    region: string;
    regionName: string;
    reverse: string;
    status: "success" | "fail";
    timezone: string;
    zip: string;
}

All fields of this response depends on the fields param

Type declaration

  • as: string
  • asname: string
  • city: string
  • continent: string
  • continentCode: string

    ISO code e.g. EU

  • country: string
  • countryCode: string

    ISO 3166-1 alpha-2

  • currency: string

    National currency e.g. USD

  • district: string

    District (subdivision of city)

  • hosting: boolean

    is big hosting provider (oracle, google and etc)

  • isp: string
  • lat: number
  • lon: number
  • Optionalmessage?: LookupErrorMessage

    for error messages

  • mobile: boolean
  • offset: number

    Timezone UTC DST offset in seconds

  • org: string
  • proxy: boolean

    is Proxy, VPN or Tor exit address

  • query: string

    IP used for the query

  • region: string

    Region/state short code (FIPS or ISO)

  • regionName: string
  • reverse: string

    Reverse DNS of the IP (can delay response) e.g wi-in-f94.1e100.net

  • status: "success" | "fail"
  • timezone: string

    e.g. America/Detroit

  • zip: string