How to integrate IP Trust into your application.
Use your API key to authenticate requests to the IP Trust API. Your API key is available from the API Key section in the dashboard. Your API key should be supplied in the X-API-Key request header.
Look up intelligence data for the supplied IPv4 or IPv6 address. Pass the target IP as a path parameter and your API key in the X-API-Key request header. The response is a single JSON object containing all data points available on your plan.
The API uses standard HTTP status codes. Successful lookups always return 200.
| Code | Description |
|---|---|
| 200 OK | Successful lookup. The response body contains the IP intelligence JSON object. |
| 400 | Bad request. The IP address is missing or not a valid IPv4/IPv6 address. |
| 401 | Unauthorized. The API key is missing or invalid. |
| 403 | Forbidden. Your API key does not have access to this resource. |
| 429 | Rate limited. You have exceeded your plan's request quota or rate limit. |
| 500 | Internal server error. An unexpected error occurred. Please retry or contact support. |
A successful 200 response returns a JSON object with the following fields. The fields you receive depend on your plan. Higher-tier plans include all fields from lower tiers.
| JSON Field | Description | Plans |
|---|---|---|
| { | ||
| "ip": "74.148.39.34", | The queried IP address, echoed back in the response. | Essential Plus Premium |
| "is_bogon": false, | Whether the IP belongs to a bogon (unroutable/reserved) range. | Essential Plus Premium |
| "asn": { | ||
| "number": "AS8075", | The Autonomous System Number that announces this IP prefix. | Essential Plus Premium |
| "name": "MICROSOFT-CORP-MSN-AS-BLOCK", | The registered name of the AS as listed by the RIR. | Essential Plus Premium |
| "company": "Microsoft Corporation", | The legal organisation name that owns the AS. | Essential Plus Premium |
| "country": "US", | ISO 3166-1 alpha-2 country code where the AS is registered. | Essential Plus Premium |
| "route": "74.144.0.0/12", | The most-specific BGP route prefix that contains this IP. | Essential Plus Premium |
| "rir": "ARIN", | The Regional Internet Registry responsible for this address block (e.g. ARIN, RIPE, APNIC). | Essential Plus Premium |
| "domain": "www.microsoft.com", | optional Primary domain associated with the AS owner, if available. | Essential Plus Premium |
| "type": "hosting", | optionalClassification of the AS, if available. One of: isp, hosting, business, government, education. |
Plus Premium |
| "description": "Provides consumer and enterprise software...", | optional Human-readable description of the organisation that owns this AS. | Plus Premium |
| "risk": 0.9, | optional Numeric risk score for the AS, from 0.0 (very low risk) to 1.0 (very high risk), based on observed threat signals from Friendly Captcha. Only provided when Friendly Captcha has observed enough traffic to make a determination. | Premium |
| "risk_label": "very_high", | optional Human-readable risk level: very_low, low, moderate, high, or very_high. |
Premium |
| "risk_types": ["request_frequency", "repeated_abuse"] | optional List of risk signal categories that contributed to the risk score, if available:
|
Premium |
| }, | ||
| "location": { | ||
| "city": "Barcelona", | City-level location of the IP address. | Essential Plus Premium |
| "state": "Barcelona", | State, province, or top-level administrative region. | Essential Plus Premium |
| "country": "Spain", | Full country name derived from the IP's geolocation data. | Essential Plus Premium |
| "latitude": 41.389, | Approximate latitude coordinate of the IP's location (WGS84). | Essential Plus Premium |
| "longitude": 2.159, | Approximate longitude coordinate of the IP's location (WGS84). | Essential Plus Premium |
| "meta": { | ||
| "country_iso2": "ES", | ISO 3166-1 alpha-2 code. | Essential Plus Premium |
| "country_iso3": "ESP", | ISO 3166-1 alpha-3 country code. | Essential Plus Premium |
| "country_numeric_code": "724", | ISO 3166-1 numeric country code. | Essential Plus Premium |
| "country_phone_code": "34", | International dialling code for the country. | Essential Plus Premium |
| "country_capital": "Madrid", | Capital city of the country. | Essential Plus Premium |
| "country_currency": "EUR", | ISO 4217 currency code used in the country. | Essential Plus Premium |
| "country_currency_name": "Euro", | Full name of the country's currency. | Essential Plus Premium |
| "country_native": "España", | Country name in the local/native language. | Essential Plus Premium |
| "country_region": "Europe", | UN geographic macro-region (e.g. Europe, Asia, Americas). | Essential Plus Premium |
| "country_subregion": "Southern Europe", | UN geographic sub-region (e.g. Western Europe, South-Eastern Asia). | Essential Plus Premium |
| "country_emoji": "🇪🇸", | Country flag as a Unicode emoji character. | Essential Plus Premium |
| "country_emoji_u": "U+1F1EA U+1F1F8" | Country flag emoji as Unicode code points. | Essential Plus Premium |
| } | ||
| }, | ||
| "company": { | ||
| "name": "mawa-solutions GmbH", | The legal name of the company or organisation operating at this IP address. | Plus Premium |
| "type": "business", | optional Organisation classification: isp, business, hosting, government, education. |
Plus Premium |
| "domain": "www.mawa-solutions.com", | optional Primary website domain of the company. | Plus Premium |
| "description": "Provides SAP-based time-tracking..." | optional Brief description of the company's products or services. | Plus Premium |
| }, | ||
| "known_bot": { | ||
| "detected": true, | Whether a known bot or crawler was detected for this IP. | Plus Premium |
| "bot_type": "ai", | optional Category of bot: crawler, ai, or other. |
Plus Premium |
| "name": "chatgpt_user" | optional Identifier of the specific bot. Possible values:
|
Plus Premium |
| }, | ||
| "hosting": { | ||
| "detected": true, | Whether the IP belongs to a known hosting or cloud infrastructure provider. | Plus Premium |
| "domain": "www.microsoft.com", | optional Website domain of the hosting provider. | Plus Premium |
| "name": "Microsoft Limited" | optional Name of the hosting or cloud provider operating at this IP. | Plus Premium |
| }, | ||
| "abuse_contact": { | ||
| "address": "One Microsoft Way, Redmond, WA 98052", | optional Physical mailing address for the abuse contact of the network owner. | Premium |
| "email": "abuse@microsoft.com", | optional Email address for reporting abuse originating from this network. | Premium |
| "name": "Microsoft Abuse Contact" | optional Name of the person or team responsible for abuse reports. | Premium |
| }, | ||
| "tor_exit_node": { | ||
| "detected": true | Whether this IP is a known Tor network exit node. | Premium |
| }, | ||
| "privacy_relay": { | ||
| "detected": true, | Whether the IP is part of a commercial privacy relay service. | Premium |
| "provider": "icloud_private_relay" | optional The privacy relay provider identifier. For now, always icloud_private_relay. |
|
| "proxy": { | ||
| "detected": true, | Whether this IP has been detected as an active proxy server. | Premium |
| "type": "residential", | optional Type of proxy, one of:
|
Premium |
| "last_detected": "2025-11-15" | optional Date (ISO 8601) when proxy activity was last observed for this IP, if available. | Premium |
| }, | ||
| "vpn": { | ||
| "detected": true, | Whether this IP has been identified as part of a VPN service. | Premium |
| "provider": "nord_vpn", | optional Identifier of the VPN provider, if known. | Premium |
| "last_detected": "2025-11-15" | optional Date (ISO 8601) when VPN activity was last observed for this IP. | Premium |
| } | ||
| } |
Need to feed our docs to an AI coding assistant or LLM? We publish a plain-text Markdown version of this documentation at /docs/llms.txt, optimised for machine consumption.