> ## Documentation Index
> Fetch the complete documentation index at: https://docs.compliapi.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Geolocation

> Geolocate an IP and flag sanctioned countries

Also callable without a path parameter — `GET /geo` evaluates the calling client's IP. `sanctioned` is true when the IP's country carries a sanctions designation, with `source_url` pointing at the program.

<ParamField path="ip_address" type="string">
  The IP address to geolocate. Omit (call `GET /geo`) to evaluate the calling client's IP.
</ParamField>

```json Example response theme={null}
{ "ip": "91.218.114.206", "city": "Moscow", "region": "Moscow", "country": "RU", "sanctioned": true, "source_url": "..." }
```


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.