Feel free to reach techsupport@surepass.io for any technical support or guidance.
Authorization header as Bearer YOUR_JWT_TOKEN.https://sandbox.surepass.apphttps://kyc-api.surepass.app| Header | Required | Description |
|---|---|---|
| Authorization | Yes | Bearer token for authentication. Format: Bearer YOUR_JWT_TOKEN |
| Content-Type | Yes | Must be set to application/json |
| Parameter | Type | Required | Description |
|---|---|---|---|
| ip_address | string | Yes | The IP address to be analyzed. Supports only IPv4 format. |
{
"ip_address": "104.28.193.11"
}| Parameter | Type | Description |
|---|---|---|
| data | object | Container object holding the complete IP analysis results |
| data.client_id | string | Unique identifier for this API |
| data.ip_address | string | The IP address that was analyzed |
| data.details | object | Detailed information about the IP address |
| data.details.type | string | IP address type |
| data.details.continent_code | string | Two-letter continent code |
| data.details.continent_name | string | Full name of the continent |
| data.details.country_code | string | Two-letter ISO country code |
| data.details.country_name | string | Full country name |
| data.details.region_code | string | Region or state code |
| data.details.region_name | string | Full region or state name |
| data.details.city | string | City name |
| data.details.zip | string | Postal/ZIP code |
| data.details.latitude | number | Geographical latitude coordinate |
| data.details.longitude | number | Geographical longitude coordinate |
| data.details.msa | string | Metropolitan Statistical Area code |
| data.details.dma | string | Designated Market Area code |
| data.details.radius | string | Accuracy radius in kilometers |
| data.details.ip_routing_type | string | Type of IP routing |
| data.details.connection_type | string | Connection type identifier |
| data.details.location | object | Additional location metadata |
| data.details.location.geoname_id | string | GeoNames database identifier |
| data.details.location.capital | string | Capital city of the country |
| data.details.location.languages | array | Array of language objects spoken in the location |
| data.details.location.languages[].code | string | ISO language code |
| data.details.location.languages[].name | string | English name of the language |
| data.details.location.languages[].native | string | Native name of the language |
| data.details.security | object | Security analysis and threat detection information |
| data.details.security.is_proxy | boolean | Indicates if the IP is identified as a proxy |
| data.details.security.proxy_type | string/null | Type of proxy if detected |
| data.details.security.is_crawler | boolean/null | Indicates if the IP is associated with web crawlers |
| data.details.security.crawler_name | string/null | Name of the crawler if detected |
| data.details.security.crawler_type | string/null | Type of crawler if detected |
| data.details.security.is_tor | boolean | Indicates if the IP is part of the Tor network |
| data.details.security.threat_level | string/null | Overall threat level assessment |
| data.details.security.threat_types | array/null | Array of specific threat types identified |
| data.details.security.proxy_last_detected | string/null | Timestamp when proxy was last detected |
| data.details.security.proxy_level | string/null | Level or anonymity of the proxy |
| data.details.security.vpn_service | boolean | Indicates if the IP is associated with VPN services |
| data.details.security.anonymizer_status | string/null | Status of anonymization service usage |
| data.details.security.hosting_facility | boolean/null | Indicates if IP belongs to a hosting facility |
| status_code | integer | HTTP status code of the response |
| success | boolean | Indicates if the request was processed successfully |
| message | string | Human-readable message describing the response |
| message_code | string | Machine-readable message code for programmatic handling |
{
"data": {
"client_id": "vpn_check_YSZewCsswUoPidLbizZl",
"ip_address": "104.28.193.11",
"details": {
"type": "ipv4",
"continent_code": "AS",
"continent_name": "Asia",
"country_code": "IN",
"country_name": "India",
"region_code": "DL",
"region_name": "Delhi",
"city": "Delhi",
"zip": "110006",
"latitude": 28.635299682617188,
"longitude": 77.2249984741211,
"msa": "110006",
"dma": "110006",
"radius": "110006",
"ip_routing_type": "fixed",
"connection_type": "tx",
"location": {
"geoname_id": "1273294",
"capital": "New Delhi",
"languages": [
{
"code": "hi",
"name": "Hindi",
"native": "हिन्दी"
},
{
"code": "en",
"name": "English",
"native": "English"
}
]
},
"security": {
"is_proxy": false,
"proxy_type": null,
"is_crawler": null,
"crawler_name": null,
"crawler_type": null,
"is_tor": false,
"threat_level": null,
"threat_types": null,
"proxy_last_detected": null,
"proxy_level": null,
"vpn_service": true,
"anonymizer_status": null,
"hosting_facility": null
}
}
},
"status_code": 200,
"success": true,
"message": "Success",
"message_code": "success"
}{
"status_code": 400,
"success": false,
"message": "Invalid IP address format",
"message_code": "invalid_ip_format"
}curl --location --request POST 'https://kyc-api.surepass.app/api/v1/vpn/vpn-check' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data-raw '{
"ip_address": "104.28.193.11"
}'{
"data": {
"client_id": "vpn_check_YSZewCsswUoPidLbizZl",
"ip_address": "104.28.193.11",
"details": {
"type": "ipv4",
"continent_code": "AS",
"continent_name": "Asia",
"country_code": "IN",
"country_name": "India",
"region_code": "DL",
"region_name": "Delhi",
"city": "Delhi",
"zip": "110006",
"latitude": 28.635299682617188,
"longitude": 77.2249984741211,
"msa": "110006",
"dma": "110006",
"radius": "110006",
"ip_routing_type": "fixed",
"connection_type": "tx",
"location": {
"geoname_id": "1273294",
"capital": "New Delhi",
"languages": [
{
"code": "hi",
"name": "Hindi",
"native": "हिन्दी"
},
{
"code": "en",
"name": "English",
"native": "English"
}
]
},
"security": {
"is_proxy": false,
"proxy_type": null,
"is_crawler": null,
"crawler_name": null,
"crawler_type": null,
"is_tor": false,
"threat_level": null,
"threat_types": null,
"proxy_last_detected": null,
"proxy_level": null,
"vpn_service": true,
"anonymizer_status": null,
"hosting_facility": null
}
}
},
"status_code": 200,
"success": true,
"message": "Success",
"message_code": "success"
}