# Ipregistry Batch User-Agent Parsing

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.

Documentation: https://openany.si/ipregistry/ipregistry-batch-user-agent-parsing/c1c306de-3463-456c-b5f0-a54c8980af1d/
API ID: c1c306de-3463-456c-b5f0-a54c8980af1d
Provider: ipregistry
Contract revision: 2
Method: POST
Endpoint: https://api.openany.si/v1/agent-apis/ipregistry/user-agent/batch
Page update time: 2026-12-03T02:49:10.646Z
Access: OpenAny REST
OpenAny MCP: availability is not supplied by this REST contract. Check get_api on the configured OpenAny MCP server before execution.
Request content type: application/json
Execution mode: sync
Authentication: Authorization: Bearer $OPENANY_API_KEY

## Billing
Price: $0.000667 base + $0.000667 / billing unit
API-key calls use your shared balance. Review the published billing rules before making a paid request.
Price source: OpenAny public API contract.
Contract update time: 2026-12-03T02:49:10.299Z. This is not a price-change timestamp.
```json
{
  "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": []
  }
}
```

## Usage and limits
## 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.

## 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 |

## Request parameters
```json
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "title": "Ipregistry Batch User-Agent Parsing request inputs",
  "$comment": "Declared input types grouped by HTTP location. Path, query and header values describe decoded inputs and are serialized as text on the wire; body is the payload. This is not an exhaustive provider contract or a schema for the raw HTTP request.",
  "type": "object",
  "properties": {
    "path": {
      "type": "object",
      "properties": {}
    },
    "query": {
      "type": "object",
      "properties": {}
    },
    "headers": {
      "type": "object",
      "properties": {}
    },
    "body": {
      "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"
    }
  },
  "required": [
    "path",
    "query",
    "headers",
    "body"
  ]
}
```

## Response fields
Source: Inferred from examples; not an exhaustive provider schema.
```json
{
  "type": "object",
  "properties": {
    "results": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "device": {
            "type": "object",
            "properties": {
              "brand": {
                "anyOf": [
                  {
                    "type": "null"
                  },
                  {
                    "type": "string"
                  }
                ]
              },
              "name": {
                "type": "string"
              },
              "type": {
                "type": "string"
              }
            }
          },
          "engine": {
            "type": "object",
            "properties": {
              "name": {
                "type": "string"
              },
              "type": {
                "type": "string"
              },
              "version": {
                "type": "string"
              },
              "version_major": {
                "type": "string"
              }
            }
          },
          "header": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "os": {
            "type": "object",
            "properties": {
              "name": {
                "type": "string"
              },
              "type": {
                "type": "string"
              },
              "version": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              }
            }
          },
          "type": {
            "type": "string"
          },
          "version": {
            "type": "string"
          },
          "version_major": {
            "type": "string"
          }
        }
      }
    }
  }
}
```

## Request example
Scenario: Documentation example
```bash
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"
]'
```

## Response example
Published documentation example. Verify the actual response after an approved call.
Sample response · Documented HTTP 200
```json
{
  "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
400: Check the request fields.
401 / 403: Verify credentials and access permissions.
402: Inspect payment requirements and balance.
429: Respect returned retry guidance.
5xx: Inspect the error and usage record before retrying a paid operation.

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

## Available implementations
- ipregistry: https://openany.si/ipregistry/ipregistry-batch-user-agent-parsing/c1c306de-3463-456c-b5f0-a54c8980af1d/

Integration guide: https://openany.si/docs/
Agent setup: https://openany.si/SKILL.md
