action neutrinoapi_ipinfo { label: "IP Info" description: "Get location information about an IP address and do reverse DNS (PTR) lookups" provider: neutrinoapi method: GET path: "/ip-info" encoding: json input: { type: "object" properties: { ip: { type: "string" } "reverse-lookup": { type: "boolean" } } required: ["ip"] additionalProperties: false } output: { type: "object" required: ["city", "continent-code", "country", "country-code", "country-code3", "currency-code", "host-domain", "hostname", "ip", "is-bogon", "is-v4-mapped", "is-v6", "latitude", "longitude", "region", "region-code", "timezone", "valid"] properties: { city: { type: "string" description: "Name of the city (if detectable)" } "continent-code": { type: "string" description: "ISO 2-letter continent code" } country: { type: "string" description: "Full country name" } "country-code": { type: "string" description: "ISO 2-letter country code" } "country-code3": { type: "string" description: "ISO 3-letter country code" } "currency-code": { type: "string" description: "ISO 4217 currency code associated with the country" } "host-domain": { type: "string" description: "The IPs host domain (only set if reverse-lookup has been used)" } hostname: { type: "string" description: "The IPs full hostname (only set if reverse-lookup has been used)" } ip: { type: "string" description: "The IP address" } "is-bogon": { type: "boolean" description: "True if this is a bogon IP address such as a private network, local network or reserved address" } "is-v4-mapped": { type: "boolean" description: "True if this is a IPv4 mapped IPv6 address" } "is-v6": { type: "boolean" description: "True if this is a IPv6 address. False if IPv4" } latitude: { type: "number" format: "double" description: "Location latitude" } longitude: { type: "number" format: "double" description: "Location longitude" } region: { type: "string" description: "Name of the region (if detectable)" } "region-code": { type: "string" description: "ISO 3166-2 region code (if detectable)" } timezone: { type: "object" description: "Map containing timezone details for the location" } valid: { type: "boolean" description: "True if this is a valid IPv4 or IPv6 address" } } } }