> ## Documentation Index
> Fetch the complete documentation index at: https://docs.webrouter.net/llms.txt
> Use this file to discover all available pages before exploring further.

# IPQualityScore

> Fraud and risk scoring for IP addresses (proxy, VPN, Tor, bot, recent abuse, location), email addresses (validity, deliverability, disposable, spam trap, leaks) and phone numbers (validity, carrier, line type, risk).

![](https://mintcdn.com/webrouter/JBFYvcRI1PVnd4YX/logo/data-apis/ipqualityscore.webp?fit=max\&auto=format\&n=JBFYvcRI1PVnd4YX\&q=85\&s=2a682870f2688249e52475713b588b34)

[Web Catalog · Verification](https://docs.webrouter.net/data-apis.md?category=verification)

Needs&#x20;

`IPQS_API_KEY`

Endpoints

3

Auth

Key in header

[Vendor docs](https://www.ipqualityscore.com/documentation/overview)

&#x20;·&#x20;

[Pricing](https://www.ipqualityscore.com/plans)

## Setup

| Variable | | What it is |
| - | - | - |
| `IPQS_API_KEY` | required | An IPQS API key (IPQS account dashboard). Sent in the IPQS-KEY header rather than the URL path. |

Put them in your environment or `.env`; [Data APIs](https://docs.webrouter.net/vendors.md) covers the other ways.

## Notes

* Lookups draw on the plan's credits; always check success, which is false when the account is out of credits (a soft failure can also lack the usual fields).
* A 403 means a rate limit; 500, 502 and 503 are system errors. Treat every field as nullable: new fields appear without notice.
* fraud\_score runs 0 to 100: IPQS treats 85 and up as highly suspicious and 90 and up as high risk.
* Fraud reporting, custom tracking variables (userID, transactionID), allowlist/blocklist edits, CSV bulk uploads and postbacks are not in this entry. The URL scanner and credit usage APIs take the key only in the URL path, which this entry does not do.

## Endpoints

GET

Score an IP for proxy, VPN and fraud risk

Fraud score, proxy, VPN, active VPN, Tor, bot, crawler, recent and frequent abuse flags, connection type, ISP, ASN, organization and location for an IP.

[Open](#ipqualityscore-ip-check)

GET

Verify an email and score its risk

Validity, deliverability (high, medium, low), overall score 0 to 4, disposable, catch-all, honeypot/spam trap, recent abuse, leaked and fraud score for an email address.

[Open](#ipqualityscore-email-check)

GET

Validate a phone number and score its risk

Validity, active status, carrier, line type (VOIP, landline, wireless, prepaid), country, owner name where available, and fraud score for a phone number.

[Open](#ipqualityscore-phone-check)

### Score an IP for proxy, VPN and fraud risk

GET

`/ip`

`ipqualityscore.ip.check`

Fraud score, proxy, VPN, active VPN, Tor, bot, crawler, recent and frequent abuse flags, connection type, ISP, ASN, organization and location for an IP.

Input

<table>
  <thead>
    <tr>
      <th>
        Name
      </th>

      <th>
        Type
      </th>

      <th>
        In
      </th>

      <th>
        Notes
      </th>
    </tr>
  </thead>

  <tbody>
    <tr><td>`ip` required</td><td>string</td><td>query</td><td>The IPv4 or IPv6 address to check. Example `192.0.2.110`</td></tr>

    <tr>
      <td>
        `strictness`
      </td>

      <td>
        integer
      </td>

      <td>
        query
      </td>

      <td>
        How deep the check goes, 0 to 3. Start at 0 or 1; 2 and up produce false positives.
      </td>
    </tr>

    <tr>
      <td>
        `user_agent`
      </td>

      <td>
        string
      </td>

      <td>
        query
      </td>

      <td>
        The user's browser user agent, for bot and device checks.
      </td>
    </tr>

    <tr>
      <td>
        `user_language`
      </td>

      <td>
        string
      </td>

      <td>
        query
      </td>

      <td>
        The user's language header.
      </td>
    </tr>

    <tr>
      <td>
        `fast`
      </td>

      <td>
        boolean
      </td>

      <td>
        query
      </td>

      <td>
        Skip slower forensic checks for a quicker answer.
      </td>
    </tr>

    <tr>
      <td>
        `mobile`
      </td>

      <td>
        boolean
      </td>

      <td>
        query
      </td>

      <td>
        Score as a mobile device; for mobile lookups without a user agent.
      </td>
    </tr>

    <tr>
      <td>
        `allow_public_access_points`
      </td>

      <td>
        boolean
      </td>

      <td>
        query
      </td>

      <td>
        Bypass some checks for schools, research institutions and corporate networks.
      </td>
    </tr>

    <tr>
      <td>
        `lighter_penalties`
      </td>

      <td>
        boolean
      </td>

      <td>
        query
      </td>

      <td>
        Lower scores for mixed-quality IPs to cut false positives.
      </td>
    </tr>
  </tbody>
</table>

[Vendor docs](https://www.ipqualityscore.com/documentation/proxy-detection-api/overview) · Same job: [Neutrino API](https://docs.webrouter.net/data-apis/neutrino-api.md#neutrino-api-ip-blocklist)

```python Python theme={null}
router.call_data_api("ipqualityscore.ip.check", {'ip': '192.0.2.110'})
```

```text MCP theme={null}
call_data_api(endpoint="ipqualityscore.ip.check", params={"ip": "192.0.2.110"})
```

> [!NOTE]
>
> * To match the IPQS website's free lookup tool, use strictness=0, allow\_public\_access\_points=true, lighter\_penalties=true, mobile=true.

### Verify an email and score its risk

GET

`/email`

`ipqualityscore.email.check`

Validity, deliverability (high, medium, low), overall score 0 to 4, disposable, catch-all, honeypot/spam trap, recent abuse, leaked and fraud score for an email address.

Input

<table>
  <thead>
    <tr>
      <th>
        Name
      </th>

      <th>
        Type
      </th>

      <th>
        In
      </th>

      <th>
        Notes
      </th>
    </tr>
  </thead>

  <tbody>
    <tr><td>`email` required</td><td>string</td><td>query</td><td>The email address to check. Example `noreply@ipqualityscore.com`</td></tr>

    <tr>
      <td>
        `fast`
      </td>

      <td>
        boolean
      </td>

      <td>
        query
      </td>

      <td>
        Skip the SMTP check with the mail provider; syntax, DNS and risk scoring still run.
      </td>
    </tr>

    <tr>
      <td>
        `timeout`
      </td>

      <td>
        integer
      </td>

      <td>
        query
      </td>

      <td>
        Seconds to wait for the mail provider, 1 to 60 (default 7; IPQS suggests 20 when speed is not critical).
      </td>
    </tr>

    <tr>
      <td>
        `suggest_domain`
      </td>

      <td>
        boolean
      </td>

      <td>
        query
      </td>

      <td>
        Always check the domain for typos, not only when the address is invalid or abusive.
      </td>
    </tr>

    <tr>
      <td>
        `strictness`
      </td>

      <td>
        integer
      </td>

      <td>
        query
      </td>

      <td>
        Spam trap and honeypot detection strictness, 0 to 2.
      </td>
    </tr>

    <tr>
      <td>
        `abuse_strictness`
      </td>

      <td>
        integer
      </td>

      <td>
        query
      </td>

      <td>
        Strictness of the recent\_abuse pattern model, 0 to 2.
      </td>
    </tr>
  </tbody>
</table>

[Vendor docs](https://www.ipqualityscore.com/documentation/email-validation-api/overview) · Same job: [Anymail Finder](https://docs.webrouter.net/data-apis/anymailfinder.md#anymailfinder-email-verify), [BounceBan](https://docs.webrouter.net/data-apis/bounceban.md#bounceban-email-verify), [Bouncer](https://docs.webrouter.net/data-apis/bouncer.md#bouncer-email-verify), [ContactOut](https://docs.webrouter.net/data-apis/contactout.md#contactout-email-verify), [DeBounce](https://docs.webrouter.net/data-apis/debounce.md#debounce-email-validate), [EmailListVerify](https://docs.webrouter.net/data-apis/emaillistverify.md#emaillistverify-email-verify)

```python Python theme={null}
router.call_data_api("ipqualityscore.email.check", {'email': 'noreply@ipqualityscore.com'})
```

```text MCP theme={null}
call_data_api(endpoint="ipqualityscore.email.check", params={"email": "noreply@ipqualityscore.com"})
```

> [!NOTE]
>
> * overall\_score: 0 invalid, 1 DNS valid but mail server unreachable, 2 temporary rejection, 3 accepts all mail, 4 verified mailbox. A timeout sets timed\_out true.
> * IPQS documents a header-key form for this API; its table names the ip URL but passes an email parameter, so the email path used here is a reading of that table.

### Validate a phone number and score its risk

GET

`/phone`

`ipqualityscore.phone.check`

Validity, active status, carrier, line type (VOIP, landline, wireless, prepaid), country, owner name where available, and fraud score for a phone number.

Input

<table>
  <thead>
    <tr>
      <th>
        Name
      </th>

      <th>
        Type
      </th>

      <th>
        In
      </th>

      <th>
        Notes
      </th>
    </tr>
  </thead>

  <tbody>
    <tr><td>`phone` required</td><td>string</td><td>query</td><td>The phone number, preferably with country code. Example `18007132618`</td></tr>

    <tr>
      <td>
        `strictness`
      </td>

      <td>
        integer
      </td>

      <td>
        query
      </td>

      <td>
        Reputation check strictness; start at 0 and raise to 1 or 2.
      </td>
    </tr>

    <tr><td>`country`</td><td>array</td><td>query</td><td>Countries the number likely belongs to; needed when the number has fewer than 10 digits. Example `["US", "CA"]`</td></tr>
  </tbody>
</table>

[Vendor docs](https://www.ipqualityscore.com/documentation/phone-number-validation-api/overview) · Same job: [HLR Lookup](https://docs.webrouter.net/data-apis/hlrlookup.md#hlrlookup-validate), [Neutrino API](https://docs.webrouter.net/data-apis/neutrino-api.md#neutrino-api-phone-validate)

```python Python theme={null}
router.call_data_api("ipqualityscore.phone.check", {'phone': '18007132618', 'country': ['US', 'CA']})
```

```text MCP theme={null}
call_data_api(endpoint="ipqualityscore.phone.check", params={"phone": "18007132618", "country": ["US", "CA"]})
```

> [!NOTE]
>
> * Owner names come mostly for US and Canadian numbers, with limited coverage elsewhere.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.