OpenAny
Get API keyAPI Key
APIDeveloperWeb Tools

ipregistry logo
Ipregistry Batch User-Agent Parsing API

Parse batches of User-Agent strings via REST or OpenAny MCP—with pay-per-use pricing and no subscription. Powered by Ipregistry, configure supported query parameters and filters, and retrieve structured data including original User-Agent header, parsed client name, parsed client category, inferred device category, and parsed operating system name for traffic grouping, and compatibility review.

Selected price
$0.000667 base + $0.000667 / billing unit Published pricing
Sellers / APIs
1 / 1
Requests · 30d
2Selected implementation · last 30 days
Success rate · 30d
100.00%Selected implementation · last 30 days
USE THIS API

Ipregistry Batch User-Agent Parsing API

Prepare your request, then continue with your agent.

Pricing

$0.000667 base + $0.000667 / billing unit

Calculated from input parameters and actual returned quantities. Estimate the maximum cost before calling.

Provider
API
Pricing
Connect your agent
On this page

Overview

Overview
Ipregistry Batch User-Agent Parsing API

Ipregistry Batch User-Agent Parsing API

POST a root JSON array of 1–256 non-empty User-Agent strings. The results array retains input order and includes the original header with parsed attributes. Parsing describes the supplied text, so device and browser values are inferences rather than verified client identities.

Quick Facts

Fact Value
Access OpenAny REST
Authentication OpenAny API key in the Authorization header
Core inputs Root JSON array: 1–256 complete, non-empty User-Agent strings.
Selected implementation ipregistry · Ipregistry Batch User-Agent Parsing
Billing See the pricing area for the selected implementation and request options

What You Can Build

  • Traffic grouping: Group previously collected headers by parsed client or device category.
  • Compatibility review: Compare supplied browser and operating-system strings while retaining the originals.

Documented Response Fields

Field Meaning
results[].header Original User-Agent header
results[].name Parsed client name
results[].type Parsed client category
results[].device.type Inferred device category
results[].os.name Parsed operating system name
results[].engine.name Parsed rendering or client 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 POST \
  https://api.openany.si/v1/agent-apis/ipregistry/user-agent/batch \
  -H "Authorization: Bearer ${OPENANY_API_KEY}" \
  -H "Content-Type: application/json" \
  --data-raw '["Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:128.0) Gecko/20100101 Firefox/128.0","curl/8.7.1"]'

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 Batch 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
body* array
JSON root array with 1–256 complete User-Agent strings. Input order is retained in results.

Sample response

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

Response result

Sellers

SellerPricingRequests · 30dPerformanceAccess
ipregistryCurrent
Ipregistry Batch User-Agent Parsing · POST · View API reference
$0.000667 base + $0.000667 / billing unit2
100.00%successP50158.5ms
Selected implementation traffic · 11/3/2026 – 12/3/2026 (UTC)
Selected pricing · ipregistryUSD
Pricing
$0.000667 base + $0.000667 / billing unit

Calculated from input parameters and actual returned quantities. Estimate the maximum cost before calling.

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.

API

Method
POST
Endpoint
https://api.openany.si/v1/agent-apis/ipregistry/user-agent/batch
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
bodyJSON request bodybodyarrayYes

JSON root array with 1–256 complete User-Agent strings. Input order is retained in results.

minItems: 1 · maxItems: 256

Nested fields and variants

body[] · Array item · string

Required markers inside a nested object or variant apply when that object or variant is used.

Response structure

Inferred from examples
  • resultsobject[]
    • deviceobject
      • brandnull | string
      • namestring
      • typestring
    • engineobject
      • namestring
      • typestring
      • versionstring
      • version_majorstring
    • headerstring
    • namestring
    • osobject
      • namestring
      • typestring
      • versionstring | null
    • typestring
    • versionstring
    • version_majorstring

Composite rule pricing

Calculated from input parameters and actual returned quantities. Estimate the maximum cost before calling.

Base fee: $0.000667. One matching variant replaces the base fee. Matching add-ons and quantity charges are added.

Fee itemPriceMetering sourceWhenQuantity limit
Lookup items$0.000667 / billing unitResponse · /results · Array lengthAlways256 billing unit · Decimal places: 0

Each quantity charge is rounded before summing: ceil. Requests exceeding this cost limit are rejected; it is not a price cap: $0.171419.

Response quantities settle after the response. Before execution, the maximum quantity determines the reservation; unused reservation is released. Missing or invalid quantities are not treated as zero.

Pricing parameters and defaults
[]

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 1

    Review these request fields before running. Keep the published provider and request method unchanged.

    body
    JSON root array with 1–256 complete User-Agent strings. Input order is retained in results.
    Terminal · cURL
    curl \
      'https://api.openany.si/v1/agent-apis/ipregistry/user-agent/batch' \
      -X POST \
      -H "Authorization: Bearer $OPENANY_API_KEY" \
      -H 'Content-Type: application/json' \
      --data-raw '[
      "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:128.0) Gecko/20100101 Firefox/128.0",
      "curl/8.7.1"
    ]'
  3. Check the response

    Sample response · Documented HTTP 200

    Sample response
    {
      "results": [
        {
          "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"
        },
        {
          "device": {
            "brand": "Curl",
            "name": "Curl",
            "type": "robot"
          },
          "engine": {
            "name": "curl",
            "type": "robot",
            "version": "8.7.1",
            "version_major": "8"
          },
          "header": "curl/8.7.1",
          "name": "Curl",
          "os": {
            "name": "Cloud",
            "type": "cloud",
            "version": null
          },
          "type": "robot",
          "version": "8.7.1",
          "version_major": "8"
        }
      ]
    }

Common questions

How many headers can one request contain?

Send 1–256 non-empty complete User-Agent strings as a root JSON array.

How do I match outputs to inputs?

The current profile retains input order in results. Keep the returned header as an additional reference to the submitted text.

Does parsing verify a physical device?

No. User-Agent text can be incomplete or spoofed. Treat the returned attributes as interpretations of that text and preserve null values.

How is the batch quantity measured for pricing?

The current selected rule measures lookup items from the response results array and includes a base request charge. Follow the pricing area rather than assuming one flat amount for every batch.

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 Batch User-Agent Parsing API with your agent

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