ApicAgent API
Overview
ApicAgent parses User-Agent strings into structured device and browser information, returning details like browser name, version, OS, device type, and whether the client is a bot. The service is free with no API key required and supports CORS, making it suitable for client-side JavaScript calls. It is useful for lightweight analytics and conditional content rendering without a server-side library.
Beginner Tip
No signup or API key is needed — just call https://api.apicagent.com/?ua=YOUR_ENCODED_UA with any URL-encoded User-Agent string. In a browser you can capture the current UA from navigator.userAgent and encode it with encodeURIComponent before passing it.
Available Data
Example Response
{
"status": "success",
"data": {
"result": "Data from ApicAgent",
"description": "Extract device details from user-agent string",
"timestamp": "2025-01-15T10:00:00Z"
}
} Field Reference
browser_name Detected browser name, e.g., Chrome, Firefox, Safari. browser_version Full version number of the detected browser. os_name Operating system name, e.g., Windows, macOS, Linux, Android. device_type Device category: desktop, mobile, tablet, or bot. is_bot True if the User-Agent belongs to a crawler or automated bot. Implementation Example
const url = "https://www.apicagent.com/";
const response = await fetch(url);
if (!response.ok) throw new Error(`Request failed: ${response.status}`);
const data = await response.json();
console.log(data); What Can You Build?
Note: These code examples are AI-generated and unverified. Always refer to the official API documentation for accurate usage.
Common Errors & Troubleshooting
Matrix Score Breakdown
Fully tested on Apr 5, 2026
Technical Specifications
Related Tags
Alternatives to ApicAgent
Technical alternatives for different use cases.
User-agent parsing with device and OS detection
Detailed device and browser detection from user-agent strings
Free usage (Userstack requires paid plan)
Similar APIs
View All →24 Pull Requests
⭐ Beginner's Pick24 Pull Requests is a community initiative that runs every December to encourage developers to contribute to open source projects.
Agify.io
⭐ Beginner's PickAgify.io is a free API that predicts the likely age of a person based solely on their first name, using a database of over 350 million historical records.
API Grátis
API Grátis is a Brazilian API aggregator that bundles multiple free utility services including CEP (postal code) lookup, CNPJ (company registry) data, vehicle plate information, and more — all under a single authentication token.
APIs.guru
⭐ Beginner's PickAPIs.guru maintains a crowd-sourced directory of OpenAPI (Swagger) specification files for hundreds of public web APIs, all normalized to OpenAPI 3.0 format.
Beeceptor
⭐ Beginner's PickBeeceptor lets you create a mock REST API endpoint in seconds directly from your browser, without writing any server code.