Search + K

Command Palette

Search for a command to run...

Sign In

Get HTTP requests by IP version summary

GET /radar/http/summary/ip_version
Copy endpoint
https://api.cloudflare.com/client/v4

Retrieves the distribution of HTTP requests by IP version.

Parameters

query Query Parameters

Name Type
name

Array of names used to label the series in the response.

string[]
dateRange

Filters results by date range. For example, use 7d and 7dcontrol to compare this week with the previous week. Use this parameter or set specific start and end dates (dateStart and dateEnd parameters).

string[]
dateStart

Start of the date range.

string[]
dateEnd

End of the date range (inclusive).

string[]
asn

Filters results by Autonomous System. Specify one or more Autonomous System Numbers (ASNs) as a comma-separated list. Prefix with - to exclude ASNs from results. For example, -174, 3356 excludes results from AS174, but includes results from AS3356.

string[]
location

Filters results by location. Specify a comma-separated list of alpha-2 codes. Prefix with - to exclude locations from results. For example, -US,PT excludes results from the US, but includes results from PT.

string[]
continent

Filters results by continent. Specify a comma-separated list of alpha-2 codes. Prefix with - to exclude continents from results. For example, -EU,NA excludes results from EU, but includes results from NA.

string[]
botClass

Filters results by bot class. Refer to Bot classes.

("LIKELY_AUTOMATED" | "LIKELY_HUMAN")[]
deviceType

Filters results by device type.

("DESKTOP" | "MOBILE" | "OTHER")[]
httpProtocol

Filters results by HTTP protocol (HTTP vs. HTTPS).

("HTTP" | "HTTPS")[]
httpVersion

Filters results by HTTP version.

("HTTPv1" | "HTTPv2" | "HTTPv3")[]
os

Filters results by operating system.

("WINDOWS" | "MACOSX" | "IOS" | "ANDROID" | "CHROMEOS" | "LINUX" | "SMART_TV")[]
tlsVersion

Filters results by TLS version.

("TLSv1_0" | "TLSv1_1" | "TLSv1_2" | "TLSv1_3" | "TLSvQUIC")[]
browserFamily

Filters results by browser family.

("CHROME" | "EDGE" | "FIREFOX" | "SAFARI")[]
format

Format in which results will be returned.

"JSON" | "CSV"

Responses

200 application/json

Successful response.

{ result: { meta: {
confidenceInfo: { ... };
dateRange: { ... }[];
lastUpdated: string;
normalization: "PERCENTAGE" | "MIN0_MAX" | "MIN_MAX" | "RAW_VALUES" | "PERCENTAGE_CHANGE" | "ROLLING_AVERAGE" | "OVERLAPPED_PERCENTAGE" | "RATIO";
units: { ... }[];
}
;summary_0: { IPv4: string;IPv6: string; }; }
;success: boolean; }

Client Errors

400 application/json

Bad request.

{ errors: { message: string; }[];result: {};success: boolean; }