Skip to content
clusters: prooflayer · edgemarket · edgefinance · synthforge · mediakit · wordmint · webprobe · locale · comppoint · rollforge · bestiary · statline · matchpoint · retail · agentops · browserworkflow · modelrouter · compose
$ man user-agent-parse

/user-agent-parse

agentutility / web-probe / user-agent-parse
PRICE / CALL
$0.005
USDC · base mainnet · scheme: exact
METHOD
POST
CLUSTER
webprobe
CATEGORY
uncategorized
STATUS
live
NAME
user-agent-parse parses a user-agent string entirely locally with regex, no external lookups
SYNOPSIS
POST https://x402.agentutility.ai/user-agent-parse
     Content-Type: application/json
     X-PAYMENT:    <signed-transferWithAuthorization>

     { ... }
↳ first call → 402 Payment Required. Sign USDCtransferWithAuthorization, retry with theX-PAYMENT header.
DESCRIPTION

Parses a User-Agent string entirely locally with regex, no external lookups. Detects browser (Chrome, Firefox, Safari, Edge, Opera, Vivaldi, Samsung), OS (Windows, macOS, iOS, Android, Linux, ChromeOS) with version, device type (desktop / mobile / tablet / bot), and identifies 32+ specific bots/crawlers. Use it as a UA classifier, browser detection, OS detection, bot detection, or AI crawler identifier (GPTBot, ClaudeBot, PerplexityBot).

INPUTrequest schema
propertytypedescriptionreq?
user_agentstringRaw User-Agent header string. Up to 2000 chars.required
OUTPUTresponse shape
fieldtypedescription
user_agentstringEchoes back the raw User-Agent string that was parsed.
is_botstringBoolean flag indicating whether the UA matches a known bot or crawler signature.
botstringIdentified bot name when is_bot is true (e.g. GPTBot, ClaudeBot, PerplexityBot), null otherwise.
browserstringDetected browser name and version (e.g. Chrome 120, Firefox 115, Safari 17).
osstringDetected operating system and version (e.g. Windows 11, macOS 14, iOS 17, Android 14).
devicestringDevice class inferred from the UA: desktop, mobile, tablet, or bot.
sourcestringOrigin of the parse result, e.g. local-regex.
EXAMPLEStwo ways to call
EXAMPLE 1 · curl
curl -X POST https://x402.agentutility.ai/user-agent-parse \
  -H 'Content-Type: application/json' \
  -d '{ }'
first response = 402 Payment Required with payment requirements; sign + retry with X-PAYMENT.
EXAMPLE 2 · mcp
# Install the MCP package for this endpoint's cluster
npx -y @agentutility/mcp-<cluster>

# Required: EVM private key with USDC on Base
export X402_PRIVATE_KEY=0x...

# Then call the user-agent-parse tool from your MCP-aware agent.
MCP server handles payment automatically — your coding agent just calls the tool by name.
METADATA
tags
web-probeuser-agentbrowser-detectionos-detectionbot-detectionai-crawlerua-parser
methods
POST
cluster
webprobe
price
$0.005 USDC per call
ADJACENTother endpoints in webprobe
endpointdescriptionprice
arxiv-bibtexTurns an arXiv paper into a BibTeX entry: pulls title, authors, year, abstract, and DOI from the arXiv API and generates a properly-forma…$0.005
brand-name-scoreScores a candidate brand or startup name on quality and risk.$0.005
company-name-scoreScores the quality of a company name before you commit to domain, handle, trademark, and launch work.$0.005
crypto-headlinesSearches recent bitcoin, ethereum, and DeFi headlines via GDELT with a GNews fallback when configured, returning headline URLs, domains,…$0.005
crypto-newsFetches recent cryptocurrency news headlines from GDELT with a GNews fallback when configured, filtered by crypto topic or caller query,…$0.005
disposable-email-checkDetects disposable and throwaway email addresses before they get through your signup form.$0.005
domain-availabilityChecks whether a domain is registered and returns registrar, registration date, expiry date, days_until_expiry, and current EPP status flags.$0.005
emailValidates an email address end to end: syntax, MX reachability, disposable/temp-mail domains, role accounts, and SPF/DMARC/DKIM posture.$0.005
SEE ALSO
agentutility · webprobe · x402 · mcp · llms.txt · registry.json · bazaar.x402.org