---
title: "Check Geolocation"
method: GET
path: "/check/location"
tags: ["check"]
---

# Check Geolocation

`GET /check/location`

Get geographic location data for an IP or domain. `geo` is the raw cached
ip-api payload (or `null` when unknown) — not a schema this API controls.

## Query parameters

- `query` string

## Response `200`

Geolocation data response: `{"geo": <raw ip-api payload> | null}`

- LocationResponse
  - `geo` object, nullable

## Other responses

- `400` — Missing query parameter
- `401` — Unauthorized - Missing or invalid API key
- `429` — Too many requests - Rate limit exceeded

## Changes

- **2026-08-31** `9d9ef31d83e5` — 12 breaking, 5 warning, 1 info
  - the response property `geo` became nullable for the status `200`
  - the response property `message` became nullable for the status `400`
  - the response property `message` became nullable for the status `401`
  - the response property `message` became nullable for the status `429`
  - …14 more
- **2026-08-30** `aa5294fdc8d8` — 1 warning
  - deleted the `path` request parameter `track_reports`

[Change history](https://skmtc.dev/ismalicious/apis/ismalicious-threat-intelligence-api/changes/check/location/get.md)

---

[API](https://skmtc.dev/ismalicious/apis/ismalicious-threat-intelligence-api.md) · [All operations](https://skmtc.dev/ismalicious/apis/ismalicious-threat-intelligence-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/ismalicious/ismalicious-threat-intelligence-api/revisions/9d9ef31d83e5/schema)
