---
title: IP Quality Check
slug: api-marketplace/ip-quality-check
description: Learn how the IP Quality Check API can provide precise geographical information about an IP address. Retrieve location details, including city, region, country, and latitude/longitude coordinates, for business analysis, security measures, or personal curi
createdAt: 2023-05-12T09:35:12.000Z
---

<font color="#0c121d"><u>**INTRODUCTION**</u>
</font>By taking an IP address as input, the API returns a wealth of data, including ASN, ISP, geographical location, and indicators of potential malicious activity. This powerful tool is essential for businesses looking to bolster their cybersecurity efforts and streamline their operations.

<u>****</u><font color="#0c121d"><u>**Key Features\:**</u></font>

- **ASN & ISP Identification:&#x20;**&#x55;nderstand the Autonomous System Number and Internet Service Provider associated with the IP.
- **Geolocation Data:&#x20;**&#x47;ain insights into the country, region, city, latitude, and longitude of the IP address.
- **Network Details:&#x20;**&#x49;dentify the organization, timezone, and host information related to the IP.
- **Security Indicators:&#x20;**&#x44;etect if the IP is associated with crawlers, proxies, VPNs, TOR networks, recent abuse, bot activity, and assess its fraud score.
- **Mobile Detection:&#x20;**&#x44;etermine if the IP is being used from a mobile device.
- **Address Information:&#x20;**&#x41;ccess detailed address data linked to the IP.

<font color="#0c121d"><u>**Use Cases\:**</u></font>

- **Fraud Prevention:&#x20;**&#x4F;nline retailers can use the API to identify potentially fraudulent transactions by checking an IP address's fraud score and recent abuse indicators.
- **Network Security:&#x20;**&#x4F;rganizations can enhance network security by blocking access from IPs associated with proxies, VPNs, or TOR networks, often used to mask malicious activities.
- **User Authentication:&#x20;**&#x53;ervice providers can improve user authentication processes by verifying the legitimacy of an IP address, ensuring it is not linked to known bot activity or high-risk regions.
- **Ad Targeting:&#x20;**&#x4D;arketers can leverage geolocation data to deliver targeted advertisements based on the user's location, improving engagement and conversion rates.
- **Compliance and Risk Management:&#x20;**&#x46;inancial institutions can use the API to comply with regulatory requirements by ensuring IP addresses involved in transactions are not associated with suspicious activities or high-risk areas.

***

### API Endpoint

:::CodeblockTabs
UAT/Testing environment

```text
https://api-preproduction.signzy.app/api/v3/ipQuality/riskScores
```
:::

:::CodeblockTabs
Production Environment

```text
https://api.signzy.app/api/v3/ipQuality/riskScores
```
:::

***

### Headers

| Key           | Value            |
| ------------- | ---------------- |
| Authorization | Authorization    |
| Content-type  | application/json |

***

### Request Body

The API request should include the following data in the request body:

```json
{
    "ip": "..ip.."
}
```

***

### Response Body and Status code:

:::CodeblockTabs
200

```json
//The API response will be in the following format:
{
    "result": {
        "asn": "<asn>",
        "isp": "<isp>",
        "countryCode": "IND",
        "region": "MAHARASHTRA",
        "city": "MUMBAI",
        "organization": "<organization>",
        "latitude": "19.76",
        "longitude": "72.87",
        "isCrawler": "false",
        "timezone": "IST, Asia/Kolkata",
        "mobile": "false",
        "host": "<host>",
        "proxy": "false",
        "vpn": "false",
        "tor": "false",
        "recentAbuse": "false",
        "botStatus": "false",
        "fraudScore": "0",
        "address": "<address>"
    }
}
```

400

```json
//empty string.
{
  "error": {
    "name": "error",
    "message": "IP address is not allowed to be empty string",
    "status": 400,
    "reason": "VALIDATION_ERROR",
    "type": "Bad Request",
    "statusCode": 400
  }
}

// When invalid IP address
{
  "error": {
    "name": "error",
    "message": "Invalid IP address",
    "status": 400,
    "reason": "VALIDATION_ERROR",
    "type": "Bad Request",
    "statusCode": 400
  }
}

// When different datatype passed
{
  "error": {
    "name": "error",
    "message": "IP address must be a string",
    "status": 400,
    "reason": "VALIDATION_ERROR",
    "type": "Bad Request",
    "statusCode": 400
  }
}

//empty object
{
  "error": {
    "name": "error",
    "message": "IP address is required",
    "status": 400,
    "reason": "VALIDATION_ERROR",
    "type": "Bad Request",
    "statusCode": 400
  }
}
```

401

```json
// When API key is not passed in headers
{
    "message": "No API key found in request"
}

// When wrong API key is passed in headers
{
    "message": "Invalid authentication credentials"
}
```

404

```json
```
:::

***

### Response body parameters:

| Field        | Data Type | Description                                                                                                |
| ------------ | --------- | ---------------------------------------------------------------------------------------------------------- |
| asn          | String    | The Autonomous System Number (ASN) is associated with the IP address.                                      |
| isp          | String    | The Internet Service Provider (ISP) that manages the IP address.                                           |
| countryCode  | String    | The two-letter country code of the location is associated with the IP address.                             |
| region       | String    | The region or state where the IP address is located.                                                       |
| city         | String    | The city where the IP address is located.                                                                  |
| organization | String    | The organization or company associated with the IP address.                                                |
| latitude     | String    | The latitude coordinate of the IP address location.                                                        |
| longitude    | String    | The longitude coordinate of the IP address location.                                                       |
| isCrawler    | String    | Indicates whether the IP address belongs to a web crawler.                                                 |
| timezone     | String    | The timezone of the IP address location.                                                                   |
| mobile       | String    | Indicates whether the IP address is associated with a mobile device.                                       |
| host         | String    | The hostname is associated with the IP address.                                                            |
| proxy        | String    | Indicates whether the IP address is a proxy server.                                                        |
| vpn          | String    | Indicates whether the IP address is associated with a VPN service.                                         |
| tor          | String    | Indicates whether the IP address is associated with the Tor network.                                       |
| recentAbuse  | String    | Information about any recent abuse associated with the IP address.                                         |
| botStatus    | String    | The status of the IP address concerning being a bot.                                                       |
| fraudScore   | String    | The fraud score is associated with the IP address.<br />75+ = suspicious \| 85+ = risky \| 90+ = high risk |
| address      | String    | The address of the location is associated with the IP address.                                             |

***

### Authentication

You will need to login before sending an ID Intelligence request. You are required to pass the access token received from the login call, as authorization header in the ID Intelligence request.

***

**Contact Us for Any Assistance**

If you have any questions or need assistance, please reach out to our customer support team. You can contact us via email at <font color="#2166ae">**help\@signzy.com**</font>. We strive to provide prompt and reliable assistance, ensuring your queries are addressed effectively.

We value your feedback and are committed to making your experience smooth and enjoyable. Our team is dedicated to assisting you with any needs you may have. Thank you for choosing our services. We look forward to helping you!
