Network & DNS🔒 V prehliadači (lokálne)API k dispozícii📴 Funguje offlinebeginner
Analyzátor User-Agent hlavičiek
Rozkladá reťazec User-Agent na prehliadač, engine, OS, zariadenie a príznak bota.
Dáta zostávajú vo vašom prehliadači
Pripravené na použitieOkamžité spracovanie
Výsledok
—Čo tento nástroj robí?
Rozkladá reťazec User-Agent na prehliadač, engine, OS, zariadenie a príznak bota.
Kedy ho použiť?
- Diagnostikujete kompatibilitu.
- Oddeľujete crawlery v logoch.
- Staviate jednoduché serverové vetvenie.
Reálny príklad
Vstup
Mozilla/5.0 (iPhone; CPU iPhone OS 17_0 like Mac OS X) ...
Výstup
Prehliadač: Mobile Safari 17.0 · OS: iOS 17.0 · Zariadenie: iPhone · Bot: nie
Extrahuje bežné hardvérové a softvérové tokeny.
Vstup → Spracovanie → Výstup → Ďalší krok
- Vstup
- Vložte User-Agent.
- Spracovanie
- Klasifikuje tokeny podľa známych vzorov.
- Výstup
- Štruktúrovaný rozklad.
- Ďalší krok
- Použite na diagnostiku, nie na autorizáciu.
Časté chyby
- Spoliehanie sa na UA pri bezpečnostnom rozhodnutí.
- Ignorovanie Client Hints.
- Väzba na veľmi presné minor verzie.
Čo znamená výsledok
Približný popis klienta tak, ako sa ohlásil.
Súkromie a bezpečnosť
Your input is processed entirely in your browser and never sent to a YAS server.
API
Endpoint
POST https://yas.sh/api/v1/tools/user-agent-parser
Request Header
Content-Type: application/json
cURL
curl -X POST "https://yas.sh/api/v1/tools/user-agent-parser" \
-H "Content-Type: application/json" \
-d '{"userAgent":"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36"}'JavaScript
const res = await fetch("https://yas.sh/api/v1/tools/user-agent-parser", {
method: "POST",
headers: { "Content-Type": "application/json" },
body: JSON.stringify({
"userAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36"
}),
});
const data = await res.json();Python
import requests
r = requests.post("https://yas.sh/api/v1/tools/user-agent-parser", json={"userAgent":"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36"})
data = r.json()| Field | Type | Required | Description |
|---|---|---|---|
| userAgent | string | Yes | User-Agent string |
Success response
{ "slug": "user-agent-parser", "browser": { "name": "Chrome" }, "os": { "name": "macOS" } }Parse User-Agent string into browser, OS and device.
Error responses
400 VALIDATION_ERROR— invalid input or unsupported option.413 PAYLOAD_TOO_LARGE— input exceeds the 64 KB limit.429 RATE_LIMIT_EXCEEDED— rate limit exceeded (60 req/min).
Limits
- Maximum input: 64 KB per request.
- Rate limit: 60 requests/min per IP address.
- Authenticated accounts benefit from higher tier quotas.
Súvisiace nástroje