Get Started

To use our API, you must follow the URL structure that is provided below, providing your API key and the IP address.

https://api.trustip.io/v1/check.php?key={YOUR_API_KEY}&ip={IP_ADDRESS}

After that, you should get an output similar to this:

{
    "status":"success",
    "data": {
        "ip":"127.0.0.1",
        "is_proxy":true,
    }
}

If there's an error, the output will be similar to this:

{
    "status":"error",
    "message":"Invalid IP address"
}

Error Messages:

  • Missing parameters: The API key or the IP is missing.

  • Invalid IP address: The provided IP is invalid.

  • Connection error: API server connection error.

  • Daily limit reached: Reaching the daily queries limit.

  • Invalid API key: The provided API key is invalid.

Last updated

Was this helpful?