## Get latest Internet traffic anomalies `client.radar.trafficAnomalies.get(TrafficAnomalyGetParamsquery?, RequestOptionsoptions?): TrafficAnomalyGetResponse` **get** `/radar/traffic_anomalies` Retrieves the latest Internet traffic anomalies, which are signals that might indicate an outage. These alerts are automatically detected by Radar and manually verified by our team. ### Parameters - `query: TrafficAnomalyGetParams` - `asn?: number` Filters results by Autonomous System. Specify a single Autonomous System Number (ASN) as integer. - `dateEnd?: string` End of the date range (inclusive). - `dateRange?: string` Filters results by date range. - `dateStart?: string` Start of the date range (inclusive). - `format?: "JSON" | "CSV"` Format in which results will be returned. - `"JSON"` - `"CSV"` - `limit?: number` Limits the number of objects returned in the response. - `location?: string` Filters results by location. Specify an alpha-2 location code. - `offset?: number` Skips the specified number of objects before fetching the results. - `origin?: string` Filters results by origin. - `status?: "VERIFIED" | "UNVERIFIED"` - `"VERIFIED"` - `"UNVERIFIED"` - `type?: Array<"LOCATION" | "AS" | "ORIGIN">` Filters results by entity type (LOCATION, AS, or ORIGIN). - `"LOCATION"` - `"AS"` - `"ORIGIN"` ### Returns - `TrafficAnomalyGetResponse` - `trafficAnomalies: Array` - `startDate: string` - `status: string` - `type: string` - `uuid: string` - `asnDetails?: ASNDetails` - `asn: string` - `name: string` - `locations?: Locations` - `code: string` - `name: string` - `endDate?: string` - `locationDetails?: LocationDetails` - `code: string` - `name: string` - `originDetails?: OriginDetails` - `name: string` - `origin: string` - `visibleInDataSources?: Array` ### Example ```node import Cloudflare from 'cloudflare'; const client = new Cloudflare({ apiToken: process.env['CLOUDFLARE_API_TOKEN'], // This is the default and can be omitted }); const trafficAnomaly = await client.radar.trafficAnomalies.get(); console.log(trafficAnomaly.trafficAnomalies); ``` #### Response ```json { "result": { "trafficAnomalies": [ { "startDate": "2023-08-02T23:15:00Z", "status": "UNVERIFIED", "type": "LOCATION", "uuid": "55a57f33-8bc0-4984-b4df-fdaff72df39d", "asnDetails": { "asn": "189", "name": "LUMEN-LEGACY-L3-PARTITION", "locations": { "code": "US", "name": "United States" } }, "endDate": "2019-12-27T18:11:19.117Z", "locationDetails": { "code": "US", "name": "United States" }, "originDetails": { "name": "us-east-1 Amazon Web Services", "origin": "amazon-us-east-1" }, "visibleInDataSources": [ "string" ] } ] }, "success": true } ```