Currency and Country Metadata
lookup_currencyRetrieve currency information (code, name, symbol) and country metadata (calling code, TLD, languages) for any IPv4 or IPv6 address.
Instructions
Read-only currency and country metadata lookup via GET /v3/ipgeo. Works on free and paid plans. Cost: 1 credit per successful lookup.
Returns { currency, country_metadata }: currency code/name/symbol plus country calling_code, tld, and languages. ip selects the IP used to derive country and currency; omit it for caller IP. force_refresh bypasses cached data, makes a new upstream request, and can consume credits.
This response is limited to currency and country metadata. lookup_ip can return these fields together with other IP data.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ip | No | IPv4 or IPv6 address whose country determines the returned currency and country metadata. Omit to use the caller's IP. | |
| force_refresh | No | Default false. When true, bypasses cached currency/country data; a successful refresh makes a new upstream request and can consume credits. |