Skip to content
Start here

Entities

Get IP address details
radar.entities.get(EntityGetParams**kwargs) -> EntityGetResponse
GET/radar/entities/ip
ModelsExpand Collapse
class EntityGetResponse:
ip: IP
asn: str
asn_location: str
asn_name: str
asn_org_name: str
ip: str
ip_version: str
location: str
location_name: str

EntitiesASNs

List autonomous systems
radar.entities.asns.list(ASNListParams**kwargs) -> ASNListResponse
GET/radar/entities/asns
Get AS details by ASN
radar.entities.asns.get(intasn, ASNGetParams**kwargs) -> ASNGetResponse
GET/radar/entities/asns/{asn}
Get AS-level relationships by ASN
radar.entities.asns.rel(intasn, ASNRelParams**kwargs) -> ASNRelResponse
GET/radar/entities/asns/{asn}/rel
Get IRR AS-SETs that an AS is a member of
radar.entities.asns.as_set(intasn, ASNAsSetParams**kwargs) -> ASNAsSetResponse
GET/radar/entities/asns/{asn}/as_set
Get AS details by IP address
radar.entities.asns.ip(ASNIPParams**kwargs) -> ASNIPResponse
GET/radar/entities/asns/ip
Get AS rankings by botnet threat feed activity
radar.entities.asns.botnet_threat_feed(ASNBotnetThreatFeedParams**kwargs) -> ASNBotnetThreatFeedResponse
GET/radar/entities/asns/botnet_threat_feed
ModelsExpand Collapse
class ASNListResponse:
asns: List[ASN]
asn: int
country: str
country_name: str
name: str
aka: Optional[str]
org_name: Optional[str]
website: Optional[str]
class ASNGetResponse:
asn: ASN
asn: int
confidence_level: int
country: str
country_name: str
estimated_users: ASNEstimatedUsers
locations: List[ASNEstimatedUsersLocation]
location_alpha2: str
location_name: str
estimated_users: Optional[int]

Estimated users per location.

estimated_users: Optional[int]

Total estimated users.

name: str
org_name: str
source: str

Regional Internet Registry.

website: str
aka: Optional[str]
class ASNRelResponse:
meta: Meta
data_time: str
query_time: str
total_peers: int
rels: List[Rel]
asn1: int
asn1_country: str
asn1_name: str
asn2: int
asn2_country: str
asn2_name: str
rel: str
class ASNAsSetResponse:
as_sets: List[AsSet]
as_members_count: int

The number of AS members in the AS-SET

as_set_members_count: int

The number of AS-SET members in the AS-SET

as_set_upstreams_count: int

The number of recursive upstream AS-SETs

asn_cone_size: int

The number of unique ASNs in the AS-SETs recursive downstream

irr_sources: List[str]

The IRR sources of the AS-SET

name: str

The name of the AS-SET

hierarchical_asn: Optional[int]

The AS number following hierarchical AS-SET name

inferred_asn: Optional[int]

The inferred AS number of the AS-SET

peeringdb_asn: Optional[int]

The AS number matching PeeringDB record

paths: List[List[str]]

Paths from the AS-SET that include the given AS to its upstreams recursively

class ASNIPResponse:
asn: ASN
asn: int
country: str
country_name: str
estimated_users: ASNEstimatedUsers
locations: List[ASNEstimatedUsersLocation]
location_alpha2: str
location_name: str
estimated_users: Optional[int]

Estimated users per location.

estimated_users: Optional[int]

Total estimated users.

name: str
org_name: str
source: str

Regional Internet Registry.

website: str
aka: Optional[str]
class ASNBotnetThreatFeedResponse:
ases: List[Ase]
asn: int
country: str
name: str
rank: int
rank_change: Optional[int]
meta: Meta
date: str
total: int
compare_date: Optional[str]

EntitiesLocations

List locations
radar.entities.locations.list(LocationListParams**kwargs) -> LocationListResponse
GET/radar/entities/locations
Get location details
radar.entities.locations.get(strlocation, LocationGetParams**kwargs) -> LocationGetResponse
GET/radar/entities/locations/{location}
ModelsExpand Collapse
class LocationListResponse:
locations: List[Location]
alpha2: str
continent: str
latitude: str

A numeric string.

longitude: str

A numeric string.

name: str
region: str
subregion: str
class LocationGetResponse:
location: Location
alpha2: str
confidence_level: int
continent: str
latitude: str

A numeric string.

longitude: str

A numeric string.

name: str
region: str
subregion: str