IP API
Identify suspicious VPN and proxy connections and pinpoint users with accurate geolocation information.
Good to know
- Use the Fraud API if you want to use the IP API together with any of our Email API, Phone API, and Device Fingerprinting.
- All SEON API requests are case-sensitive. Please follow the formatting below to avoid errors.
- IP API requests are limited to 120/minute during your SEON free trial.
Request
The [ip]
in the request URI should include the full IPv4 or IPv6 address, example: 1.1.1.1
or 2001:db8:3333:4444:5555:6666:7777:8888
.
Optional query string parameters
In order to request additional or receive less information, use following parameters in the request URL as in the example below:
Request Attributes | Value | Required | |
---|---|---|---|
include | history | no | |
include | flags | no | |
include | id | no | |
flags_timeframe_days | [number of days] | no | |
HTTP Endpoint
PHP
Generic
Generic
Response
The endpoint returns JSON structured response.
JSON Attributes | Type | |
---|---|---|
ip | string | |
score | number | |
country | string | |
state_prov | string | |
city | string | |
timezone_offset | string | |
isp_name | string | |
latitude | number | |
longitude | number | |
type | string | |
open_ports | array | |
tor | boolean | |
harmful | boolean | |
vpn | boolean | |
web_proxy | boolean | |
public_proxy | boolean | |
spam_number | integer | |
spam_urls | array | |
applied_rules | array of object | |
history | object | |
flags | array of object | |
id | string | |