---
title: "Returns lightweight IP information about the provided IP."
method: GET
path: "/lite/{ip}"
tags: ["ipinfo lite"]
---

# Returns lightweight IP information about the provided IP.

`GET /lite/{ip}`

## Request

- Base URL: `https://api.ipinfo.io`
- URL: `https://api.ipinfo.io/lite/{ip}`
- Auth: one of:
  - HTTP basic
  - HTTP bearer
  - API key in query parameter `token`
- TypeScript: <https://skmtc.dev/ipinfo/apis/ipinfo-io-openapi-specification/docs/lite/:ip/get.ts> (a function with typed inputs; its response is checked against the schema)

Returns lightweight IP information about the provided IP including ASN details, country, and continent information. For bogon/private IPs, returns a response with bogon: true.

## Path parameters

- `ip` string, required

## Response `200`

Lite response object or bogon response.

- union
  - LiteResponse
    - `ip` string, required
    - `asn` string, required
    - `as_name` string, required
    - `as_domain` string, required
    - `country_code` string, required
    - `country` string, required
    - `continent_code` string, required
    - `continent` string, required
  - LiteBogonResponse
    - `ip` string, required
    - `bogon` boolean, required

## Other responses

- `400`: Bad request error (invalid IP format).
- `403`: Forbidden error (authentication issues).
- `500`: Internal server error or server unavailable.

---

[API](https://skmtc.dev/ipinfo/apis/ipinfo-io-openapi-specification.md) - [All operations](https://skmtc.dev/ipinfo/apis/ipinfo-io-openapi-specification/llms.txt) - [OpenAPI document](https://skmtc.dev/ipinfo/apis/ipinfo-io-openapi-specification/revisions/c63f11e4f26e?raw)
