APIDeveloperWeb Tools

Ipregistry Batch User-Agent Parsing

Use the Ipregistry Batch User-Agent Parsing API to identify the clients represented by multiple User-Agent strings in one synchronous request. Submit a JSON array containing one to 256 complete strings to retrieve an ordered results array describing each browser or client, device, rendering engine, and operating system. Use it to segment access logs, compare desktop and command-line traffic, or prepare client compatibility reports. Each batch consumes one credit per supplied string plus one credit for the request, including batches containing a single string. The detail page includes parameter documentation, verified Firefox and Curl examples, and usage pricing.

Selected price
$0.000667 base + $0.000667 / billing unit Published pricing
Sellers / APIs
1 / 1
Requests · 30d
—Loading...
Success rate · 30d
—Loading...
USE THIS API

Ipregistry Batch User-Agent Parsing

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
Pricing
Connect your agent
On this page

Overview

Overview

Ipregistry Batch User-Agent Parsing

Use the Ipregistry Batch User-Agent Parsing API to identify the clients represented by multiple User-Agent strings in one synchronous request. Submit a JSON array containing one to 256 complete strings to retrieve an ordered results array describing each browser or client, device, rendering engine, and operating system. Use it to segment access logs, compare desktop and command-line traffic, or prepare client compatibility reports. Each batch consumes one credit per supplied string plus one credit for the request, including batches containing a single string. The detail page includes parameter documentation, verified Firefox and Curl examples, and usage pricing.

Ipregistry Batch User-Agent Parsing

Use the Ipregistry Batch User-Agent Parsing API to identify the clients represented by multiple User-Agent strings in one synchronous request. Submit a JSON array containing one to 256 complete strings to retrieve an ordered results array describing each browser or client, device, rendering engine, and operating system. Use it to segment access logs, compare desktop and command-line traffic, or prepare client compatibility reports. Each batch consumes one credit per supplied string plus one credit for the request, including batches containing a single string. The detail page includes parameter documentation, verified Firefox and Curl examples, and usage pricing.

Inputs and operation

Submit a JSON root array containing 1–256 entries. The response contains an ordered results array.

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

Request example

json
{
  "path": {},
  "query": {},
  "headers": {},
  "body": [
    "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:128.0) Gecko/20100101 Firefox/128.0",
    "curl/8.7.1"
  ]
}

Response example

The example is paired with the same successful direct-upstream verification request; its response is complete.

The paired response is available in the request and response examples on this page.

Usage pricing

(N + 1) × $0.000667. Successful requests use HTTP 200. A batch of two entries costs $0.002001; a one-entry batch costs $0.001334. See the pricing panel for the configured price.

Official endpoint documentation · Response fields

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

{
  "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"
    }
  ]
}

Response result

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

Sellers

SellerPricingRequests · 30dPerformanceAccess
ipregistryCurrent
Ipregistry Batch User-Agent Parsing · POST · View API reference
$0.000667 base + $0.000667 / billing unit—
—successP50—
Loading...
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-dev.openany.si/v1/agent-apis/ipregistry/user-agent/batch
Content type
application/json
Authentication
Authorization: Bearer $OPENANY_API_KEY
curl \
  'https://api-dev.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"
]'

Input parameters

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

ParameterLocationTypeRequiredDescription
bodyJSON request bodybodyarrayYesJSON 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.

Sample response

Sample response · Documented HTTP 200 Published documentation example. Verify the actual response after an approved call.

Documentation example
{
  "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"
    }
  ]
}

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.

View API Markdown
API Markdown
# Ipregistry Batch User-Agent Parsing

Use the Ipregistry Batch User-Agent Parsing API to identify the clients represented by multiple User-Agent strings in one synchronous request. Submit a JSON array containing one to 256 complete strings to retrieve an ordered results array describing each browser or client, device, rendering engine, and operating system. Use it to segment access logs, compare desktop and command-line traffic, or prepare client compatibility reports. Each batch consumes one credit per supplied string plus one credit for the request, including batches containing a single string. The detail page includes parameter documentation, verified Firefox and Curl examples, and usage pricing.
## Available implementations
ipregistry · Ipregistry Batch User-Agent Parsing: https://openany.si/markets/apis/capabilities/ipregistry-batch-user-agent-parsing?offering=8ebccd8c-9108-4c26-adb2-d551a989e069 · $0.000667 base + $0.000667 / billing unit

