# Ipregistry User-Agent Parsing

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.

Documentation: https://openany.si/market/apis/ipregistry/ipregistry-user-agent-parsing/?offering=db79cc41-f7c7-483c-b68e-c0e41645e069
API ID: db79cc41-f7c7-483c-b68e-c0e41645e069
Provider: ipregistry
Contract revision: 2
Method: GET
Endpoint: https://api.openany.si/v1/agent-apis/ipregistry/user-agent/parse
Page update time: 2026-12-03T02:49:12.584Z
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: none
Execution mode: sync
Authentication: Authorization: Bearer $OPENANY_API_KEY

## Billing
Price: $0.000667 / call
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:11.793Z. This is not a price-change timestamp.
```json
{
  "currency": "USD",
  "mode": "fixed",
  "priceMicroUsd": "667",
  "rounding": null,
  "unit": "call",
  "unitQuantity": null
}
```

## Request parameters
```json
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "title": "Ipregistry 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": {
        "ua": {
          "type": "string",
          "description": "Complete User-Agent string to parse. Required in this OpenAny profile so the result describes the supplied string.",
          "minLength": 1
        },
        "fields": {
          "type": "string",
          "description": "Optional native response-field selector. Omit it to receive the full response. See https://ipregistry.co/docs/filtering.",
          "minLength": 1
        }
      },
      "required": [
        "ua"
      ]
    },
    "headers": {
      "type": "object",
      "properties": {}
    }
  },
  "required": [
    "path",
    "query",
    "headers"
  ]
}
```

## Response fields
Source: Inferred from examples; not an exhaustive provider schema.
```json
{
  "type": "object",
  "properties": {
    "device": {
      "type": "object",
      "properties": {
        "brand": {
          "type": "null"
        },
        "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": {
          "type": "string"
        }
      }
    },
    "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/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'
```

## Response example
Published documentation example. Verify the actual response after an approved call.
Sample response · Documented HTTP 200
```json
{
  "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"
}
```

## 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-user-agent-parsing/?offering=db79cc41-f7c7-483c-b68e-c0e41645e069

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