---
title: "Look up a specific IP"
method: GET
path: "/{ip}"
---

# Look up a specific IP

`GET /{ip}`

## Path parameters

- `ip` string, ipv4 or ipv6, required

## Query parameters

- `fields` string

## Response `200`

Successful lookup

- LookupResult
  - `ip` string, required
  - `country` string, nullable, required
  - `city` string, nullable
  - `continent` string, nullable
  - `subdivision` string, nullable
  - `postal` string, nullable
  - `location` object, nullable
    - `latitude` number
    - `longitude` number
    - `accuracy_radius` integer
    - `time_zone` string, nullable
  - `asn` object, nullable
    - `number` integer
    - `organization` string

## Other responses

- `404` — IP could not be resolved
- `422` — Invalid input

---

[API](https://skmtc.net/lineofflight/apis/country.md) · [All operations](https://skmtc.net/lineofflight/apis/country/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/lineofflight/country/versions/b2ef1b167513/schema)
