introduction to iplookupapi

Dominik Kukacka

2023-05-09

Introduction

iplookupapi is the official package for accessing currency conversion data from iplookupapi.com. The API requires a registered API key. The free plan provides 100 free monthly requests. You can register an API key here. Premium plans provide access to more requests and more data endpoints. The full API documentation can be found here

Setting up authentication

After registering your API key, set your API key locally by calling the helper function iplookupapi_api_key() or by manually calling Sys.setenv(IPLOOKUPAPI_API_KEY = <key>).

Making your first API request

Call get_ip_info() to retrieve all IP information from your client’s IP address. Add an IP address as parameter and you will retrieve all information about this specific IP, e.g. get_ip_info(0.0.0.0).

Available Functions

Please read our API documentation for all information.