---
title: "Returns IP inforomation about the current IP."
method: GET
path: "/lookup/"
---

# Returns IP inforomation about the current IP.

`GET /lookup/`

## Request

- Base URL: `https://iplocate.io/api`
- URL: `https://iplocate.io/api/lookup/`
- Auth: API key in query parameter `apikey`

Returns IP information about the current IP.

## Query parameters

- `include` string

## Response `200`

Lookup response object.

- LookupResponse
  - `ip` string
  - `country` string, nullable
  - `country_code` string, nullable
  - `is_eu` boolean
  - `city` string, nullable
  - `continent` string, nullable
  - `latitude` number, nullable
  - `longitude` number, nullable
  - `time_zone` string, nullable
  - `postal_code` string, nullable
  - `subdivision` string, nullable
  - `currency_code` string, nullable
  - `calling_code` string, nullable
  - `is_anycast` boolean
  - `is_satellite` boolean
  - `asn` object, nullable
    - `asn` string
    - `route` string
    - `netname` string
    - `name` string
    - `country_code` string
    - `domain` string
    - `type` string
    - `rir` string
  - `privacy` object
    - `is_abuser` boolean
    - `is_anonymous` boolean
    - `is_bogon` boolean
    - `is_hosting` boolean
    - `is_icloud_relay` boolean
    - `is_proxy` boolean
    - `is_tor` boolean
    - `is_vpn` boolean
  - `company` object, nullable
    - `name` string
    - `domain` string
    - `country_code` string
    - `type` string
  - `hosting` object, nullable
    - `provider` string, nullable
    - `domain` string, nullable
    - `network` string, nullable
    - `region` string, nullable
    - `service` string, nullable
  - `abuse` object, nullable
    - `address` string, nullable
    - `country_code` string, nullable
    - `email` string, nullable
    - `name` string, nullable
    - `network` string, nullable
    - `phone` string, nullable

## Other responses

- `403`: Unknown token or invalid permission.
- `429`: API quota has been reached for the token. Visit https://iplocate.io/pricing.
- `500`: Internal server error or server unavailable.

---

[API](https://skmtc.dev/iplocate/apis/iplocate-io.md) · [All operations](https://skmtc.dev/iplocate/apis/iplocate-io/llms.txt) · [OpenAPI document](https://skmtc.dev/iplocate/apis/iplocate-io/revisions/9f4d9cf31e4b?raw)
