RapidAPI logo

User Agent Info

FREE
By neutrinoapi
Updated 4 months ago
Tools
8.8/10
Popularity Score
1846ms
Latency
-
Success Rate

User Agent Info API Documentation

Parse, validate and get detailed user-agent information from a user-agent string. This API has the following features: User-Agent Type - Determine the general user-agent type e.g. desktop-browser or mobile-browser. Mobile Device Detection - Determine if this user-agent is a mobile device. Mobile Device Features - Get mobile device features such as brand, browser, model and screen size. Browser Details - Get browser software details like operating system, version and producer

View API Details
POSTUser Agent Info
POSTUser Agent Info
Header Parameters
X-RapidAPI-HostSTRING
REQUIRED
X-RapidAPI-KeySTRING
REQUIRED
Required Parameters
user-agentSTRING
REQUIREDA user-agent string
Code Snippet
unirest.post("https://neutrinoapi-user-agent-info.p.rapidapi.com/user-agent-info")
.header("X-RapidAPI-Host", "neutrinoapi-user-agent-info.p.rapidapi.com")
.header("X-RapidAPI-Key", "SIGN-UP-FOR-KEY")
.header("Content-Type", "application/x-www-form-urlencoded")
.send("user-agent=Mozilla/5.0 (Linux; U; Android 1.6; ar-us; SonyEricssonX10i Build/R2BA026) AppleWebKit/528.5+ (KHTML, like Gecko) Version/3.1.2 Mobile Safari/525.20.1")
.end(function (result) {
  console.log(result.status, result.headers, result.body);
});
Sample Response
General
Request URL: https://neutrinoapi-user-agent-info.p.rapidapi.com/user-agent-info
Request Method: POST
Response Headers
Response Body
Log inSign up

Install SDK for NodeJS

Installing

To utilize unirest for node.js install the the npm module:

$ npm install unirest

After installing the npm package you can now start simplifying requests like so:

var unirest = require('unirest');

Creating Request

unirest.post("https://neutrinoapi-user-agent-info.p.rapidapi.com/user-agent-info")
.header("X-RapidAPI-Host", "neutrinoapi-user-agent-info.p.rapidapi.com")
.header("X-RapidAPI-Key", "SIGN-UP-FOR-KEY")
.header("Content-Type", "application/x-www-form-urlencoded")
.send("user-agent=Mozilla/5.0 (Linux; U; Android 1.6; ar-us; SonyEricssonX10i Build/R2BA026) AppleWebKit/528.5+ (KHTML, like Gecko) Version/3.1.2 Mobile Safari/525.20.1")
.end(function (result) {
  console.log(result.status, result.headers, result.body);
});
OAuth2 Authentication
Client ID
Client Secret
OAuth2 Authentication