## Selected API contract
Documentation: https://openany.si/markets/apis/capabilities/ipregistry-batch-user-agent-parsing
Method: POST
Endpoint: https://api-dev.openany.si/v1/agent-apis/ipregistry/user-agent/batch
Price: $0.000667 base + $0.000667 / billing unit
Provider: ipregistry
Contract revision: 2
Price source: OpenAny public API contract and documented provider unit rates. Price update time: not supplied.

Use OPENANY_API_KEY from the environment. API Key calls use your shared balance.

## Prepared request
```bash
curl \
  'https://api-dev.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"
]'
```

## API contract
```json
{
  "resource_type": "api",
  "name": "Ipregistry Batch User-Agent Parsing",
  "endpoint": "https://api-dev.openany.si/v1/agent-apis/ipregistry/user-agent/batch",
  "method": "POST",
  "content_type": "application/json",
  "execution_mode": "sync",
  "authentication": {
    "type": "bearer",
    "environment_variable": "OPENANY_API_KEY"
  },
  "inputs": [
    {
      "description": "JSON root array with 1–256 complete User-Agent strings. Input order is retained in results.",
      "json_schema": {
        "description": "JSON root array with 1–256 complete User-Agent strings. Input order is retained in results.",
        "items": {
          "minLength": 1,
          "type": "string"
        },
        "maxItems": 256,
        "minItems": 1,
        "type": "array"
      },
      "location": "body",
      "name": "body",
      "nullable": false,
      "pointer": "",
      "required": true,
      "type": "array"
    }
  ],
  "billing": {
    "currency": "USD",
    "mode": "rules",
    "parameters": [],
    "policy_version": 2,
    "sale": {
      "addons": [],
      "base_price_micro_usd": "667",
      "max_cost_micro_usd": "171419",
      "quantities": [
        {
          "id": "items",
          "label": "Lookup items",
          "max_quantity": "256",
          "measure": "array_length",
          "pointer": "/results",
          "price_micro_usd": "667",
          "quantity_scale": 0,
          "source": "response",
          "unit": "lookup",
          "unit_quantity": "1"
        }
      ],
      "rounding": "ceil",
      "variants": []
    }
  },
  "examples": [
    {
      "http_status": 200,
      "name": "Documentation example",
      "request": {
        "body": [
          "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:128.0) Gecko/20100101 Firefox/128.0",
          "curl/8.7.1"
        ],
        "headers": {},
        "path": {},
        "query": {}
      },
      "response_body": {
        "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"
          }
        ]
      }
    }
  ]
}
```

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-dev.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

Do I need a separate key for every provider?

Use your OpenAny API key for standard API access. Read it from OPENANY_API_KEY in your environment and keep it out of prompts, source code and logs.

Are these providers interchangeable?

No. Each offering has its own inputs, pricing and response contract. Selecting a catalog offering does not establish automatic routing or fallback. Confirm the service contract before calling.

How is this API billed?

API-key calls use your shared balance at the selected implementation's published rate. Check the billing unit and request-specific pricing rules before making a paid call. Recorded usage determines the final charge under that contract.

Where do the price and contract come from?

The selected implementation publishes its provider, request contract, revision and billing rules through OpenAny's public API catalog. A revision number identifies a contract version, not a price update date. A price update timestamp is not supplied; do not treat a page date as one.

How do OpenAny Balance and x402 differ?

OpenAny Balance uses an API key and one shared balance. Card, USDC and x402 top-ups, card auto top-up and USDC subscriptions fund that balance; available routes appear on the Credits page. Direct x402 is a separate pay-per-request flow, available only on listings that show it and requiring an authorized payment client.

Does Playground send a paid request?

Yes. After you sign in, Run sends a real API request using an active OpenAny API key. Charges follow the published API contract and use your shared balance. Selecting an implementation, editing inputs and viewing sample responses do not send requests.

Use Ipregistry Batch User-Agent Parsing with your agent

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