{
  "ok": true,
  "api_version": 1,
  "ip": "216.73.217.0",
  "server": "goodog.ddns.net",
  "timestamp": "2026-12-05T06:21:16.335Z",
  "endpoints": {
    "info": {
      "method": "GET",
      "url": "https://goodog.ddns.net/ip/api",
      "formats": [
        "json",
        "text"
      ]
    },
    "ip": {
      "method": "GET",
      "url": "https://goodog.ddns.net/ip/api/ip",
      "response": "text/plain; one IP and a newline"
    },
    "ping": {
      "method": "GET",
      "url": "https://goodog.ddns.net/ip/api/ping",
      "success_status": 204
    },
    "download": {
      "method": "GET",
      "url": "https://goodog.ddns.net/ip/api/download?bytes=16777216",
      "response": "application/octet-stream",
      "min_bytes": 65536,
      "max_bytes": 33554432,
      "requested_size_is_clamped": true
    },
    "upload": {
      "method": "POST",
      "url": "https://goodog.ddns.net/ip/api/upload",
      "content_type": "application/octet-stream",
      "content_encoding": "identity",
      "max_bytes": 33554432,
      "response": {
        "bytes": "actual bytes received; body is discarded"
      }
    },
    "health": {
      "method": "GET",
      "url": "https://goodog.ddns.net/ip/health"
    },
    "websocket": {
      "url": "wss://goodog.ddns.net/ip/api/stream",
      "protocol": "goodog-speed-v1",
      "required_origin": "https://goodog.ddns.net",
      "max_connections_per_ip": 4
    }
  },
  "measurement": {
    "scope": "Your device to the Goodog server in Serbia, using the route selected on your device.",
    "latency": "Measure on the client. curl TTFB includes connection setup; it is not ICMP ping or the website's warmed HTTP median.",
    "speed": "Measure transferred bytes and elapsed time on the client. A single curl transfer differs from the website's four-connection test.",
    "curl_speed_unit": "bytes/second",
    "to_mbps": "bytes_per_second * 8 / 1000000",
    "uploads_are_saved": false
  },
  "limits": {
    "transfer_timeout_ms": 20000,
    "concurrent_transfers": 8,
    "concurrent_transfers_per_ip": 4,
    "per_ip_budget_bytes": 1073741824,
    "global_budget_bytes": 2147483648,
    "budget_window_ms": 300000,
    "limit_status": 429
  },
  "examples": {
    "info": "curl.exe -sS https://goodog.ddns.net/ip/api",
    "ip_only": "curl.exe -sS https://goodog.ddns.net/ip/api/ip",
    "help": "curl.exe -sS \"https://goodog.ddns.net/ip/api?format=text\"",
    "latency": "curl.exe -sS -o NUL -w \"TTFB: %{time_starttransfer}s; total: %{time_total}s\\n\" https://goodog.ddns.net/ip/api/ping",
    "download": "curl.exe -f -sS -o NUL -w \"Downloaded: %{size_download} bytes; speed: %{speed_download} B/s\\n\" \"https://goodog.ddns.net/ip/api/download?bytes=16777216\"",
    "upload": "curl.exe -f -sS -H \"Content-Type: application/octet-stream\" --data-binary \"@test.bin\" -w \"\\nUpload speed: %{speed_upload} B/s\\n\" https://goodog.ddns.net/ip/api/upload"
  }
}
