// http header · request header
User-Agent
Identifier for the client software
What the User-Agent header does
User-Agent identifies the client software — browser, version, and OS, or an API client's name. Servers use it for analytics, feature decisions, and blocking bots, though it's easily spoofed and increasingly reduced for privacy.
Example
User-Agent: Mozilla/5.0 …Where it's used
User-Agent is a request header. Request headers are sent by the client to describe the request and what the client can accept.