Home / Developer Tools / User-Agent, Device & AI Bot Detector API
User-Agent, Device & AI Bot Detector API logo

User-Agent, Device & AI Bot Detector API

Published by @mdforge · Verified
99.99% uptime ~3ms avg AI Score 94/100

Parse browser, OS, device model, and detect bots & AI crawlers (GPTBot, ClaudeBot, PerplexityBot, Googlebot) in <3ms.

Try it live
https://api.indieapis.com/v1/user-agent-parser/parse
Extract browser, OS, device type/model, bot flag, and AI crawler identification.
Response Press Run to call the live API
{
  "ok": true,
  "data": {
    "browser": {
      "name": null,
      "version": null
    },
    "os": {
      "name": null,
      "version": null
    },
    "device": {
      "type": "bot",
      "vendor": null,
      "model": null
    },
    "is_mobile": false,
    "is_desktop": false,
    "is_bot": true,
    "is_ai_crawler": true,
    "bot_name": "ClaudeBot"
  }
}

            

Overview

Turn raw User-Agent strings into clean analytics JSON and accurately separate human traffic, search engines, HTTP libraries, and AI crawlers.

Highlights:

  • Full browser, rendering engine, OS, device vendor/model, and CPU architecture extraction.
  • Dedicated is_bot, is_ai_crawler, and bot_name flags covering GPTBot, OAI-SearchBot, ClaudeBot, PerplexityBot, Google-Extended, Googlebot, Bingbot, curl, headless browsers, and more.
  • POST /bulk parses up to 50 User-Agent strings per request.

Gateway Headers & Hard Caps

Every response includes X-Quota-Limit, X-Quota-Used, X-Quota-Remaining, and X-Quota-Reset. When your monthly quota is reached, the gateway returns 429 QUOTA_EXCEEDED so you are never billed surprise overages.

2 endpoints

Base URL
https://api.indieapis.com/v1/user-agent-parser
MCP
https://indieapis.com/mcp/user-agent-parser
Method Path Parameters Description
GET /parse ua* Extract browser, OS, device type/model, bot flag, and AI crawler identification.
POST /bulk user_agents* Parse up to 50 User-Agent strings in one request with bot and AI-crawler summary counts.