HTTP User-Agent Header
Identifies the client software making the request. Contains information about the application, operating system, and version.
Purpose
Helps servers identify the client making the request for analytics, content negotiation, and compatibility handling.
User-Agent: <product>/<version> (<comments>) Example: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 Example: curl/8.0.1 Example: PostmanRuntime/7.36.0
Code Examples
See how to use the User-Agent header in different tools and languages.
Related Headers
Accept
Informs the server about the media types the client can process in the response. The server uses content negotiation to select one of the proposed formats.
Accept-Language
Indicates which natural languages the client prefers. The server uses this for content negotiation to return the appropriate language version.
Accept-Encoding
Indicates which content encoding (compression algorithm) the client supports. The server may compress the response body using one of these methods.