{"uid":"cap_KoJgcZSFr1jdN9A9Eq-nv","slug":"agentshelf-ipv4-cidr-regex-extractor-f1b13e99","name":"AgentShelf IPv4 CIDR Regex Extractor","description":"Call when an agent needs IPv4 CIDR blocks extracted from text, capped at 20 matches. An empty match list is billed. No network. Exact $0.009 USDC. Prefer unpaid POST /v1/sandbox/regex-cidr first.","url":"https://agentshelf.syntexa.ch/v1/regex-cidr?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"text":{"type":"string","examples":["8.8.8.0/24"],"maxLength":100000,"minLength":1,"description":"Input for this SKU. The route description says whether it is plain text, a URL, base64 bytes, or an already-encoded token."}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.009","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.009/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.009","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.009","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_3a6uPR9rp-9IbMaLeinc3","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.009","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Extracts up to 20 IPv4 CIDR block notation matches from a given text string using regex pattern matching.","exampleAgentPrompt":"Can you pull out all the IPv4 CIDR blocks from this firewall config text? Here's the content: 'Allow 10.0.0.0/8 and 192.168.1.0/24, deny 172.16.0.0/12 from external access.'","exampleUseCases":[{"title":"Audit firewall rules for subnets","prompt":"I have a big blob of firewall rule text and I need to know every IPv4 CIDR range mentioned in it — can you extract all the network address blocks from this: 'permit ip 10.10.0.0/16 any, deny 192.168.100.0/24, allow 172.20.0.0/14'?"},{"title":"Parse subnets from cloud config","prompt":"Here's a Terraform config file output — can you scan through it and pull out all the IPv4 CIDR ranges? Text: 'cidr_block = \"10.0.0.0/8\" ... subnet_cidr = \"172.31.0.0/16\" ... ingress_cidr = \"0.0.0.0/0\"'"},{"title":"Extract IP ranges from security report","prompt":"I've got a security incident report with a bunch of network ranges buried in the prose — can you find and list all the IPv4 CIDR blocks in this text: 'Suspicious activity from 198.51.100.0/24 and lateral movement within 10.20.0.0/20 detected on Tuesday'?"}],"resultDescription":"Returns a list of up to 20 IPv4 CIDR block strings matched from the input text (e.g. ['10.0.0.0/8', '192.168.1.0/24']). An empty list is returned and billed if no matches are found. Results are ordered by appearance in the text.","failureModes":["Empty match list returned and still billed $0.009 if no CIDR blocks are present in text","Input text exceeds 100,000 character limit — request rejected","Malformed or missing text field — request rejected","Capped at 20 matches — additional CIDRs beyond the 20th are silently dropped","Network errors or service unavailability causing HTTP 5xx responses"],"whenToPreferThis":"Use this endpoint when you need a fast, reliable regex-based extraction of IPv4 CIDR notation from arbitrary text without making outbound network requests. Prefer the free sandbox endpoint (POST /v1/sandbox/regex-cidr) for testing. Choose this over general-purpose LLM parsing when deterministic regex matching is required and cost predictability ($0.009 per call) is acceptable. Not suitable for IPv6 CIDR extraction or when more than 20 matches are expected.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-19T06:44:27.913Z","isFirstParty":false,"canonicalSlug":"agentshelf-ipv4-cidr-regex-extractor-f1b13e99"}