Network/Routing Info
lookup_networkRetrieve network details for a given IP address, including route CIDR prefix, connection type, and anycast status. Optionally force a fresh upstream lookup to bypass cache.
Instructions
Read-only network lookup via GET /v3/ipgeo. Paid only. Cost: 1 credit. Returns { network } with route CIDR prefix, connection_type, and is_anycast.
ip omitted means caller IP. force_refresh bypasses cache and makes a fresh upstream request only when the user asks. Use this for network-only requests; use lookup_ip once if the request also needs location, ASN/company, timezone, currency, security, or abuse.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ip | No | IPv4 or IPv6 address to look up. Omit to check the caller's IP. | |
| force_refresh | No | Default false. Set true only when the user asks to refresh cached network data; a successful refresh makes a new upstream request and can consume credits. |