{"uid":"cap_-vR5wHK8rLJ_AKs8C05lK","slug":"ip-address-parser-classifier-a6c17b24","name":"IP Address Parser & Classifier","description":"Parse an IPv4 or IPv6 address and classify it — version, normalized form and RFC range (unicast, private, loopback, linkLocal, multicast, uniqueLocal, ipv4Mapped, …). Detects IPv4-mapped IPv6.","url":"https://ip.openverbs.com/v1/parse","method":"POST","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method","bodyType","body"],"properties":{"body":{"type":"object","required":["address"],"properties":{"address":{"type":"string","maxLength":64,"minLength":1,"description":"IPv4 or IPv6 address, e.g. \"192.168.1.1\" or \"2001:db8::1\"."}},"additionalProperties":false},"type":{"type":"string","const":"http"},"method":{"enum":["POST"],"type":"string"},"bodyType":{"enum":["json","form-data","text"],"type":"string"}},"additionalProperties":false}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.002","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.002/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_ZI0lOFr5eYN_7gCv0nXfv","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.002","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Parses an IPv4 or IPv6 address and returns its version, normalized form, and RFC classification (unicast, private, loopback, link-local, multicast, unique-local, IPv4-mapped, etc.).","exampleAgentPrompt":"Can you parse and classify the IP address 2001:db8::1 — tell me whether it's IPv4 or IPv6, what its normalized form is, and which RFC range it falls into (like unicast, loopback, multicast, or private)?","exampleUseCases":[{"title":"Classifying user IP on login","prompt":"We just got a login attempt from the IP 169.254.10.5 — can you parse it and tell me if it's link-local, private, or something else I should be concerned about?"},{"title":"Validating IPv4-mapped IPv6 addresses","prompt":"I have this address ::ffff:192.168.0.1 from a server log — can you parse it and confirm whether it's actually an IPv4-mapped IPv6 address and what its normalized form is?"},{"title":"Network security audit preprocessing","prompt":"Before we run our security scan, can you classify 127.0.0.1 and tell me its version, whether it's loopback, and its normalized representation?"}],"resultDescription":"Returns the IP version (4 or 6), the normalized canonical form of the address, and boolean or enum flags for RFC-defined address ranges such as unicast, private, loopback, link-local, multicast, unique-local, and IPv4-mapped. Also detects IPv4-mapped IPv6 addresses specifically.","failureModes":["Invalid or malformed IP address string returns a parse error","Empty or missing address field triggers a validation error","Addresses exceeding 64 characters are rejected","Ambiguous strings that are not valid IP addresses return an error response"],"whenToPreferThis":"Choose this endpoint when you need to programmatically determine the type, version, and RFC classification of an IP address — especially when handling mixed IPv4/IPv6 environments or needing to detect special-purpose ranges like loopback, private, link-local, or IPv4-mapped. Prefer it over CIDR-checking endpoints when you need intrinsic address classification rather than membership in a specific subnet.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T00:31:39.057Z","isFirstParty":false}