---
title: Traffic Anomalies
---

[Skip to content](#_top)

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

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

Copy Markdown

Open in **Claude**Open in **ChatGPT**Open in **Cursor**

---

**Copy Markdown****View as Markdown**

# Traffic Anomalies

##### [Get latest Internet traffic anomalies](https://developers.cloudflare.com/api/python/resources/radar/subresources/traffic_anomalies/methods/get)

radar.traffic\_anomalies.get(TrafficAnomalyGetParams\*\*kwargs) -> [TrafficAnomalyGetResponse](<https://developers.cloudflare.com/api/python/resources/radar#(resource)%20radar.traffic_anomalies%20%3E%20(model)%20traffic_anomaly_get_response%20%3E%20(schema)>)

GET/radar/traffic\_anomalies

##### ModelsExpand Collapse

<details>

<summary>

class TrafficAnomalyGetResponse: …

</summary>

<details>

<summary>

traffic\_anomalies: List\[TrafficAnomaly]

</summary>

<details>

<summary>

asn\_details: Optional\[TrafficAnomalyASNDetails]

</summary>

asn: str

<a href="#(resource)%20radar.traffic_anomalies%20%3E%20(model)%20traffic_anomaly_get_response%20%3E%20(schema)%20%3E%20(property)%20trafficAnomalies%20%3E%20(items)%20%3E%20(property)%20asnDetails%20%3E%20(property)%20asn">Link to this property</a>

<details>

<summary>

location: Optional\[TrafficAnomalyASNDetailsLocation]

</summary>

code: str

<a href="#(resource)%20radar.traffic_anomalies%20%3E%20(model)%20traffic_anomaly_get_response%20%3E%20(schema)%20%3E%20(property)%20trafficAnomalies%20%3E%20(items)%20%3E%20(property)%20asnDetails%20%3E%20(property)%20location%20%3E%20(property)%20code">Link to this property</a>

name: str

<a href="#(resource)%20radar.traffic_anomalies%20%3E%20(model)%20traffic_anomaly_get_response%20%3E%20(schema)%20%3E%20(property)%20trafficAnomalies%20%3E%20(items)%20%3E%20(property)%20asnDetails%20%3E%20(property)%20location%20%3E%20(property)%20name">Link to this property</a>

</details>

<a href="#(resource)%20radar.traffic_anomalies%20%3E%20(model)%20traffic_anomaly_get_response%20%3E%20(schema)%20%3E%20(property)%20trafficAnomalies%20%3E%20(items)%20%3E%20(property)%20asnDetails%20%3E%20(property)%20location">Link to this property</a>

name: Optional\[str]

<a href="#(resource)%20radar.traffic_anomalies%20%3E%20(model)%20traffic_anomaly_get_response%20%3E%20(schema)%20%3E%20(property)%20trafficAnomalies%20%3E%20(items)%20%3E%20(property)%20asnDetails%20%3E%20(property)%20name">Link to this property</a>

</details>

<a href="#(resource)%20radar.traffic_anomalies%20%3E%20(model)%20traffic_anomaly_get_response%20%3E%20(schema)%20%3E%20(property)%20trafficAnomalies%20%3E%20(items)%20%3E%20(property)%20asnDetails">Link to this property</a>

end\_date: Optional\[datetime]

formatdate-time

<a href="#(resource)%20radar.traffic_anomalies%20%3E%20(model)%20traffic_anomaly_get_response%20%3E%20(schema)%20%3E%20(property)%20trafficAnomalies%20%3E%20(items)%20%3E%20(property)%20endDate">Link to this property</a>

<details>

<summary>

location\_details: Optional\[TrafficAnomalyLocationDetails]

</summary>

code: str

<a href="#(resource)%20radar.traffic_anomalies%20%3E%20(model)%20traffic_anomaly_get_response%20%3E%20(schema)%20%3E%20(property)%20trafficAnomalies%20%3E%20(items)%20%3E%20(property)%20locationDetails%20%3E%20(property)%20code">Link to this property</a>

name: str

<a href="#(resource)%20radar.traffic_anomalies%20%3E%20(model)%20traffic_anomaly_get_response%20%3E%20(schema)%20%3E%20(property)%20trafficAnomalies%20%3E%20(items)%20%3E%20(property)%20locationDetails%20%3E%20(property)%20name">Link to this property</a>

</details>

<a href="#(resource)%20radar.traffic_anomalies%20%3E%20(model)%20traffic_anomaly_get_response%20%3E%20(schema)%20%3E%20(property)%20trafficAnomalies%20%3E%20(items)%20%3E%20(property)%20locationDetails">Link to this property</a>

<details>

<summary>

origin\_details: Optional\[TrafficAnomalyOriginDetails]

</summary>

name: Optional\[str]

<a href="#(resource)%20radar.traffic_anomalies%20%3E%20(model)%20traffic_anomaly_get_response%20%3E%20(schema)%20%3E%20(property)%20trafficAnomalies%20%3E%20(items)%20%3E%20(property)%20originDetails%20%3E%20(property)%20name">Link to this property</a>

origin: str

<a href="#(resource)%20radar.traffic_anomalies%20%3E%20(model)%20traffic_anomaly_get_response%20%3E%20(schema)%20%3E%20(property)%20trafficAnomalies%20%3E%20(items)%20%3E%20(property)%20originDetails%20%3E%20(property)%20origin">Link to this property</a>

</details>

<a href="#(resource)%20radar.traffic_anomalies%20%3E%20(model)%20traffic_anomaly_get_response%20%3E%20(schema)%20%3E%20(property)%20trafficAnomalies%20%3E%20(items)%20%3E%20(property)%20originDetails">Link to this property</a>

start\_date: datetime

formatdate-time

<a href="#(resource)%20radar.traffic_anomalies%20%3E%20(model)%20traffic_anomaly_get_response%20%3E%20(schema)%20%3E%20(property)%20trafficAnomalies%20%3E%20(items)%20%3E%20(property)%20startDate">Link to this property</a>

status: str

<a href="#(resource)%20radar.traffic_anomalies%20%3E%20(model)%20traffic_anomaly_get_response%20%3E%20(schema)%20%3E%20(property)%20trafficAnomalies%20%3E%20(items)%20%3E%20(property)%20status">Link to this property</a>

type: str

<a href="#(resource)%20radar.traffic_anomalies%20%3E%20(model)%20traffic_anomaly_get_response%20%3E%20(schema)%20%3E%20(property)%20trafficAnomalies%20%3E%20(items)%20%3E%20(property)%20type">Link to this property</a>

uuid: str

<a href="#(resource)%20radar.traffic_anomalies%20%3E%20(model)%20traffic_anomaly_get_response%20%3E%20(schema)%20%3E%20(property)%20trafficAnomalies%20%3E%20(items)%20%3E%20(property)%20uuid">Link to this property</a>

visible\_in\_data\_sources: Optional\[List\[str]]

<a href="#(resource)%20radar.traffic_anomalies%20%3E%20(model)%20traffic_anomaly_get_response%20%3E%20(schema)%20%3E%20(property)%20trafficAnomalies%20%3E%20(items)%20%3E%20(property)%20visibleInDataSources">Link to this property</a>

</details>

<a href="#(resource)%20radar.traffic_anomalies%20%3E%20(model)%20traffic_anomaly_get_response%20%3E%20(schema)%20%3E%20(property)%20trafficAnomalies">Link to this property</a>

</details>

[Link to this property](<#(resource)%20radar.traffic_anomalies%20%3E%20(model)%20traffic_anomaly_get_response%20%3E%20(schema)>)

#### Traffic AnomaliesLocations

##### [Get top locations by total traffic anomalies](https://developers.cloudflare.com/api/python/resources/radar/subresources/traffic_anomalies/subresources/locations/methods/get)

radar.traffic\_anomalies.locations.get(LocationGetParams\*\*kwargs) -> [LocationGetResponse](<https://developers.cloudflare.com/api/python/resources/radar#(resource)%20radar.traffic_anomalies.locations%20%3E%20(model)%20location_get_response%20%3E%20(schema)>)

GET/radar/traffic\_anomalies/locations

##### ModelsExpand Collapse

<details>

<summary>

class LocationGetResponse: …

</summary>

<details>

<summary>

traffic\_anomalies: List\[TrafficAnomaly]

</summary>

client\_country\_alpha2: str

<a href="#(resource)%20radar.traffic_anomalies.locations%20%3E%20(model)%20location_get_response%20%3E%20(schema)%20%3E%20(property)%20trafficAnomalies%20%3E%20(items)%20%3E%20(property)%20clientCountryAlpha2">Link to this property</a>

client\_country\_name: str

<a href="#(resource)%20radar.traffic_anomalies.locations%20%3E%20(model)%20location_get_response%20%3E%20(schema)%20%3E%20(property)%20trafficAnomalies%20%3E%20(items)%20%3E%20(property)%20clientCountryName">Link to this property</a>

value: str

A numeric string.

<a href="#(resource)%20radar.traffic_anomalies.locations%20%3E%20(model)%20location_get_response%20%3E%20(schema)%20%3E%20(property)%20trafficAnomalies%20%3E%20(items)%20%3E%20(property)%20value">Link to this property</a>

</details>

<a href="#(resource)%20radar.traffic_anomalies.locations%20%3E%20(model)%20location_get_response%20%3E%20(schema)%20%3E%20(property)%20trafficAnomalies">Link to this property</a>

</details>

[Link to this property](<#(resource)%20radar.traffic_anomalies.locations%20%3E%20(model)%20location_get_response%20%3E%20(schema)>)