{"slug":"saylorinnovations-com-api-net-range-to-cidr-f6ad43","title":"Convert an IPv4 start and end address into the minimal list of CIDR blocks, with","host":"saylorinnovations.com","method":"GET","resource":"https://saylorinnovations.com/api/net/range-to-cidr","category":"other","description":"Convert an IPv4 start and end address into the minimal list of CIDR blocks, with the first and last address and size of each block","price_listed":0.01,"price_asked":0.01,"state":"answering","state_label":"Answering","checks_7d":1,"answered_7d":1,"latency_ms_median":358,"reported_calls_30d":0,"reported_payers_30d":0,"networks":["eip155:137","eip155:42161","eip155:8453","solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp"],"badge":"unverified","paid_checks_7d":0,"paid_ok_7d":0,"example_input":{"method":"GET","queryParams":{"end":"10.0.1.200","start":"10.0.0.5"},"type":"http"},"output_schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"method":{"enum":["GET"],"type":"string"},"queryParams":{"properties":{"end":{"description":"Last IPv4 address","type":"string"},"start":{"description":"First IPv4 address","type":"string"}},"required":["start","end"],"type":"object"},"type":{"const":"http","type":"string"}},"required":["type","method"],"type":"object"},"output":{"properties":{"example":{"properties":{"addresses":{"description":"Addresses in the range","type":"number"},"blocks":{"description":"Each block with first, last and size","items":{"properties":{"addresses":{"description":"Addresses in the block","type":["number","null"]},"cidr":{"description":"CIDR block"},"first":{"description":"First address of the block","type":["string","null"]},"last":{"description":"Last address of the block","type":["string","null"]}},"type":"object"},"type":"array"},"cidr_blocks":{"description":"Cidr blocks","type":"number"},"cidrs":{"description":"Minimal CIDR list covering the range","type":"array"},"end":{"description":"Last address of the range","type":"string"},"is_single_cidr":{"description":"True when this is single cidr","type":"boolean"},"source":{"description":"Data source the values come from","type":"string"},"start":{"description":"First address of the range","type":"string"}},"required":["cidrs","addresses"],"type":"object"},"type":{"const":"json","type":"string"}},"required":["type"],"type":"object"}},"required":["input"],"type":"object"},"history":[{"day":"2026-10-20","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.01,"price_match":true,"latency_ms":358,"error":null}],"description_full":"Convert an IPv4 start and end address into the minimal list of CIDR blocks, with the first and last address and size of each block","last_updated":"2026-10-20T14:50:34.981Z","schemes":["exact"]}