IP Geolocation API: VPN Check, Time Zone and Currency Rates avatar

IP Geolocation API: VPN Check, Time Zone and Currency Rates

Pricing

from $10.00 / 1,000 ip geolocation records

Go to Apify Store
IP Geolocation API: VPN Check, Time Zone and Currency Rates

IP Geolocation API: VPN Check, Time Zone and Currency Rates

IP geolocation API for IPv4 and IPv6: country, city, coordinates, ASN, ISP, VPN, proxy and Tor detection, abuse contacts, time zones, sunrise and sunset, user agent parsing (ipgeolocation.io) plus live and historical exchange rates (CurrencyFreaks). Bring your own key.

Pricing

from $10.00 / 1,000 ip geolocation records

Rating

0.0

(0)

Developer

Nabeel Hassan

Nabeel Hassan

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

23 days ago

Last modified

Features

Limited permissions

Share

Look up the country, city, coordinates, ASN, ISP, VPN and proxy status, time zone and local currency of any IPv4 or IPv6 address with your own ipgeolocation.io key, plus live and historical exchange rates from CurrencyFreaks, as clean rows you can export to CSV, Excel or JSON.

ipgeolocation.io and CurrencyFreaks are two APIs run by the same company (JFreaks Software Solutions). This actor wraps the read endpoints of the ipgeolocation.io API v3: IP geolocation, IP security (VPN, proxy, Tor, bot and threat detection), ASN, abuse contact, time zone, time conversion, astronomy and user agent parsing. It also wraps the CurrencyFreaks API v2.0: latest and historical exchange rates for fiat, crypto and metals, time series, fluctuation, conversion, IP to currency and the supported currency list. Use it for fraud screening, visitor analytics, ad and content localization, log enrichment, compliance checks, scheduling across time zones and multi currency pricing. Bring your own API key.

BYOK, not live tested: every route, parameter and response field comes from the providers' own documentation (ipgeolocation.io/documentation, the official ipgeolocation.io Postman collection, and currencyfreaks.com/documentation), and routes were probed on 2026-11-02 with an invalid key. The actor has not been run against a live key.

What it does

  • IP geolocation: continent, country, region, district, city, postal code, latitude and longitude, EU flag, calling code, languages, currency, ASN and time zone for each IP. Paid plans add accuracy radius, DMA code, network, company, hostname, security and abuse fields through include modules.
  • IP security and VPN detection: threat score, VPN, proxy, residential proxy, Tor, relay, bot, spam, known attacker and cloud provider flags with provider names and confidence scores (paid plans).
  • ASN lookup: AS name, organization, country, type, domain, RIR, allocation date and route counts by AS number or IP, with optional peers, upstreams, downstreams, routes and raw WHOIS (paid plans).
  • Abuse contact: the registry abuse contact for an IP: route, organization, address, emails and phone numbers (paid plans).
  • Time zone: current local time, UTC offset, DST status and the next DST transitions for an IANA time zone name, an address, coordinates, an IP, an IATA or ICAO airport code or a UN/LOCODE.
  • Time conversion: convert a time from one IANA time zone to another, with the difference in hours and minutes.
  • Astronomy: sunrise, sunset, solar noon, day length, twilight and golden hour times, sun and moon position, moonrise, moonset and moon phase for any place and date.
  • User agent parsing: browser or bot name and version, device type and brand, engine and operating system from any user agent string.
  • Exchange rates (CurrencyFreaks): latest rates on every plan; historical rates back to 1984-11-28, time series and fluctuation on paid plans, for 1,000+ fiat currencies, cryptocurrencies and precious metals.
  • Currency conversion and IP to currency: convert amounts at the latest or a past rate, or into the local currency of an IP address.
  • Plan aware: a feature your plan lacks ends the run cleanly with a message naming the plan that has it.
  • Read only and pay only for results: empty answers and refused lookups become a free row that says why.

How to get your own key

  1. Sign up at app.ipgeolocation.io. The free plan gives 1,000 credits a day for life and covers IP geolocation (default fields), time zone, time conversion, astronomy and user agent parsing. Paid plans add include modules, IP security, ASN, abuse contact, domain lookups and other languages.
  2. For the currency modes, sign up at currencyfreaks.com/signup. The free plan gives 1,000 calls a month for latest rates against USD; paid plans add other bases, historical rates, conversion, time series, fluctuation and IP to currency.
  3. Paste the keys into the ipgeolocation.io API key and CurrencyFreaks API key fields, or set the DATA_API_KEY (and DATA_API_KEY_CURRENCY) secrets. Both providers document only a query parameter for the key, so the actor adds it to the request and removes it from every log line and message.

Input

