{"uid":"cap_epm_vkIf7xeg0HqwHsTyQ","slug":"swift-bot-labs-cidr-split-de76293a","name":"Swift Bot Labs CIDR Split","description":"62 small, deterministic utility APIs (DNS and e-mail checks, web extraction, EVM decoding, x402 checks, IP math, JSON/CSV, hashing, conversions). No account or API key: pay per call in USDC with x402.","url":"https://x402-toolbox.swiftbotlab.workers.dev/v1/ip/split?utm_source=zero.xyz","method":"GET","headers":{},"bodySchema":{"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","HEAD"],"type":"string"},"headers":{"type":"object","additionalProperties":{"type":"string"}},"queryParams":{"type":"object","required":["cidr","newPrefix"],"properties":{"cidr":{"type":"string"},"limit":{"type":"string"},"newPrefix":{"type":"string"}},"additionalProperties":false},"discoverable":{"type":"boolean"}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":{"type":"json","example":{"ok":true,"tool":"cidr-split","result":{"total":"4","parent":"10.0.0.0/22","subnets":["10.0.0.0/24","10.0.1.0/24","10.0.2.0/24","10.0.3.0/24"],"returned":4,"newPrefix":24,"truncated":false}}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.003","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.003/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.003","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.003","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_hR6oJUVRVclVJZ6dse59-","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.003","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Splits a CIDR block into equal subnets of a given prefix length and returns the list of resulting subnet addresses","exampleAgentPrompt":"Split 10.0.0.0/22 into /24 subnets and give me the full list of resulting networks.","exampleUseCases":[{"title":"VPC subnet planning for new region","prompt":"I'm setting up a new AWS VPC with the block 172.16.0.0/20 — can you split it into /24 subnets and list all of them for me?"},{"title":"Network documentation and auditing","prompt":"I need to document how 192.168.0.0/21 breaks down into /26 subnets — can you give me the full enumerated list?"},{"title":"Firewall rule generation per subnet","prompt":"Split 10.128.0.0/18 into /20 subnets so I can generate one firewall rule per subnet — show me all of them, up to 50."}],"resultDescription":"Returns a JSON object with: the parent CIDR block, the requested new prefix length, the total number of possible subnets, the actual list of subnet CIDR strings returned, the count returned, and a truncated flag indicating whether the result was limited.","failureModes":["Invalid CIDR notation returns an error","New prefix shorter than or equal to parent prefix is rejected","newPrefix not provided causes a 400 bad request","Limit parameter set too high may be capped or return truncated=true","Payment not provided or invalid x402 header causes 402 response"],"whenToPreferThis":"Use this endpoint when you need a fast, deterministic, pay-per-call CIDR subdivision without setting up an account or managing API keys. It is ideal for automation pipelines that occasionally need subnet enumeration and prefer micro-payments over subscriptions. Choose it over general networking libraries when operating in a serverless or agent context without access to native IP math libraries.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-31T18:40:33.550Z","isFirstParty":false,"canonicalSlug":"swift-bot-labs-cidr-split-de76293a"}