{"uid":"cap_KqZElYbPnSJHpLaLHWUcN","slug":"delx-ipv4-octets-0c2397e5","name":"Delx IPv4 Octets","description":"Parse IPv4 into octets. Call when you validate IP literals held by agents. Returns valid flag and octets for $0.001 USDC via x402 on Base. No network, no keys, no retention; first-party local JSON only. Results are advisory; the caller owns budgets, auth, and production controls.","url":"https://api.delx.ai/api/v1/x402/ipv4-octets","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"ip":{"type":"string","description":"Input field: ip."}}},"responseSchema":{"type":"json","example":{"ip":"10.0.0.1","valid":true,"octets":[10,0,0,1],"schema":"delx/util-ipv4-octets/v1"}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.001","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.001/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_XTsqm0oFYINh5ZQrdSUGu","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.001","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Parses an IPv4 address string into its four octets and returns a validity flag with the parsed components","exampleAgentPrompt":"Can you parse the IPv4 address 192.168.0.255 into its four octets and tell me if it's valid?","exampleUseCases":[{"title":"Validate user-submitted IP addresses","prompt":"A user just entered the IP address 10.0.256.1 into a form — can you check if it's a valid IPv4 address and break it into its octets?"},{"title":"Subnet range computation prep","prompt":"I need to analyze the IP 172.16.254.3 — can you split it into its individual octets so I can work out the subnet range?"},{"title":"Agent config IP literal check","prompt":"Before I use the address 203.0.113.42 in my agent's config, can you confirm it parses correctly as a valid IPv4 and show me each octet?"}],"resultDescription":"Returns a JSON object containing a boolean valid flag indicating whether the input is a well-formed IPv4 address, and an array or set of four integer octet values (0–255 each) parsed from the address string.","failureModes":["Malformed or non-IPv4 input (e.g. IPv6, hostname, empty string) returns valid:false with no octets","Extra whitespace or leading zeros may affect parsing — caller should normalize input","Network errors or service unavailability return HTTP 5xx with no result","Payment failure via x402 returns 402 Payment Required and no result is produced"],"whenToPreferThis":"Choose this endpoint when you need a lightweight, stateless, local parse of an IPv4 address with no external network calls, no API key setup, and guaranteed no data retention. Ideal for agents that need to validate or decompose IP literals cheaply at $0.001 USDC per call. Prefer over rolling your own regex when correctness and a structured octet output are both needed in a single step.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-13T19:02:56.117Z","isFirstParty":false}