IP Restrictions
LENS API enforces geographic and abuse-based IP restrictions before authentication.
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 countries enabled for the API. Requests originating from other countries receive 403 Forbidden. Contact us if you need access from a country that is not enabled.
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 to discuss your requirements.