
Parse User Agent String
curl -X POST https://api.orthogonal.com/v1/run \
-H 'Authorization: Bearer orth_live_••••' \
-H 'Content-Type: application/json' \
-d '{
"api": "api-ninjas",
"path": "/v2/useragentparse",
"method": "GET",
"query": {
"useragent": ""
}
}'
$0.0010per call
API-wide: 96.3% success · 173 ms median · 30 days
About this endpoint
Parses a user agent string to extract device, OS, and browser information. All response fields are top-level. Invalid or unrecognized user agents return HTTP 200 with is_valid false and invalid_reason set, and still return whatever browser, OS and device information could be parsed. A version newer than the latest known release is reported in warnings rather than treated as invalid.
Query parameters
More from API Ninjas
- Get current stock priceGET/v1/stockprice$0.0010 per call
- Convert between IATA and ICAO airport codes. Premium only.GET/v1/airportconvert$0.0010 per call
- Get bank holidays for a given country and year.GET/v1/bankholidays$0.0010 per call
- Lookup bank information by BINGET/v2/bin$0.0010 per call
- Get balance sheet data for a specific company, period, and yearGET/v1/balancesheet$0.0010 per call
- List which fiscal periods have cash flow data for a company (premium)GET/v1/cashflowavailability$0.0010 per call
- Get historical Bitcoin price dataGET/v1/bitcoinhistorical$0.0010 per call
- Get historical OHLCV data for a cryptocurrencyGET/v1/cryptopricehistorical$0.0010 per call
- Get a Chuck Norris jokeGET/v1/chucknorris$0.0010 per call
- Get aircraft detailsGET/v1/aircraft$0.0010 per call
- List models for a manufacturer. Premium only.GET/v2/carmodels$0.0010 per call
- Get country data from given parameters.GET/v1/country$0.0010 per call