# subnet-split

> subnet-split is a paid API for AI agents from intel.rallylive.ca, paid per call via x402, $0.01/call, status unknown (last checked 2026-09-14).

Divides an IPv4 CIDR block into equal subnets of a smaller prefix length, listing up to 256 resulting networks with counts

## Facts

- Endpoint: GET https://intel.rallylive.ca/ip/subnets
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/subnet-split-0fc1b0aa
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_rUQXfvJWMgM_4kCSm46Ix

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability subnet-split-0fc1b0aa
```

Example prompt: Split 10.0.0.0/22 into /24 subnets and list all the resulting networks with a count of how many there are.

## When to prefer this

Use this endpoint when you need to programmatically enumerate all subnets resulting from dividing a CIDR block into equal smaller prefixes, especially for VPC, VLAN, or data center IP allocation planning. Prefer this over manual calculation when the number of subnets is large or when you need a machine-readable list for automation pipelines.

## Known failure modes

- Target prefix is smaller than (or equal to) the source prefix — returns error
- Invalid CIDR notation in input — returns error
- Split would produce more than 256 subnets — list truncated or error returned
- Missing required query parameters — returns bad request
- Payment not included or insufficient — 402 Payment Required

## How this service works

Subnet splitter: divide an IPv4 CIDR block into equal subnets of a smaller prefix (e.g. a /22 into /24s), listing up to 256 resulting networks with counts. VPC and VLAN planning. $0.01 per split.

## Output

A list of up to 256 resulting subnet network addresses (e.g. 10.0.0.0/24, 10.0.1.0/24, ...) derived from splitting the input CIDR block to the target prefix length, along with a count of the total number of subnets produced.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "properties": {}
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/subnet-split-0fc1b0aa/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from intel.rallylive.ca](https://www.zero.xyz/host/intel.rallylive.ca/llms.txt)
