{"uid":"cap_mSW7tliSmfH0-5Ikgp0Z1","slug":"agentshelf-ipv4-regex-extractor-73388312","name":"AgentShelf IPv4 Regex Extractor","description":"Call when an agent needs IPv4 addresses extracted from text, capped at 20 matches. An empty match list is billed. No network. Exact $0.01 USDC. Prefer unpaid POST /v1/sandbox/regex-ipv4 first.","url":"https://agentshelf.syntexa.ch/v1/regex-ipv4?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"text":{"type":"string","examples":["8.8.8.8"],"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.01","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.01/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_xRX6vnIsyu4r5-g2e-ORM","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.01","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Extracts all IPv4 addresses from a given text string using regex, returning up to 20 matches.","exampleAgentPrompt":"Can you pull out all the IPv4 addresses from this server log text? Here's the log: '2024-01-10 ERROR connection from 192.168.1.45 refused, forwarded to 10.0.0.1, notify admin at 203.0.113.5'","exampleUseCases":[{"title":"Log file IP extraction","prompt":"I have a raw Apache access log snippet and I need all the IPv4 addresses pulled out of it — can you extract every IP address from this text: '127.0.0.1 - - [10/Oct/2023:13:55:36] GET /index.html 200 2326 203.0.113.42 - - [10/Oct/2023:13:55:40] POST /api 403'?"},{"title":"Security report IP harvesting","prompt":"I've got a threat intelligence report in plain text and I need to collect all the IPv4 addresses mentioned in it so I can block them — please extract every IP from this: 'Malicious activity detected from 198.51.100.7 and 198.51.100.23; C2 server at 203.0.113.99.'"},{"title":"Network config IP audit","prompt":"Can you scan this network configuration snippet and list every IPv4 address in it? Here's the config: 'gateway=10.0.0.1 dns1=8.8.8.8 dns2=8.8.4.4 host=192.168.0.100 backup=172.16.0.5'"}],"resultDescription":"Returns a list of up to 20 IPv4 address strings matched from the input text. If no IPv4 addresses are found, an empty list is returned — but the call is still billed at $0.01 USDC. The response includes the matched addresses in the order they appear in the input.","failureModes":["Empty match list returned when no IPv4 addresses are present in the text — call is still billed","Input text exceeding 100,000 characters will be rejected","Malformed or missing 'text' field causes a validation error","IPv6 addresses are not matched — only IPv4","More than 20 matches are capped at 20; additional addresses beyond the limit are not returned"],"whenToPreferThis":"Choose this endpoint when you need fast, deterministic regex-based IPv4 extraction from text without any LLM or network calls. It is ideal for processing log files, configuration snippets, or security reports where you need reliable, exact IP address extraction. Use the free sandbox endpoint POST /v1/sandbox/regex-ipv4 first to test before incurring the $0.01 USDC charge. Prefer this over LLM-based extraction when determinism, cost control, and speed matter more than fuzzy matching.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-02T06:50:04.205Z","isFirstParty":false,"canonicalSlug":"agentshelf-ipv4-regex-extractor-73388312"}