# 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/market/apis/ipregistry/ipregistry-batch-user-agent-parsing/?offering=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. Price update time: not supplied.
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": []
  }
}
```

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

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

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