API documentation
OpenAPI specification ↗Explore the endpoints, copy request examples, and try the API without an account or API key. Sending a request submits its inputs to the API. Public IP checks observe your browser's connection.
Read the MCP connection guidePOST /v1/cidr-cover
Submit IPv4 or IPv6 addresses and CIDR ranges as JSON. The response includes the smallest covering CIDR, normalized inputs, and exact address counts as decimal strings. This API request sends your inputs to the server.
curl -fsS https://api.dev.packetrove.com/v1/cidr-cover \
-H 'Content-Type: application/json' \
-d '{"inputs":["203.0.113.1","203.0.113.2","203.0.113.6"]}'This example returns 203.0.113.0/29 with 5 additional addresses. Check additionalAddressCount before using the result in an allowlist or blocklist.
POST /v1/cidr-subtract
Subtract the exclude list from the include list exactly. Return a minimal canonical CIDR list and exact decimal-string address counts. This API request sends your inputs to the server.
curl -fsS https://api.dev.packetrove.com/v1/cidr-subtract \
-H 'Content-Type: application/json' \
-d '{"include":["203.0.113.0/24"],"exclude":["203.0.113.64/26"]}'This example returns 203.0.113.0/26, 203.0.113.128/25, with 192 remaining addresses and no additional coverage.
POST /v1/range-to-cidrs
Submit start and end IP addresses from one family. Both endpoints are inclusive. Return canonical endpoints, the minimal exact CIDR list, a CIDR count, and a decimal-string address count. This request sends inputs to the server.
curl -fsS https://api.dev.packetrove.com/v1/range-to-cidrs \
-H 'Content-Type: application/json' \
-d '{"start":"203.0.113.11","end":"203.0.113.23"}'This example returns 203.0.113.11/32, 203.0.113.12/30, 203.0.113.16/29, representing exactly 13 addresses.
POST /v1/certificate-bundle
Submit PEM certificates and an optional DNS hostname to the server. Receive original positions, candidate signature checks, and findings with evidence and next actions. Private keys are rejected; results do not establish client trust.
curl -fsS https://api.dev.packetrove.com/v1/certificate-bundle \
-H 'Content-Type: application/json' \
-d '{"pem":"-----BEGIN CERTIFICATE-----\nMIICCjCCAbCgAwIBAgIBCDAKBggqhkjOPQQDAjBEMRowGAYDVQQDExFEZW1vIElu\ndGVybWVkaWF0ZTEmMCQGA1UEChMdUGFja2V0cm92ZSBTeW50aGV0aWMgRXhhbXBs\nZXMwHh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EAwICBDAdBgNVHQ4EFgQU\ntUhlenmm+e2ifQIQOpf/vjY3WJ4wHwYDVR0jBBgwFoAUG028VQAIWmJos9X4aPvx\nebvw8dEwCgYIKoZIzj0EAwIDSAAwRQIhAJuznXANK1Rdaa0ukjaLMvVEx8L1vLVz\n8o4jwLtPmbFKAiB6koDuWdkdLRxnMQ43X2ze1SRy665HHyfQemuCjzrQjw==\n-----END CERTIFICATE-----\n-----BEGIN CERTIFICATE-----\nMIIBsDCCAVagAwIBAgIBATAKBggqhkjOPQQDAjA+MRQwEgYDVQQDEwtEZW1vIFJv\nb3QgQTEmMCQGA1UEChMdUGFja2V0cm92ZSBTeW50aGV0aWMgRXhhbXBsZXMwHhcN\nMjAwMTAxMDAwMDAwWhcNNDAwMTAxMDAwMDAwWjA+MRQwEgYDVQQDEwtEZW1vIFJv\nb3QgQTEmMCQGA1UEChMdUGFja2V0cm92ZSBTeW50aGV0aWMgRXhhbXBsZXMwWTAT\nBgcqhkjOPQIBBggqhkjOPQMBBwNCAAS+Zp+N67NDEXRI1BrIw/iBk6raReb/UqYN\nsOaEVJZANsmih5h7VYPyJnAn5eJbU4uE/ebeZ7aSrFvHOu7EplDZo0UwQzASBgNV\nHRMBAf8ECDAGAQH/AgEDMA4GA1UdDwEB/wQEAwIBBjAdBgNVHQ4EFgQUG028VQAI\nWmJos9X4aPvxebvw8dEwCgYIKoZIzj0EAwIDSAAwRQIhAJk5L1v5StGaAboH6L4Z\nKOA71UEUUb2Y0pIbQsBL7Uq2AiBgIVRaev+zDSY0jTRmgIWTkR+49B/E3WWeOfBm\nmMB+/Q==\n-----END CERTIFICATE-----","hostname":"service.example.com"}'Public synthetic certificates. Documentation evaluation time: 2026-10-04T06:00:00.000Z. Your check uses the current runtime clock.
GET /v1/public-ip
Return the public IP observed for this HTTP connection. Request text/plain for a single address followed by a newline, or application/json for an address and family. Responses are not cached. A VPN or proxy changes the observed exit address.
curl -fsS https://api.dev.packetrove.com/v1/public-ip -H 'Accept: text/plain'