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
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
On this page
Overview
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
- Set OPENANY_API_KEY to your OpenAny API key.
- Review the selected implementation and pricing, then adapt the request below to your target.
- Check the HTTP response and business result before reading optional fields.
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
Related APIs
Playground
Run sends a real API request. Charges follow the published API contract.
Sellers
| Seller | Pricing | Requests · 30d | Performance | Access |
|---|---|---|---|---|
ipregistryCurrent Ipregistry Batch User-Agent Parsing · POST · View API reference | $0.000667 base + $0.000667 / billing unit | 2 | 100.00%successP50158.5ms |
- 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
Input parameters
Fields in this listing; additional options and input encoding can vary by provider.
| Parameter | Location | Type | Required | Description |
|---|---|---|---|---|
body | JSON request bodybody | array | Yes | JSON root array with 1–256 complete User-Agent strings. Input order is retained in results. minItems: 1 · maxItems: 256 Nested fields and variants
|
Required markers inside a nested object or variant apply when that object or variant is used.
Response structure
resultsobject[]deviceobjectbrandnull | stringnamestringtypestring
engineobjectnamestringtypestringversionstringversion_majorstring
headerstringnamestringosobjectnamestringtypestringversionstring | null
typestringversionstringversion_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 item | Price | Metering source | When | Quantity limit |
|---|---|---|---|---|
| Lookup items | $0.000667 / billing unit | Response · /results · Array length | Always | 256 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.
Error handling
| Status | Next step |
|---|---|
400 | Check the offering and request fields. |
401 / 403 | Verify your credentials and access permissions. |
402 | Inspect the selected access mode and returned payment requirements. |
429 | Respect the returned rate limit and retry guidance. |
5xx | Inspect the error and usage record before retrying a paid operation. |
Examples
Documentation example
Published documentation example. Verify the actual response after an approved call.
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 / Linuxprintf 'OpenAny API key: ' read -r -s OPENANY_API_KEY export OPENANY_API_KEY printf '\n'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 · cURLcurl \ '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" ]'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" } ] }