# IP2Proxy API reference

> The IP2Proxy web service tells you whether an IP address is a proxy, VPN, Tor exit node, data center, search engine robot or residential proxy. Higher packages add country, region, city, ISP, domain, usage type, ASN, last seen, threat and provider fields. Investigators use it to judge whether a…

Source: https://osinttools.io/apis/ip2proxy/ (Markdown view of an OSINTtools.io page; append `.md` to any page URL for this format).

Compiled by OSINTtools.io editors from the vendor's docs, updated Nov 29, 2026. Listing: https://osinttools.io/tools/ip2proxy/

- Base URL: https://api.ip2proxy.com
- Authentication: API key in the `key` query parameter. Get a key: https://www.ip2location.com/web-service/ip2proxy New registrations are closed; existing customers only.
- Pricing: Credits
- Rate limits: Not stated in the docs
- Vendor docs: https://www.ip2location.com/web-service/ip2proxy

## Overview

The IP2Proxy web service tells you whether an IP address is a proxy, VPN, Tor exit node, data center, search engine robot or residential proxy. Higher packages add country, region, city, ISP, domain, usage type, ASN, last seen, threat and provider fields. Investigators use it to judge whether a connection came from anonymizing infrastructure.

Calls are HTTP or HTTPS GET requests to `https://api.ip2proxy.com/` with the key in the `key` query parameter. The `package` parameter (PX1 to PX11) sets the fields returned and the credits charged (1 credit for PX1 up to 11 for PX11). The format is JSON or XML.

The docs page says new registrations are no longer accepted; existing customers keep their keys, and the vendor recommends IP2Location.io for new users. The credit-check call (`?key=...&check=1`) is not documented with a response shape and is left out.

## Lookup

### Proxy detection for an IPv4 or IPv6 address.

`GET /`

- Takes: IP address
- Footprint: passive (the target is not contacted)
- Cost: 1 to 11 credits depending on package

Fields returned depend on the package. If ip is omitted, the server's own IP is used. isProxy shows YES or NO; proxyType codes are VPN, TOR, DCH, PUB, WEB, SES and RES (RES only in PX10 and PX11); threat codes are SPAM, SCANNER and BOTNET.

| Parameter | In | Type | Required | Description |
| --- | --- | --- | --- | --- |
| `ip` | query | string | no | IPv4 or IPv6 address to look up Example: 203.0.113.7 |
| `package` | query | string | no | Package that sets the fields returned Example: PX11 One of: PX1, PX2, PX3, PX4, PX5, PX6, PX7, PX8, PX9, PX10, PX11 |
| `format` | query | string | no | Response format Example: json One of: json, xml |

Response fields:

- `response` (string): Status text, OK on success
- `countryCode` (string): Two-character ISO 3166 country code
- `countryName` (string): Country name
- `regionName` (string): Region or state
- `cityName` (string): City
- `isp` (string): ISP or company name
- `domain` (string): Domain tied to the IP range
- `usageType` (string): Usage classification such as COM, DCH, ISP, MOB
- `asn` (string): Autonomous system number
- `as` (string): Autonomous system name
- `lastSeen` (integer): Days since the proxy was last seen
- `proxyType` (string): Type of proxy
- `isProxy` (string): YES or NO
- `threat` (string): Reported threat, or -
- `provider` (string): VPN provider name, or -
- `creditsConsumed` (integer): Credits used by the query

```bash
curl 'https://api.ip2proxy.com/?key=YOUR_API_KEY'
```

Example response (200):

```json
{
  "response": "OK",
  "countryCode": "NL",
  "countryName": "Netherlands",
  "regionName": "Example Region",
  "cityName": "Example City",
  "isp": "Example Hosting BV",
  "domain": "example.com",
  "usageType": "DCH",
  "asn": "64500",
  "as": "Example Hosting",
  "lastSeen": 1,
  "proxyType": "DCH",
  "isProxy": "YES",
  "threat": "-",
  "provider": "-",
  "creditsConsumed": 11
}
```

---

Listings on OSINTtools.io are reviewed by editors and re-verified on a schedule; check pricing and availability on the vendor's site before relying on them, and use OSINT tools only with a lawful basis.
Site index for agents: https://osinttools.io/llms.txt · Full catalog: https://osinttools.io/llms-full.txt · MCP server (Streamable HTTP, no auth): https://osinttools.io/mcp/
