Skip to content

Endpoints

Returns a beautiful HTML page displaying your IP information with a dark theme interface.

Response: text/html

Best viewed in a browser. Features:

  • Large IP address display with copy-to-clipboard
  • Reverse DNS lookup button (client-side, uses Cloudflare DoH)
  • Network information cards
  • Connection details
  • Client information
  • Cloudflare headers display (when using Cloudflare Worker)

Returns complete IP information as JSON.

Response: application/json

Terminal window
curl https://ip.cloakprobe.dev/api/v1/info
Terminal window
# Get just your IP
curl -s https://ip.cloakprobe.dev/api/v1/info | jq -r '.ip'
# Get ASN info
curl -s https://ip.cloakprobe.dev/api/v1/info | jq '.network'
# Get country code
curl -s https://ip.cloakprobe.dev/api/v1/info | jq -r '.network.country'

Returns IP information as plain text, ideal for shell scripts.

Response: text/plain

Terminal window
curl https://ip.cloakprobe.dev/api/v1/plain
#!/bin/bash
INFO=$(curl -s https://ip.cloakprobe.dev/api/v1/plain)
# Extract IP
IP=$(echo "$INFO" | grep "^IP:" | cut -d' ' -f2)
# Extract ASN
ASN=$(echo "$INFO" | grep "^ASN:" | cut -d' ' -f2)
echo "Your IP: $IP"
echo "Your ASN: $ASN"

Health check endpoint for monitoring and load balancers.

Response: application/json

Terminal window
curl https://ip.cloakprobe.dev/healthz

Use this endpoint for:

  • Kubernetes liveness/readiness probes
  • Load balancer health checks
  • Uptime monitoring
livenessProbe:
httpGet:
path: /healthz
port: 8080
initialDelaySeconds: 5
periodSeconds: 10
readinessProbe:
httpGet:
path: /healthz
port: 8080
initialDelaySeconds: 5
periodSeconds: 5

Returns the Privacy Policy page in HTML format.

Response: text/html

This page provides comprehensive information about:

  • Data collection and processing
  • Privacy modes (strict, balanced)
  • Cloudflare data processing
  • User rights under GDPR and CCPA
  • Reverse DNS lookup feature (client-side only)
  • Security measures

The privacy policy is accessible from the main page footer and can be viewed at /privacy.


All responses include security headers:

Content-Security-Policy: default-src 'self'; style-src 'self' 'unsafe-inline'; connect-src 'self' https://cloudflare-dns.com
Referrer-Policy: strict-origin-when-cross-origin
X-Frame-Options: DENY
Strict-Transport-Security: max-age=31536000; includeSubDomains
X-Content-Type-Options: nosniff
Permissions-Policy: accelerometer=(), camera=(), geolocation=(), ...

The connect-src directive includes https://cloudflare-dns.com to allow client-side reverse DNS lookups using Cloudflare DoH.

See Security for details.