Every decision provided by Arcjet includes IP address analysis. You can use this
to customize your response based on the IP location.
Available fields
- Latitude and longitude. Pro
- Postal code e.g.
94104
. Pro
- City e.g.
San Francisco
. Pro
- Region e.g.
California
. Pro
- Country e.g.
US
. Free Pro
- Country name e.g.
United States
. Free Pro
- Continent e.g.
NA
. Pro
- Continent name e.g.
North America
. Pro
Note that the availability of these fields depends on your pricing plan,
indicated by the badge next to each field.
Checking for data
The IP location fields may be undefined
, but you can use various methods to
check their availability. See the SDK reference for details.
Examples
Block all countries except US
Block all countries except US, UK, Japan