{"slug":"api-lookproof-dev-v1-ip-range-to-cidr-0a6bd7","title":"Turn a start and end IPv4 or IPv6 address into the smallest list of CIDR blocks ","host":"api.lookproof.dev","method":"GET","resource":"https://api.lookproof.dev/v1/ip/range-to-cidr","category":"company","description":"Turn a start and end IPv4 or IPv6 address into the smallest list of CIDR blocks that covers exactly that range (at most 62 for IPv4, 254 for IPv6). Offline. Use when an agent must write a range from a provider or registry as firewall, ACL or SPF entries. Input: ?start=192.0.2.10&end=192.0.2.20.","price_listed":0.002,"price_asked":0.002,"state":"answering","state_label":"Answering","checks_7d":2,"answered_7d":2,"latency_ms_median":364,"reported_calls_30d":1,"reported_payers_30d":1,"networks":["eip155:8453"],"badge":"unverified","paid_checks_7d":0,"paid_ok_7d":0,"example_input":{"method":"GET","queryParams":{"end":"192.0.2.20","start":"192.0.2.10"},"type":"http"},"output_schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"method":{"enum":["GET","HEAD","DELETE"],"type":"string"},"queryParams":{"additionalProperties":false,"properties":{"end":{"maxLength":64,"minLength":2,"title":"End","type":"string"},"start":{"maxLength":64,"minLength":2,"title":"Start","type":"string"}},"required":["start","end"],"title":"IpRangeInput","type":"object"},"type":{"const":"http","type":"string"}},"required":["type","method"],"type":"object"}},"required":["input"],"type":"object"},"history":[{"day":"2026-10-31","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.002,"price_match":true,"latency_ms":347,"error":null},{"day":"2026-10-29","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.002,"price_match":true,"latency_ms":382,"error":null}],"description_full":"Turn a start and end IPv4 or IPv6 address into the smallest list of CIDR blocks that covers exactly that range (at most 62 for IPv4, 254 for IPv6). Offline. Use when an agent must write a range from a provider or registry as firewall, ACL or SPF entries. Input: ?start=192.0.2.10&end=192.0.2.20.","last_updated":"2026-10-27T18:55:44.788Z","schemes":["exact"]}