---
title: "Get client geolocation"
method: GET
path: "/ip"
tags: ["Geolocation"]
---

# Get client geolocation

`GET /ip`

Resolves the approximate location of the requesting client from its IP address, together with the locations where age restricted content is gated or unavailable.

## Response `200`

Success

- GeolocationResponse
  - `countryCode` string, nullable, required — ISO 3166-1 alpha-2 country code resolved for the client, or null when it cannot be resolved
  - `regionCode` string, nullable, required — ISO 3166-2 subdivision code resolved for the client, or null when it cannot be resolved
  - `latitude` string, nullable, required — Approximate latitude of the client, or null when it cannot be resolved
  - `longitude` string, nullable, required — Approximate longitude of the client, or null when it cannot be resolved
  - `ageRestrictedGeos` GeoEntry[], required — Locations where age restricted content requires an age check
    - `countryCode` string, required — ISO 3166-1 alpha-2 country code
    - `regionCode` string, nullable, required — ISO 3166-2 subdivision code, or null when the entry covers the whole country
  - `ageBlockedGeos` GeoEntry[], required — Locations where age restricted content is unavailable
    - `countryCode` string, required — ISO 3166-1 alpha-2 country code
    - `regionCode` string, nullable, required — ISO 3166-2 subdivision code, or null when the entry covers the whole country

## Other responses

- `400` — Bad Request - The request was malformed or contained invalid data
- `429` — Too Many Requests - You are being rate limited
- `500` — Internal Server Error - An unexpected error occurred

---

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