PingFlow PingFlow
Developer Hub

PingFlow REST API

Integrate our global network intelligence, uptime monitoring, and deep packet diagnostics directly into your own applications.

Overview

The PingFlow API is organized around REST. Our API has predictable resource-oriented URLs, returns JSON-encoded responses, and uses standard HTTP response codes, authentication, and verbs.

The base URL for all v1 endpoints is:

https://pingflow.online/api

Authentication

The PingFlow API uses API keys to authenticate requests. You can view and manage your API keys in the PingFlow Dashboard.

Authentication to the API is performed via HTTP Bearer Auth. Provide your API key as the bearer token value in the Authorization header.

cURL Example
curl -X GET "https://pingflow.online/api/check?url=netflix.com" \
  -H "Authorization: Bearer pf_live_xxxxxxxxxxxxxxxxx"

Rate Limits

API requests are rate-limited to ensure system stability. Rate limits are evaluated on a per-minute basis based on your subscription tier.

Plan Rate Limit Concurrency
Free / Public 20 requests / minute 1 request
PingFlow PRO 500 requests / minute 10 requests

GET /api/check

Performs a standard infrastructure health check against a target URL. Returns server status, ICMP ping latency, HTTP status code, and basic IP details.

Parameters

Response Example

JSON (200 OK)
{
  "online": true,
  "ping": 45,
  "httpCode": 200,
  "ssl": "Valid",
  "ip": "54.239.28.85",
  "location": "Seattle, US",
  "asn": "Amazon.com Inc."
}

GET /api/dns

Perform an authoritative DNS lookup against a domain to retrieve A, AAAA, MX, TXT, NS, and CNAME records, completely bypassing local browser cache.

Parameters

Response Example

JSON (200 OK)
{
  "success": true,
  "domain": "pingflow.online",
  "latency": 12,
  "provider": "Cloudflare",
  "records": [
    "188.114.96.0",
    "188.114.97.0"
  ]
}

GET /api/ssl

Perform a deep-packet inspection of the target's TLS/SSL handshake. Extracts issuer, validity dates, vulnerability scores, and cipher suites.

Parameters

Response Example

JSON (200 OK)
{
  "domain": "stripe.com",
  "valid": true,
  "issuer": "DigiCert Inc",
  "daysRemaining": 241,
  "grade": "A+",
  "tls": "TLSv1.3"
}

GET /api/port-scan

Probes common TCP/IP ports on the target host to identify open services, firewall filtering, and database exposures.

Parameters

✓ Copied to clipboard!