{"uid":"cap_emuSw9VCIf_aHbLn3watS","slug":"ip-address-classifier-12141cfd","name":"IP Address Classifier","description":"Classify an IPv4/IPv6 address: version, public/private/loopback/link-local flags, integer and hex forms, reverse-DNS pointer, and optional CIDR membership test.","url":"https://api.24klabs.ai/api/ip-classify","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"ip":{"type":"string"},"cidr":{"type":"string"}}},"responseSchema":{"type":"json","example":{"version":4,"is_private":true}},"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_--X3fLRV_x6i_wKxb-GoW","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":"Classifies an IPv4 or IPv6 address, returning version, public/private/loopback/link-local flags, integer and hex representations, reverse-DNS pointer, and optional CIDR membership test.","exampleAgentPrompt":"Classify the IP address 192.168.1.50 for me — tell me if it's IPv4 or IPv6, whether it's public or private, its integer and hex forms, and check if it falls within the CIDR block 192.168.1.0/24.","exampleUseCases":[{"title":"Security audit of incoming request IPs","prompt":"I have an incoming request from IP 203.0.113.42 — classify it for me: is it public or private, is it a loopback or link-local address, and what's its reverse-DNS pointer?"},{"title":"CIDR membership check for firewall rules","prompt":"Does the IP address 172.16.5.100 fall within the private CIDR range 172.16.0.0/12? Also tell me if it's public or private and give me its hex representation."},{"title":"IPv6 address analysis for network tooling","prompt":"Analyze the IPv6 address 2001:0db8:85a3::8a2e:0370:7334 — I need to know its version, whether it's public or private, its integer form, and the reverse-DNS pointer."}],"resultDescription":"Returns the IP version (4 or 6), boolean flags for public, private, loopback, and link-local status, the integer and hexadecimal representations of the address, the reverse-DNS PTR record format, and if a CIDR block was provided, a boolean indicating whether the IP falls within that range.","failureModes":["Invalid IP address format returns a validation error","Malformed or non-existent CIDR notation causes a parsing error","IPv6 addresses in non-standard format may fail classification","Missing required IP address field returns a 400 bad request","Network timeout on reverse-DNS pointer computation"],"whenToPreferThis":"Choose this endpoint when you need a comprehensive, single-call breakdown of an IP address including type classification, numeric representations, reverse-DNS pointer, and CIDR membership — especially useful in security pipelines, network diagnostics, or firewall rule validation where multiple IP properties are needed at once.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T06:46:23.782Z","isFirstParty":false}