{"uid":"cap_XGOE5to4DZ0h0uoFYDLWf","slug":"fastx402-ip-info-lookup-09eba743","name":"FastX402 IP Info Lookup","description":"200 pay-per-call tools for AI agents, from $0.001 per request in USDC on Base or Solana with x402. No account, no API key.","url":"https://fastx402.tools/ip-info?utm_source=zero.xyz","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","required":["ip"],"properties":{"ip":{"type":"string","description":"IPv4 or IPv6 address"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object","properties":{"input":{"type":"string"},"range":{"type":"string"},"address":{"type":"string"},"version":{"type":"integer"},"normalized":{"type":"string"},"ipv4_mapped":{"type":"null"}}}}}}},"responseSchema":{"type":"json","example":{"input":"192.168.1.10","range":"private","address":"192.168.1.10","version":4,"normalized":"192.168.1.10","ipv4_mapped":null}},"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_YnH4cwvFtlqV7zKU7iPkB","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 metadata for an IPv4 or IPv6 address, returning its range type, normalized form, version, and mapping details.","exampleAgentPrompt":"Can you look up info on the IP address 203.0.113.42 — tell me what range it falls into and whether it's IPv4 or IPv6?","exampleUseCases":[{"title":"Classify incoming request IP","prompt":"I'm seeing traffic from 198.51.100.7 in my logs — can you tell me if that's a public or private IP and what version it is?"},{"title":"Normalize and validate user-submitted IP","prompt":"A user submitted '::ffff:192.168.0.1' as their IP — can you normalize it and tell me what range it belongs to?"},{"title":"Security audit of suspicious address","prompt":"We got a connection attempt from 10.0.0.254 — look it up and tell me if it's a private range address or something external I should worry about."}],"resultDescription":"Returns a JSON object containing the original input IP, its normalized form, IP version (4 or 6), address range classification (e.g. 'private', 'public', 'loopback'), and the ipv4_mapped field (null for native IPv4, populated for IPv4-mapped IPv6 addresses).","failureModes":["Missing or invalid 'ip' query parameter returns an error","Malformed IP strings that aren't valid IPv4 or IPv6 may return an error or unexpected range","Payment failure via x402 protocol results in 402 response and no data returned"],"whenToPreferThis":"Use this endpoint when you need lightweight, no-account IP address metadata — specifically range classification (private/public/reserved), version detection, and normalization — without requiring API key setup. Ideal for agents performing quick IP checks in security, logging, or network validation workflows at minimal cost ($0.001/call).","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-27T12:48:45.159Z","isFirstParty":false,"canonicalSlug":"fastx402-ip-info-lookup-09eba743"}