Skip to Content
DocumentationProxyTracer API

ProxyTracer API

ProxyTracer is a sub-10ms, deterministic proxy, datacenter and VPN detection engine.

We process all IP evaluations entirely in-memory and drop the data the millisecond the request finishes. No shadow databases, no logging, and zero probabilistic guesswork. Just hard data to help you drop malicious traffic at the edge.


Quick Start

You can query the REST API directly using any standard HTTP client. Pass the target IP address in the URL path and your API key in the Authorization header.

Request

curl -X GET "https://api.proxytracer.com/v1/check/109.70.100.3" \ -H "Authorization: Bearer proxy_······"

Response

Our engine prioritizes latency, returning a predictable, flat JSON object. Parse the proxy boolean to instantly block or challenge the connection.
{ "ip": "109.70.100.3", "proxy": true }

HTTP Status Codes

Status CodeDescription
200 OKSuccessful evaluation. Returns deterministic classification payload.
400 Bad RequestInvalid IP address format or malformed request path.
401 UnauthorizedUnauthorized. The API key is missing, expired, or invalid.
402 Payment RequiredPayment required. Your account has depleted its available API credits.

Code Examples

Node.js (fetch)

const response = await fetch("https://api.proxytracer.com/v1/check/109.70.100.3", { headers: { "Authorization": `Bearer ${process.env.PROXYTRACER_API_KEY}` } }); const data = await response.json(); if (data.proxy) { // Block malicious traffic or challenge with Captcha }

Python (requests)

import os import requests response = requests.get( "https://api.proxytracer.com/v1/check/109.70.100.3", headers={"Authorization": f"Bearer {os.getenv('PROXYTRACER_API_KEY')}"}, timeout=1.0 ) data = response.json() if data.get("proxy"): # Reject or flag connection pass

Official Integrations

We provide drop-in middleware and interceptors for the most common enterprise frameworks and edge runtimes.

For maximum performance and security, we strongly recommend deploying ProxyTracer at the Edge (Cloudflare, AWS, or Next.js) to drop malicious connections before they ever reach your origin servers.

Edge Compute

PlatformEnvironmentIntegration Guide
CloudflareEdge CDNCloudflare Workers
AWSEdge CDNLambda@Edge
Next.jsEdge RuntimeMiddleware

Backend Runtimes

PlatformLanguageIntegration Guide
ExpressNode.jsExpress Middleware
GoGonet/http Handler
DjangoPythonDjango Middleware
FastAPIPythonBaseHTTPMiddleware
ASP.NET CoreC#HTTP Middleware
Spring BootJavaHandlerInterceptor
LaravelPHPHTTP Middleware
Ruby on RailsRubyRack Middleware
Last updated on