{"uid":"cap_5URqYk6TlgMHNqqrIhStH","slug":"agent402-tools-ip-info-7148c412","name":"agent402.tools IP Info","description":"Classify an IP address: version, public/private/loopback/link-local, integer form, and reverse-DNS (PTR) lookup.","url":"https://agent402.tools/api/ip-info","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"ip":{"type":"string","description":"IPv4 or IPv6 address"}}},"responseSchema":{"type":"json","example":{"ip":"8.8.8.8","ptr":["dns.google"],"scope":"public","version":4}},"example":{"request":{"ip":"8.8.8.8"},"response":{"ip":"8.8.8.8","ptr":["dns.google"],"scope":"public","integer":134744072,"version":4}},"exampleRequest":{"ip":"8.8.8.8"},"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_UDWKIVP93DDbAcp76yYzl","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 IP address returning its version, scope (public/private/loopback/link-local), integer form, and reverse-DNS PTR record","exampleAgentPrompt":"Can you classify 8.8.8.8 for me — tell me if it's public or private, what IP version it is, its integer form, and do a reverse-DNS PTR lookup on it?","exampleUseCases":null,"resultDescription":"Returns the IP version (4 or 6), its scope classification (public, private, loopback, or link-local), the integer representation of the address, and the result of a reverse-DNS PTR lookup.","failureModes":["Invalid or malformed IP address string returns a validation error","IP address with no PTR record returns empty or null for reverse-DNS field","IPv6 addresses in unusual notation may fail parsing","Missing required 'ip' field in request body returns a 400-level error","Network timeout during PTR lookup may cause partial or failed response"],"whenToPreferThis":"Choose this endpoint when you need a quick, all-in-one classification of a single IP address — covering version, scope, numeric form, and reverse-DNS — without setting up your own DNS resolver or IP parsing library. Ideal for enriching logs, validating user-submitted IPs, or checking whether an address is internal vs. external.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T06:55:56.879Z","isFirstParty":false}