Tinplate 42 Edge APIs

Developer Utilities Tier 3 Ready POST /v1/ua-bot-parser

User-Agent & AI Crawler Detection API — Identify GPTBot, ClaudeBot & Scrapers

Detect AI training crawlers, RAG bots, headless browsers, and device/OS details from User-Agent. Parse User-Agent strings and client hints to identify browsers, OS, devices, search engine crawlers, and AI training/RAG bots (GPTBot, ClaudeBot, PerplexityBot).

Try It Live in Your Browser · No API Key Required

1. Interactive Sandbox & Sample JSON Output

200 OK · Ready

Editable Request JSON (POST /v1/ua-bot-parser)

Live 200 OK Response Envelope

{
  "ok": true,
  "data": {
    "user_agent": "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko); compatible; GPTBot/1.2; +https://openai.com/gptbot",
    "is_bot": true,
    "is_ai_bot": true,
    "category": "ai_crawler",
    "bot": {
      "name": "GPTBot",
      "operator": "OpenAI",
      "category": "ai_crawler",
      "intent": "training",
      "docs_url": "https://platform.openai.com/docs/bots",
      "rule_id": "ai_openai_gptbot"
    },
    "client": {
      "browser": {
        "name": null,
        "version": null
      },
      "os": {
        "name": null,
        "version": null
      },
      "engine": null,
      "device_type": "bot"
    },
    "rules_version": "2026.11.1"
  },
  "meta": {
    "request_id": "req_ua_01",
    "ms": 1
  }
}

2. Quickstart Code Examples

Full TypeScript & Python SDK →
curl -X POST "https://api.tinplate.dev/v1/ua-bot-parser" \
  -H "Content-Type: application/json" \
  -H "X-RapidAPI-Key: YOUR_RAPIDAPI_KEY" \
  -d '{"user_agent":"Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko); compatible; GPTBot/1.2; +https://openai.com/gptbot"}'
import { TinplateClient } from "@tinplate/sdk"; // npm install @tinplate/sdk

const tinplate = new TinplateClient({
  rapidApiKey: process.env.RAPIDAPI_KEY!,
});

const { data, meta } = await tinplate.call("/v1/ua-bot-parser", {
  "user_agent": "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko); compatible; GPTBot/1.2; +https://openai.com/gptbot"
});
console.log(`[${meta.ms} ms]`, data);
import requests

response = requests.post(
    "https://api.tinplate.dev/v1/ua-bot-parser",
    headers={
        "Content-Type": "application/json",
        "X-RapidAPI-Key": "YOUR_RAPIDAPI_KEY",
    },
    json={
  "user_agent": "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko); compatible; GPTBot/1.2; +https://openai.com/gptbot"
}
)
print(response.json())
const response = await fetch("https://api.tinplate.dev/v1/ua-bot-parser", {
  method: "POST",
  headers: {
    "Content-Type": "application/json",
    "X-RapidAPI-Key": "YOUR_RAPIDAPI_KEY",
  },
  body: JSON.stringify({
  "user_agent": "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko); compatible; GPTBot/1.2; +https://openai.com/gptbot"
}),
});
const result = await response.json();
console.log(result);
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "tinplate_ua_bot_parser",
    "arguments": {
      "user_agent": "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko); compatible; GPTBot/1.2; +https://openai.com/gptbot"
    }
  }
}
OpenAPI 3.0.3 Schema Contract

Request Parameters & Response Schema Reference

Request Body Parameters (POST /v1/ua-bot-parser)

Parameter Type & Constraints Description
user_agentrequired string
minLen: 1, maxLen: 2048
Raw HTTP User-Agent header value (max 2048 characters).

Response data Object Fields (200 OK)

Field Type Description
user_agent string Field 'user_agent'
is_bot boolean Field 'is_bot'
is_ai_bot boolean Field 'is_ai_bot'
category "human" | "ai_crawler" | "ai_assistant" | "search_crawler" | "social_preview" | "seo_crawler" | "monitoring" | "http_client" | "headless_browser" | "unknown_bot" Field 'category'
bot object | null Field 'bot'
client object Field 'client'
rules_version string Field 'rules_version'

3. What User-Agent & AI Bot Parser API Detects & Validates

Honest Engineering Boundaries

4. Known Limitations & Test Verification

Release Version: v1.0.7 · Last Verified / Benchmarked: 14 November 2026 · Latency Note: Sub-millisecond figures measure in-Worker V8 compute time (typical client HTTPS network RTT to the nearest Cloudflare PoP is 15–65 ms) · See Full Portfolio Benchmarks & Corpora →

5. Marketplace Plans & Payload Quotas

Plan Monthly Price Included Requests Rate Limit Max Request Payload Best For
BASIC $0.00 / month 500 / month (hard limit) 10 req / min 64 KB Evaluation, local development & CI smoke tests
PRO $9.99 / month 15,000 / month 60 req / min 128 KB Solo developers & production apps
ULTRA $29.99 / month 100,000 / month 300 req / min 256 KB Growing SaaS & multi-agent pipelines
MEGA $79.99 / month 500,000 / month 1,000 req / min 256 KB High-volume enterprise workloads

6. Frequently Asked Questions

Does it distinguish AI training scrapers from live AI search citations?

Yes! For example, it separates OpenAI's GPTBot (training) from OAI-SearchBot and ChatGPT-User (search/user browsing).

Can I pair this with robots.txt & llms.txt analysis?

Yes, use POST /v1/robots-llms-analyzer to audit and generate your site's AI crawler rules.

How fast is it?

Typically under 1 ms at the edge.

Zero Payload Logging

7. Data Handling, Privacy & Marketplace Proxy Disclosure

Stateless in-memory User-Agent parsing.

Worker Zero-Logging Guarantee: Cloudflare Workers Observability and invocation logging are disabled in configuration (observability.enabled = false, head_sampling_rate = 0, invocation_logs = false). Payloads are processed strictly in volatile V8 memory and never logged or stored by Tinplate.

Marketplace Proxies vs. Direct Bearer Key: Requests sent via RapidAPI or Zyla API Hub pass through those marketplaces' proxy infrastructure (subject to their respective privacy policies). Security-sensitive workloads requiring end-to-end zero-intermediary processing can connect directly to https://api.tinplate.dev using a Direct Bearer Key (Authorization: Bearer <API_KEY>). Read our full Privacy Notice and OpenAPI 3.0.3 JSON Schema.

Related Tinplate APIs

🤖 POST /v1/robots-llms-analyzer Developer Utilities

robots.txt & llms.txt AI Crawler Analyzer & Generator API

Audit which AI crawlers your robots.txt allows and generate a valid llms.txt file.

🚫 POST /v1/signup-fraud Compliance & Business

Signup Fraud & Disposable Email Scorer API

Block disposable emails, alias abuse, and bot signups with a 0–100 fraud risk score.

🔒 POST /v1/security-headers Security & Secrets

HTTP Security Header Scanner API

Audit CSP, HSTS, and browser security headers with an A+ to F grade and fix snippets.