FieldModesNotes
modeallipLookup, ipSecurity, asnLookup, abuseContact, timezone, timeConvert, astronomy, userAgent, fxLatest, fxHistorical, fxTimeSeries, fxFluctuation, fxConvert, ipToCurrency, currencies
apiKeyipgeolocation.io modesyour ipgeolocation.io key; falls back to the DATA_API_KEY secret
currencyApiKeyCurrencyFreaks modesyour CurrencyFreaks key; falls back to DATA_API_KEY_CURRENCY, then DATA_API_KEY
ipsipLookup, ipSecurity, asnLookup, abuseContact, ipToCurrencyone IPv4 or IPv6 address per line (ipLookup also takes domains on paid plans)
asnsasnLookupAS numbers such as AS15169
includeipLookupgeo_accuracy, dma_code, security, abuse, hostname, liveHostname, hostnameFallbackLive (paid)
asnIncludeasnLookuppeers, downstreams, upstreams, routes, whois_response
fields, excludesipLookup, ipSecurity, asnLookup, abuseContactcomma separated field filters with dot notation
langipLookup, IP based timezone and astronomy13 languages; other than English needs a paid plan
lookupBytimezone, astronomytimeZoneName, location, coordinates, ip, iata, icao, locode
placestimezone, astronomyone place per line in the chosen form
datesastronomy, fxHistoricalone YYYY-MM-DD per line
elevation, eventTimeZoneastronomymeters above sea level; time zone for the event times
timeConversionstimeConvertAmerica/New_York Asia/Tokyo 2026-12-08 11:00 per line
userAgentsuserAgentone user agent string per line
base, symbolsfx rate modesbase code (USD on the free plan) and codes to return
startDate, endDatefxHistorical, fxTimeSeries, fxFluctuationinclusive range
conversionsfxConvert100 USD EUR, or 100 USD EUR 2024-01-31 for a past rate
amountipToCurrencyamount in the base currency
maxResultsallstop after this many rows (default 1,000)

Output

An IP geolocation row:

{
"mode": "ipLookup",
"recordType": "geolocation",
"query": "91.128.103.196",
"found": true,
"ip": "91.128.103.196",
"continentCode": "EU",
"countryCode": "SE",
"countryName": "Sweden",
"stateProv": "Stockholms lan",
"city": "Stockholm",
"zipcode": "164 40",
"latitude": 59.4051,
"longitude": 17.9551,
"isEu": true,
"callingCode": "+46",
"currencyCode": "SEK",
"asNumber": "AS1257",
"asOrganization": "Tele2 Sverige AB",
"timeZone": "Europe/Stockholm",
"utcOffset": 1,
"currentTime": "2026-10-29 11:33:55.296+0100",
"isDst": false
}

An IP security row:

{
"mode": "ipSecurity",
"recordType": "security",
"query": "39.63.58.51",
"found": true,
"ip": "39.63.58.51",
"threatScore": 0,
"isVpn": false,
"isProxy": false,
"isResidentialProxy": false,
"isTor": false,
"isBot": false,
"isCloudProvider": false
}

An exchange rate row:

{
"mode": "fxLatest",
"recordType": "rate",
"query": "latest",
"found": true,
"date": "2026-08-25",
"rateTime": "2026-08-25 13:26:00+00",
"base": "USD",
"currency": "EUR",
"rate": 0.9278605451,
"inverseRate": 1.0777481651
}

Time zone rows carry timeZone, utcOffset, localDateTime, isDst and the DST transitions; astronomy rows carry sunrise, sunset, solarNoon, dayLength, moonPhase and the sun and moon positions; user agent rows carry uaName, uaType, deviceType, deviceBrand, osName and osVersion; conversion rows carry from, to, amount, rate and converted. The values above are illustrative.

Pricing

Pay per event, only for rows with data:

EventPrice
IP geolocation record$0.01
IP security and VPN detection record$0.015
ASN record$0.01
Abuse contact record$0.01
Time zone record$0.005
Time conversion$0.005
Astronomy record (one place and date)$0.005
Parsed user agent$0.005
Exchange rate (one currency and date)$0.005
Exchange rate fluctuation (one currency)$0.005
Currency conversion$0.005
Supported currency rowsfree

Your ipgeolocation.io and CurrencyFreaks plans are billed separately by the provider. On ipgeolocation.io an IP lookup costs 1 credit, plus 2 with security and 1 with abuse, and the IP security endpoint costs 2; only successful answers use credits. On CurrencyFreaks every call counts against the monthly quota, so a symbols list and the time series mode keep long histories cheap.

FAQ

What is the ipgeolocation.io IP Geolocation API?

