Premip

← All features

IP checker API

The IP checker in the dashboard is also an API. Send a public IP with your API key and you get the same report: fraud score, proxy type, ISP, location, and reputation flags. Two related endpoints test a proxy against real sites for scraping and score it for browser profile use.

Authentication

Create a key in Dashboard → Settings → API keys and send it as the X-API-Key header. Lookups are rate-limited per account. Private, loopback, and documentation ranges return 400 INVALID_IP.

GET /api/v1/ip-check?ip=IP

Returns score and risk, isp and org, proxyType and detectedAsProxy, a geo block (country, city, ASN, timezone), a connection block (VPN, Tor, datacenter, mobile, residential proxy), a reputation block (bots, abuse velocity, blacklists), and a trust assessment. Run it on your proxy exit IP before a campaign to see how sites will rate it.

Web scraping: POST /site-checks

Body {"proxyId": "...", "sites": ["google", "amazon"]} with up to 10 sites from GET /site-checks/catalog. Premip fetches each page once through your proxy and reports whether it loaded, was challenged with a CAPTCHA, or was blocked. GET /site-checks/stats shows the CAPTCHA rate over 1, 7, or 30 days. The check measures; it does not try to bypass challenges.

Profile readiness: GET or POST /proxies/{id}/readiness

GET returns the last readiness score; POST runs a fresh one. It combines reputation, network type, connection, tunnel stability, site challenges, and compatibility into a band: ready, caution, not_ready, or insufficient_evidence. Browser-side leaks (WebRTC, timezone, language) can only be tested inside the profile, so open the browser profile checker there too.

Setup steps

  1. Create an API key

    Dashboard → Settings → API keys. Keep it server-side.

  2. Find your exit IP

    Send one request through the proxy to an IP echo service, or read it from the proxy detail page.

  3. Check the IP

    Call GET /api/v1/ip-check?ip=EXIT_IP and read score, proxyType, and trust.

  4. Test target sites

    POST /site-checks with your proxy ID and the sites you plan to scrape.

  5. Score readiness

    POST /proxies/{id}/readiness before handing the proxy to a browser profile.

Check an IP with curl
Replace USERNAME, PASSWORD, HOST, and PORT with values from your dashboard.
curl -H "X-API-Key: premip_YOUR_KEY" "https://api.premip.com/api/v1/ip-check?ip=8.8.8.8"

# Python SDK
# pip install https://premip.com/downloads/premip-0.5.0-py3-none-any.whl
from premip import PremipClient

with PremipClient("premip_YOUR_KEY") as client:
    report = client.ip_checker.check("8.8.8.8")
    print(report["score"], report["proxyTypeLabel"], report["geo"]["country"])

Related