Skip to content

CIDR

published · September 10, 2026

CIDR notation writes a range of IP addresses as one address and a prefix length, so 203.0.113.0/24 means the 256 addresses sharing those first 24 bits.

CIDR notation writes a range of IP addresses as one address and a prefix length: 203.0.113.0/24 means the 256 addresses that share those first 24 bits. Classless Inter-Domain Routing replaced the old fixed classes in 1993, and every allocation, route and blocklist has been written this way since.

Where it appears in Spaw

network on an IP answer is the CIDR block the address was found in — the unit the registries allocate and the feeds list, so it is the right thing to remember if you are caching or aggregating.

CIDR is also the input format in two places: a secret API key can carry an allowlist of source addresses or ranges, and every threat and datacenter feed read here is compiled from published CIDR lists.

Why a range and not an address

Almost nothing about an IP address is a fact about the address alone. Allocation, hosting, blocklisting and geolocation are all properties of a block, and an answer that pretends otherwise is claiming a precision the data does not have. location_confidence says which of country, region or city the underlying data actually supports for a given block.

Related

markdown version: /glossary/cidr.md

Verify addresses the same way

The Spaw API runs every check described here on each lookup, with an SMTP handshake that never sends mail. 10 free lookups a month, no card required.

Get your API key

More glossary

  • Area-code overlay

    An area-code overlay is a new area code added over the same area as an existing one, instead of splitting it, so neighbours can hold different codes and local calls need ten digits.

  • Calling window

    A calling window is the span of local hours a sender contacts people in. Spaw answers in_call_window from the number's time zones: clock arithmetic, not compliance advice.

  • Fictional number

    A fictional number sits in a range kept out of service for films, TV and other fiction: 555-0100 to 555-0199 in North America, and ranges Ofcom, ARCEP, ACMA and ComReg reserve elsewhere.

  • International (exit) prefix

    An international prefix is what is dialled to leave a country before the calling code: 00 in most of the world, 011 in North America. Spaw reads it and suggests a fix in did_you_mean.

  • International network number

    An international network number sits under a calling code the ITU gives a global service rather than a country, such as +870, +881, +882 or +883, so its country is null.

  • Live carrier check (HLR lookup)

    A live carrier check asks the mobile networks, at the moment of the lookup, whether a number is in service, which network serves it and whether it is roaming. On Spaw it is not enabled.

  • Number pooling (thousands-blocks)

    Number pooling splits a North American central office code into ten blocks of a thousand numbers, each assigned to a carrier separately, so one code can hold several carriers' numbers.

  • Number portability

    Number portability lets a subscriber keep a phone number when changing carrier. The number's block stays listed under the carrier it was issued to, so block data names the original holder.