---
title: Entities
---

[Skip to content](#%5Ftop) 

[API Reference](https://developers.cloudflare.com/api/typescript)

[Radar](https://developers.cloudflare.com/api/typescript/resources/radar)

Copy Markdown

Open in **Claude**

Open in **ChatGPT**

Open in **Cursor**

---

**Copy Markdown**

**View as Markdown**

# Entities

##### [Get IP address details](https://developers.cloudflare.com/api/typescript/resources/radar/subresources/entities/methods/get)

client.radar.entities.get(EntityGetParams { ip, format } query, RequestOptionsoptions?): [EntityGetResponse](https://developers.cloudflare.com/api/typescript/resources/radar#%28resource%29%20radar.entities%20%3E%20%28model%29%20entity%5Fget%5Fresponse%20%3E%20%28schema%29) { ip } 

GET/radar/entities/ip

##### ModelsExpand Collapse 

EntityGetResponse { ip } 

ip: IP { asn, asnLocation, asnName, 5 more } 

asn: string

asnLocation: string

asnName: string

asnOrgName: string

ip: string

ipVersion: string

location: string

locationName: string

#### EntitiesASNs

##### [List autonomous systems](https://developers.cloudflare.com/api/typescript/resources/radar/subresources/entities/subresources/asns/methods/list)

client.radar.entities.asns.list(ASNListParams { asn, format, limit, 3 more } query?, RequestOptionsoptions?): [ASNListResponse](https://developers.cloudflare.com/api/typescript/resources/radar#%28resource%29%20radar.entities.asns%20%3E%20%28model%29%20asn%5Flist%5Fresponse%20%3E%20%28schema%29) { asns } 

GET/radar/entities/asns

##### [Get AS details by ASN](https://developers.cloudflare.com/api/typescript/resources/radar/subresources/entities/subresources/asns/methods/get)

client.radar.entities.asns.get(numberasn, ASNGetParams { format } query?, RequestOptionsoptions?): [ASNGetResponse](https://developers.cloudflare.com/api/typescript/resources/radar#%28resource%29%20radar.entities.asns%20%3E%20%28model%29%20asn%5Fget%5Fresponse%20%3E%20%28schema%29) { asn } 

GET/radar/entities/asns/{asn}

##### [Get AS-level relationships by ASN](https://developers.cloudflare.com/api/typescript/resources/radar/subresources/entities/subresources/asns/methods/rel)

client.radar.entities.asns.rel(numberasn, ASNRelParams { asn2, format } query?, RequestOptionsoptions?): [ASNRelResponse](https://developers.cloudflare.com/api/typescript/resources/radar#%28resource%29%20radar.entities.asns%20%3E%20%28model%29%20asn%5Frel%5Fresponse%20%3E%20%28schema%29) { meta, rels } 

GET/radar/entities/asns/{asn}/rel

##### [Get IRR AS-SETs that an AS is a member of](https://developers.cloudflare.com/api/typescript/resources/radar/subresources/entities/subresources/asns/methods/as%5Fset)

client.radar.entities.asns.asSet(numberasn, ASNAsSetParams { format } query?, RequestOptionsoptions?): [ASNAsSetResponse](https://developers.cloudflare.com/api/typescript/resources/radar#%28resource%29%20radar.entities.asns%20%3E%20%28model%29%20asn%5Fas%5Fset%5Fresponse%20%3E%20%28schema%29) { as\_sets, paths } 

GET/radar/entities/asns/{asn}/as\_set

##### [Get AS details by IP address](https://developers.cloudflare.com/api/typescript/resources/radar/subresources/entities/subresources/asns/methods/ip)

client.radar.entities.asns.ip(ASNIPParams { ip, format } query, RequestOptionsoptions?): [ASNIPResponse](https://developers.cloudflare.com/api/typescript/resources/radar#%28resource%29%20radar.entities.asns%20%3E%20%28model%29%20asn%5Fip%5Fresponse%20%3E%20%28schema%29) { asn } 

GET/radar/entities/asns/ip

##### [Get AS rankings by botnet threat feed activity](https://developers.cloudflare.com/api/typescript/resources/radar/subresources/entities/subresources/asns/methods/botnet%5Fthreat%5Ffeed)

client.radar.entities.asns.botnetThreatFeed(ASNBotnetThreatFeedParams { asn, compareDateRange, date, 6 more } query?, RequestOptionsoptions?): [ASNBotnetThreatFeedResponse](https://developers.cloudflare.com/api/typescript/resources/radar#%28resource%29%20radar.entities.asns%20%3E%20%28model%29%20asn%5Fbotnet%5Fthreat%5Ffeed%5Fresponse%20%3E%20%28schema%29) { ases, meta } 

GET/radar/entities/asns/botnet\_threat\_feed

##### ModelsExpand Collapse 

ASNListResponse { asns } 

asns: Array<ASN\>

asn: number

country: string

countryName: string

estimatedUsers: EstimatedUsers { estimatedUsers } 

estimatedUsers?: number

Total estimated users.

name: string

aka?: string

orgName?: string

website?: string

ASNGetResponse { asn } 

asn: ASN { asn, confidenceLevel, country, 8 more } 

asn: number

confidenceLevel: number

country: string

countryName: string

estimatedUsers: EstimatedUsers { locations, estimatedUsers } 

locations: Array<Location\>

locationAlpha2: string

locationName: string

estimatedUsers?: number

Estimated users per location.

estimatedUsers?: number

Total estimated users.

name: string

orgName: string

related: Array<Related\>

asn: number

name: string

aka?: string

estimatedUsers?: number

Total estimated users.

source: string

Regional Internet Registry.

website: string

aka?: string

ASNRelResponse { meta, rels } 

meta: Meta { data\_time, query\_time, total\_peers } 

data\_time: string

query\_time: string

total\_peers: number

rels: Array<Rel\>

asn1: number

asn1\_country: string

asn1\_name: string

asn2: number

asn2\_country: string

asn2\_name: string

rel: string

ASNAsSetResponse { as\_sets, paths } 

as\_sets: Array<AsSet\>

as\_members\_count: number

The number of AS members in the AS-SET

as\_set\_members\_count: number

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

as\_set\_upstreams\_count: number

The number of recursive upstream AS-SETs

asn\_cone\_size: number

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

irr\_sources: Array<string\>

The IRR sources of the AS-SET

name: string

The name of the AS-SET

hierarchical\_asn?: number

The AS number following hierarchical AS-SET name

inferred\_asn?: number

The inferred AS number of the AS-SET

peeringdb\_asn?: number

The AS number matching PeeringDB record

paths: Array<Array<string\>\>

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

ASNIPResponse { asn } 

asn: ASN { asn, country, countryName, 7 more } 

asn: number

country: string

countryName: string

estimatedUsers: EstimatedUsers { locations, estimatedUsers } 

locations: Array<Location\>

locationAlpha2: string

locationName: string

estimatedUsers?: number

Estimated users per location.

estimatedUsers?: number

Total estimated users.

name: string

orgName: string

related: Array<Related\>

asn: number

name: string

aka?: string

estimatedUsers?: number

Total estimated users.

source: string

Regional Internet Registry.

website: string

aka?: string

ASNBotnetThreatFeedResponse { ases, meta } 

ases: Array<Ase\>

asn: number

country: string

name: string

rank: number

rankChange?: number

meta: Meta { date, total, compareDate } 

date: string

total: number

compareDate?: string

#### EntitiesLocations

##### [List locations](https://developers.cloudflare.com/api/typescript/resources/radar/subresources/entities/subresources/locations/methods/list)

client.radar.entities.locations.list(LocationListParams { continent, format, limit, 4 more } query?, RequestOptionsoptions?): [LocationListResponse](https://developers.cloudflare.com/api/typescript/resources/radar#%28resource%29%20radar.entities.locations%20%3E%20%28model%29%20location%5Flist%5Fresponse%20%3E%20%28schema%29) { locations } 

GET/radar/entities/locations

##### [Get location details](https://developers.cloudflare.com/api/typescript/resources/radar/subresources/entities/subresources/locations/methods/get)

client.radar.entities.locations.get(stringlocation, LocationGetParams { format } query?, RequestOptionsoptions?): [LocationGetResponse](https://developers.cloudflare.com/api/typescript/resources/radar#%28resource%29%20radar.entities.locations%20%3E%20%28model%29%20location%5Fget%5Fresponse%20%3E%20%28schema%29) { location } 

GET/radar/entities/locations/{location}

##### ModelsExpand Collapse 

LocationListResponse { locations } 

locations: Array<Location\>

alpha2: string

continent: string

latitude: string

A numeric string.

longitude: string

A numeric string.

name: string

region: string

subregion: string

LocationGetResponse { location } 

location: Location { alpha2, confidenceLevel, continent, 5 more } 

alpha2: string

confidenceLevel: number

continent: string

latitude: string

A numeric string.

longitude: string

A numeric string.

name: string

region: string

subregion: string