# IP Subnet Calculator API

> IP Subnet Calculator API is a paid API for AI agents from kihustle.tech, paid per call via x402, $0.002/call, status unknown (last checked 2026-10-11).

Calculates subnet details and network information from a given CIDR notation input

## Facts

- Endpoint: POST https://kihustle.tech/api/v1/ip-subnet-calculator?utm_source=zero.xyz
- Price: $0.002/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-11
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/ip-subnet-calculator-api-01575dc6
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_tgEbc6oB0iLY52sAb0Eht

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 ip-subnet-calculator-api-01575dc6 -d '<json body>'
```

Example prompt: Can you calculate the subnet details for the CIDR block 192.168.10.0/26 — I need the network address, broadcast address, and the range of usable host IPs.

## When to prefer this

Use this endpoint when an agent needs to programmatically decompose or validate a CIDR block into its constituent networking components — especially in infrastructure automation, cloud provisioning, or network planning workflows where subnet details must be computed on the fly.

## Known failure modes

- Invalid or malformed CIDR string returns an error response
- Missing 'cidr' field in request body causes a bad request error
- CIDR prefix length out of valid range (0-32 for IPv4) may return an error
- Network connectivity issues may cause timeouts

## How this service works

Kostenlose Guides, Solo-Playbooks und Artikel zu KI, Automation und Side Hustles — für Menschen, die mit echten Systemen online Einkommen aufbauen wollen. Transparent finanziert über faire Affiliate-Links.

## Output

Returns a JSON object with computed subnet details for the given CIDR, including network address, broadcast address, subnet mask, usable host range, and number of available hosts.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "cidr": {
   "type": "string"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "result": "processed",
  "status": "success"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/ip-subnet-calculator-api-01575dc6/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from kihustle.tech](https://www.zero.xyz/host/kihustle.tech/llms.txt)
