get_ip_postal
Retrieve postal or ZIP code information from any IP address to determine geographic location for location-based services, verification, or analytics.
Instructions
Get just the postal code for an IP address.
Args: ip: IP address to lookup. If None, returns current postal code.
Returns: Postal or ZIP code.
Input Schema
Name | Required | Description | Default |
---|---|---|---|
ip | No |
Input Schema (JSON Schema)
{
"properties": {
"ip": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Ip"
}
},
"type": "object"
}