OpenAny
Get API keyAPI Key
APIDeveloperWeb Tools

ipregistry logo
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
USE THIS API

Ipregistry User-Agent Parsing API

Prepare your request, then continue with your agent.

Selected price

$0.000667 / call

Provider
API
Pricing
Connect your agent
On this page

Overview

Overview
Ipregistry User-Agent Parsing API

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

  1. Set OPENANY_API_KEY to your OpenAny API key.
  2. Review the selected implementation and pricing, then adapt the request below to your target.
  3. Check the HTTP response and business result before reading optional fields.
bash
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

View FAQ

Related APIs

Playground

Run sends a real API request. Charges follow the published API contract.

Request parameters
Complete User-Agent string to parse. Required in this OpenAny profile so the result describes the supplied string.
Optional native response-field selector. Omit it to receive the full response. See https://ipregistry.co/docs/filtering.

Sample response

Run a request to see the actual response. Published samples are in Examples.

Response result

Sellers

SellerPricingRequests · 30dPerformanceAccess
ipregistryCurrent
Ipregistry User-Agent Parsing · GET · View API reference
$0.000667 / call0
—successP50—
Selected implementation traffic · 11/3/2026 – 12/3/2026 (UTC)
Selected pricing · ipregistryUSD / call
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.

calls

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
View request and response examples

Input parameters

Fields in this listing; additional options and input encoding can vary by provider.

ParameterLocationTypeRequiredDescription
uaURL query parametersquerystringYes

Complete User-Agent string to parse. Required in this OpenAny profile so the result describes the supplied string.

minLength: 1

fieldsURL query parametersquerystringNo

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

Inferred from examples
  • deviceobject
    • brandnull
    • namestring
    • typestring
  • engineobject
    • namestring
    • typestring
    • versionstring
    • version_majorstring
  • headerstring
  • namestring
  • osobject
    • namestring
    • typestring
    • versionstring
  • typestring
  • versionstring
  • version_majorstring

Agent integration

Copy the resource contract without sharing an API key.

Download MDView API Markdown

Error handling

StatusNext step
400Check the offering and request fields.
401 / 403Verify your credentials and access permissions.
402Inspect the selected access mode and returned payment requirements.
429Respect the returned rate limit and retry guidance.
5xxInspect the error and usage record before retrying a paid operation.

Examples

Documentation example

Published documentation example. Verify the actual response after an approved call.

  1. 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 / Linux
    printf 'OpenAny API key: '
    read -r -s OPENANY_API_KEY
    export OPENANY_API_KEY
    printf '\n'
  2. 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 · cURL
    curl \
      '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'
  3. 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"
    }

Common questions

Will this automatically parse my browser?

No. This OpenAny profile requires ua and parses the string you supply.

How should I send spaces and punctuation?

URL-encode the complete ua value. The curl example uses --data-urlencode so spaces, parentheses and other header characters remain part of one parameter.

Can the returned device attributes be trusted as identity?

They describe the submitted text and can be incomplete or spoofed. Preserve unknown or null values rather than treating the result as device verification.

Can I parse several headers in this GET call?

No. Use Batch User-Agent Parsing with a root JSON array for multiple complete strings.

Which API key should I use?

Use your OpenAny API key as Bearer authentication on the documented OpenAny route.

Where can I check the current request price?

Check the pricing area for the selected implementation. Follow its billing unit and any request-dependent rules before sending the request.

Use Ipregistry User-Agent Parsing API with your agent

Inspect endpoint contracts and confirm availability and pricing before a paid call.