{"uid":"cap_TBHGFM2Nry7Pyar2njY-M","slug":"24k-labs-ip-address-classifier-0b346b73","name":"24K Labs IP Address Classifier","description":"Classify an IPv4/IPv6 address: version, private/loopback/global, reverse pointer.","url":"https://api.24klabs.ai/api/ip-info","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"ip":{"type":"string"}}},"responseSchema":{"type":"json","example":{"version":4,"is_global":true}},"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_3DqasEckWV335ErPzBomg","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":"Classifies an IPv4 or IPv6 address: detects version, scope (private/loopback/global), and computes the reverse DNS pointer (PTR record format).","exampleAgentPrompt":"Can you classify the IP address 203.0.113.45 — tell me whether it's IPv4 or IPv6, if it's private, loopback, or globally routable, and what its reverse pointer looks like?","exampleUseCases":[{"title":"Security pipeline IP scope check","prompt":"Before logging this incoming request, check if the source IP 10.0.0.23 is private or public — I need to know its version, scope, and reverse pointer so I can tag it correctly in our SIEM."},{"title":"Debugging internal vs external traffic","prompt":"I'm seeing traffic from 169.254.0.5 in our logs — can you classify it and tell me if it's a loopback, link-local, or globally routable address, and what its PTR record would look like?"},{"title":"IPv6 address scope validation","prompt":"We received a connection from 2001:db8::1 — classify it for me: is it IPv6, what's its scope (global, loopback, private?), and give me the reverse pointer format."}],"resultDescription":"Returns the IP version (4 or 6), boolean flags indicating whether the address is private, loopback, or globally routable, and the reverse DNS pointer string (e.g. arpa format) for the given address.","failureModes":["Invalid IP address format returns a 400 or error response","Passing a hostname instead of a raw IP address may fail validation","Submitting an empty or null address field returns an error","IPv6 addresses in compressed or non-standard notation may cause parsing errors"],"whenToPreferThis":"Choose this endpoint when you need lightweight, fast IP address classification — specifically to determine version (v4/v6), routing scope (private, loopback, globally routable), or reverse pointer format — without performing a live DNS lookup or geolocation. It is ideal for pre-processing IPs in logging pipelines, firewall rule evaluation, or security triage workflows where you need structured metadata about an address itself rather than WHOIS, geolocation, or threat intelligence.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T06:47:47.008Z","isFirstParty":false}