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

# IP Restrictions

> LENS API enforces geographic and abuse-based IP restrictions before authentication. Requests are only accepted from SE, NO, DK, FI, DE.

The API enforces geographic IP restrictions to protect against unauthorized access. These checks run **before** authentication and rate limiting.

## Allowed countries

Requests are only accepted from the following countries:

| Country | Code |
| ------- | ---- |
| Sweden  | `SE` |
| Norway  | `NO` |
| Denmark | `DK` |
| Finland | `FI` |
| Germany | `DE` |

Requests originating from other countries receive `403 Forbidden`.

## Abuse detection

Each IP address is checked against an abuse database. If the IP has a positive abuse-confidence score, the request is blocked with `403 Forbidden`.

Abuse check results are cached for **7 days** per IP to minimize lookup overhead.

## Error responses

Blocked requests return `403 Forbidden` with one of the following messages:

| Message                                         | Cause                                    |
| ----------------------------------------------- | ---------------------------------------- |
| `Forbidden IP-address, contact support@tic.io.` | IP flagged for abuse                     |
| `Forbidden country, contact support@tic.io.`    | IP originates from a non-allowed country |

## Need access from another country?

If you need API access from a country not in the allowed list, contact [support@tic.io](mailto:support@tic.io) to discuss your requirements.
