Use this path when you have lots of query to run and (>1000) in order to resolve all of them at once without caring about the results (except errors). See Details for how to specify parameter values

mass_cache(ips, source = NULL, address_family = NULL, date = NULL,
  first = NULL, last = NULL, precision_delta = NULL,
  ip_asn_history_endpoint = "https://bgpranking-ng.circl.lu/ipasn_history/")

Arguments

ips

(required) character vector of IPs to lookup

source

(optional) Source to query (defaults to 'caida') - currently, supports CAIDA & RIPE NCC sources

address_family

(optional) v4 or v6 (defaults to v4)

date

(optional) Exact date to lookup (defaults to most recent available). Can be a date-y/time-y-ish R object or a "YYYY-mm-dd" string

first, last

(optional) First/last date in the interval. Same value format restrictions as date param

precision_delta

(optional) Max delta allowed between the date queried and the one we have in the database. Use timedelta() to construct the value for this parameter.

ip_asn_history_endpoint

supply or your own or use the default circl.lu server provided.

Details

This is a bulk cache/lookup function. If source, address_family, date, first, last, precision_delta are not either NULL or length 1 ( for precision_delta that means a single list retrieved from timedelta()) then they must be the same length as ips, since the API expects a full parameter list for each IP being queried for and there's no way for this function to intuit what you need outside of these specified rules.

Note

If using your own server do not add the /mass_cache at the end of the ip_asn_history_endpoint URL parameter.