Retrieve IP ASN advertisement history

ip_history(ip, source = c("caida", "ripe_rrc00"),
  address_family = c("v4", "v6"), date = NULL, first = NULL,
  last = NULL, precision_delta = NULL,
  ip_asn_history_endpoint = "https://bgpranking-ng.circl.lu/ipasn_history/")

Arguments

ip

(required) IP 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.

Note

If you want to resolve more than 1000 IPs, use mass_cache() and mass_query()

Examples

# NOT RUN {
ip_history("146.185.222.49")
ip_history("146.185.222.49", first="2018-11-01", last="2018-11-25")
# }