Ipregistry User-Agent Parsing API
Parse a User-Agent via REST or OpenAny MCP—with pay-per-use pricing and no subscription. Powered by Ipregistry, pass parameters such as ua, and retrieve structured data including original User-Agent header, parsed client name, parsed client version, parsed client category, and inferred device category for header inspection, and compatibility tools, ready for production pipelines and AI agent automation.
- Selected price
- $0.000667 / callPublished pricing
- Sellers / APIs
- 1 / 1
- Requests · 30d
- 0Selected implementation · last 30 days
- Success rate · 30d
- —No requests in this period
Ipregistry User-Agent Parsing API
Prepare your request, then continue with your agent.
Selected price
$0.000667 / call
- Provider
- API
- Pricing
On this page
Overview
Ipregistry User-Agent Parsing API
Set the required ua query parameter to the complete User-Agent string. This profile parses that supplied value rather than detecting the caller’s browser automatically. The response includes header and parsed attributes; fields can select a subset.
Quick Facts
| Fact | Value |
|---|---|
| Access | OpenAny REST |
| Authentication | OpenAny API key in the Authorization header |
| Core inputs | query: ua, fields |
| Selected implementation | ipregistry · Ipregistry User-Agent Parsing |
| Billing | See the pricing area for the selected implementation and request options |
What You Can Build
- Header inspection: Display parsed attributes beside a supplied client header.
- Compatibility tools: Classify browser and engine versions for an application support workflow.
Documented Response Fields
| Field | Meaning |
|---|---|
header |
Original User-Agent header |
name |
Parsed client name |
version |
Parsed client version |
type |
Parsed client category |
device.type |
Inferred device category |
os.name |
Parsed operating system name |
engine.name |
Parsed engine name |
Quick Start
- Set OPENANY_API_KEY to your OpenAny API key.
- Review the selected implementation and pricing, then adapt the request below to your target.
- Check the HTTP response and business result before reading optional fields.
curl --request GET --get \
https://api.openany.si/v1/agent-apis/ipregistry/user-agent/parse \
-H "Authorization: Bearer ${OPENANY_API_KEY}" \
-H 'Content-Type: application/json' \
--data-urlencode 'ua=Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:128.0) Gecko/20100101 Firefox/128.0'
Request and Response Examples
The response example is a documentation reference; values may be historical and optional fields depend on the request. The request is an independent calling template, so match returned resource identifiers to your target.
Published Ipregistry User-Agent Parsing API implementation contract.
Pricing and Billing
The pricing area reflects the selected API implementation. Review its billing unit and any request-dependent rules before calling; a source service's public availability does not determine OpenAny billing.
Frequently Asked Questions
Related APIs
Playground
Run sends a real API request. Charges follow the published API contract.
Sellers
| Seller | Pricing | Requests · 30d | Performance | Access |
|---|---|---|---|---|
ipregistryCurrent Ipregistry User-Agent Parsing · GET · View API reference | $0.000667 / call | 0 | —successP50— |
- Unit price
- $0.000667
Statistics use persisted gateway logs from the last 30 days up to now, including today.
Success rate = successful requests / all requests;
P50 = median latency of successful requests.
Prices reflect the published API contract. Contract revision: 2. Price update time: not supplied.
Total $0.0667
API
- Method
- GET
- Endpoint
https://api.openany.si/v1/agent-apis/ipregistry/user-agent/parse- Content type
- application/json
- Authentication
Authorization: Bearer $OPENANY_API_KEY
Input parameters
Fields in this listing; additional options and input encoding can vary by provider.
| Parameter | Location | Type | Required | Description |
|---|---|---|---|---|
ua | URL query parametersquery | string | Yes | Complete User-Agent string to parse. Required in this OpenAny profile so the result describes the supplied string. minLength: 1 |
fields | URL query parametersquery | string | No | Optional native response-field selector. Omit it to receive the full response. See https://ipregistry.co/docs/filtering. minLength: 1 |
Required markers inside a nested object or variant apply when that object or variant is used.
Response structure
deviceobjectbrandnullnamestringtypestring
engineobjectnamestringtypestringversionstringversion_majorstring
headerstringnamestringosobjectnamestringtypestringversionstring
typestringversionstringversion_majorstring
Agent integration
Copy the resource contract without sharing an API key.
Error handling
| Status | Next step |
|---|---|
400 | Check the offering and request fields. |
401 / 403 | Verify your credentials and access permissions. |
402 | Inspect the selected access mode and returned payment requirements. |
429 | Respect the returned rate limit and retry guidance. |
5xx | Inspect the error and usage record before retrying a paid operation. |
Examples
Documentation example
Published documentation example. Verify the actual response after an approved call.
Prepare your environment
Use a terminal with cURL installed.
Use an OpenAny API key with shared-balance access. Confirm availability and price before running; a call may charge your balance.
Set the key in your terminal using the hidden prompt below. Keep its value out of source files and logs.
Terminal · macOS / Linuxprintf 'OpenAny API key: ' read -r -s OPENANY_API_KEY export OPENANY_API_KEY printf '\n'Run the request
Paste the complete command below into your terminal.
Values to replace before running 2
Review these request fields before running. Keep the published provider and request method unchanged.
ua- Complete User-Agent string to parse. Required in this OpenAny profile so the result describes the supplied string.
fields- Optional native response-field selector. Omit it to receive the full response. See https://ipregistry.co/docs/filtering.
Terminal · cURLcurl \ 'https://api.openany.si/v1/agent-apis/ipregistry/user-agent/parse?ua=Mozilla%2F5.0+%28Windows+NT+10.0%3B+Win64%3B+x64%3B+rv%3A128.0%29+Gecko%2F20100101+Firefox%2F128.0' \ -X GET \ -H "Authorization: Bearer $OPENANY_API_KEY" \ -H 'Content-Type: application/json'Check the response
Sample response · Documented HTTP 200
Sample response{ "device": { "brand": null, "name": "Desktop", "type": "desktop" }, "engine": { "name": "Gecko", "type": "browser", "version": "128.0", "version_major": "128" }, "header": "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:128.0) Gecko/20100101 Firefox/128.0", "name": "Firefox", "os": { "name": "Windows NT", "type": "desktop", "version": ">=10" }, "type": "browser", "version": "128.0", "version_major": "128" }