{"uid":"cap_tHBFv5FjNbf7Wa3afI5MO","slug":"ai-rook-ip-lookup-ff170109","name":"AI Rook IP Lookup","description":"IP geolocation, ASN, and proxy/VPN detection. Pass ?ip=x.x.x.x or omit for caller IP.","url":"https://agents.ai-rook.com/api/ip-lookup","method":"GET","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method"],"properties":{"type":{"type":"string","const":"http"},"method":{"enum":["GET"],"type":"string"},"queryParams":{"type":"object","properties":{"ip":{"type":"string","description":"IPv4 or IPv6 address to look up (optional, defaults to caller IP)"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":{"type":"json","example":{"ip":"8.8.8.8","asn":"AS15169","org":"Google LLC","vpn":false,"city":"Mountain View","proxy":false,"country":"US"}},"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_M4rprZZ7NE6liJrOHSvx6","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":"Looks up geolocation, ASN, organization, VPN, and proxy status for a given IPv4 or IPv6 address (or the caller's own IP).","exampleAgentPrompt":"Can you look up the IP address 8.8.8.8 and tell me what country and organization it belongs to, and whether it's a VPN or proxy?","exampleUseCases":[{"title":"Fraud detection for payment transactions","prompt":"Check if the IP address from this customer's purchase is using a VPN or proxy, and tell me what country and organization it's coming from so I can flag potentially risky transactions."},{"title":"Geographic access control for content","prompt":"Look up the geolocation and ASN for this user's IP address and let me know if they're connecting from outside our approved regions or through a proxy service."},{"title":"Bot detection in user signup flows","prompt":"Can you investigate whether this signup IP is associated with a VPN or proxy service, and give me the organization details so I can determine if it's likely a bot or legitimate user?"}],"resultDescription":"Returns a JSON object with the IP address, ASN (e.g. AS15169), organization name (e.g. Google LLC), city, country code, and boolean flags indicating whether the IP is a VPN or proxy.","failureModes":["Invalid IP address format returns an error","IP not found in database returns empty or partial result","Caller IP detection may fail in certain proxy/NAT environments","Payment failure (insufficient USDC balance) returns HTTP 402"],"whenToPreferThis":"Use this endpoint when you need pay-per-call IP geolocation with VPN/proxy detection and no API key signup, paying $0.002 USDC via x402 on Base mainnet. Prefer it for agent-native workflows where micropayments are acceptable and anonymity/proxy detection is required alongside basic geo data.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-13T18:45:33.645Z","isFirstParty":false}