The ipgeolocation.io API is a REST API for IP intelligence run by JFreaks Software Solutions. Version 3 returns location, country metadata, currency, ASN, network, company, time zone, security and abuse data for any IPv4 or IPv6 address, and offers separate time zone, astronomy and user agent endpoints.

Can I use the free ipgeolocation.io plan?

Yes. The free plan gives 1,000 credits a day and covers IP geolocation with the default fields, time zone, time conversion, astronomy and user agent parsing. IP security, ASN, abuse contact, include modules, domain lookups and other languages need a paid plan; the run ends cleanly and says so if your key lacks them.

How does the actor detect VPNs, proxies and Tor?

The IP security mode calls the ipgeolocation.io /v3/security endpoint, which flags VPN, proxy, residential proxy, Tor, relay, bot, spam, known attacker and cloud provider traffic and gives a 0 to 100 threat score with provider names and confidence scores. The same fields come with IP geolocation when you add the security include module.

What is CurrencyFreaks?

CurrencyFreaks is an exchange rate API from the same company, covering 1,000+ currencies: fiat, cryptocurrencies and gold, silver, platinum and palladium. Latest rates work on the free plan; historical rates back to 1984-11-28, conversion, time series, fluctuation and IP to currency need paid plans.

Why are there two API key fields?

ipgeolocation.io and CurrencyFreaks issue separate accounts and keys. The IP, time zone, astronomy and user agent modes use the ipgeolocation.io key; the exchange rate modes use the CurrencyFreaks key. You only need the key for the modes you run.

How accurate is IP geolocation?

ipgeolocation.io states 99%+ accuracy at country level, 90%+ at region level and 85%+ at city level, lower on mobile networks. Paid plans can return an accuracy radius and confidence per result with the geo_accuracy include module.

What do I pay?

$0.01 per IP geolocation, ASN or abuse record, $0.015 per IP security record, and $0.005 per time zone, time conversion, astronomy, user agent, exchange rate, fluctuation or conversion row. Supported currency rows, empty answers and refused lookups are free.

Keyword map

IP geolocation API, IP lookup, IP to location, IP to country, IP address API, VPN detection API, proxy detection, Tor detection, IP threat score, ASN lookup, ISP lookup, abuse contact lookup, IP to time zone, time zone API, time zone converter, sunrise sunset API, moon phase API, user agent parser, exchange rates API, historical exchange rates, currency converter API, IP to currency, ipgeolocation.io, CurrencyFreaks.

Routes and verification

ModeRouteProbe with an invalid key (twice)
IP geolocationGET api.ipgeolocation.io/v3/ipgeo401 JSON "Provided API key is not valid"
IP securityGET /v3/security401 JSON, same message
ASNGET /v3/asndocumented, not probed
Abuse contactGET /v3/abusedocumented, not probed
Time zoneGET /v3/timezone401 JSON, same message
Time conversionGET /v3/timezone/convertdocumented, not probed
AstronomyGET /v3/astronomydocumented, not probed
User agentGET /v3/user-agent401 JSON, same message
Invented control routeGET /v3/geoip-lookup404 JSON "No endpoint GET /v3/geoip-lookup."
Latest ratesGET api.currencyfreaks.com/v2.0/rates/latest401 JSON "Invalid Api Access Exception"
Time seriesGET /v2.0/timeseries401 JSON, same
ConvertGET /v2.0/convert/latest401 JSON, same
Historical, fluctuation, historical convert, IP to currencyGET /v2.0/rates/historical, /fluctuation, /convert/historical, /iptocurrencydocumented, not probed
Supported currenciesGET /v2.0/supported-currencies200 JSON without a key, as documented
Invented control routeGET /v2.0/rates/spot404 JSON "No Handler Found Exception"

The user agent mode uses the documented GET form, which parses the User-Agent header of the request, so it works on the free plan.

Licensing and data use

This actor works only with your own ipgeolocation.io and CurrencyFreaks keys, and your agreements with those providers apply. The ipgeolocation.io Terms of Service grant, by default, an End-User License for your own internal business processes, security filtering and analytics on infrastructure you control; the free plan may be used in production and for commercial purposes under the same terms. That license does not allow exposing raw lookup results externally, public tools, white-labeling or passing raw results to third parties, which need a Commercial, Reseller or Redistribution license from ipgeolocation.io. The CurrencyFreaks Terms of Service license the data for reference by your own application's end users only and say you may not transfer the data outside your own applications, redistribute, resell or publish it. Both providers require you to keep your credentials confidential and not disclose them to any other party. Neither sets a cache or retention limit. Use the results inside your own systems and do not resell or republish the raw data. This actor is not affiliated with or endorsed by ipgeolocation.io or CurrencyFreaks.