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 / implementations
- 1 / 1
- Requests · 30d
- —Loading...
- Success rate · 30d
- —Loading...
| Seller | Pricing | Requests · 30d | Performance | Access |
|---|---|---|---|---|
ipregistryCurrent Ipregistry Batch User-Agent Parsing · POST · View API reference | $0.000667 base + $0.000667 / billing unit | — | —successP50— |
Run sends a real API request. Charges follow the published API contract.
Response structure
resultsobject[]deviceobjectbrandnull | stringnamestringtypestring
engineobjectnamestringtypestringversionstringversion_majorstring
headerstringnamestringosobjectnamestringtypestringversionstring | null
typestringversionstringversion_majorstring
// Inferred from response examples. Fields are optional and other fields may be returned.
export type ApiResponse = {
results?: Array<{
device?: {
brand?: null | string;
name?: string;
type?: string;
};
engine?: {
name?: string;
type?: string;
version?: string;
version_major?: string;
};
header?: string;
name?: string;
os?: {
name?: string;
type?: string;
version?: string | null;
};
type?: string;
version?: string;
version_major?: string;
}>;
};- Method
- POST
- Endpoint
https://api.openany.si/v1/agent-apis/ipregistry/user-agent/batch- Content type
- application/json
- Authentication
Authorization: Bearer $OPENANY_API_KEY
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"
]'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.
Sample response
Sample response · Documented HTTP 200 Published documentation example. Verify the actual response after an approved call.
{
"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 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.
View 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.
Documentation: https://openany.si/apis/c1c306de-3463-456c-b5f0-a54c8980af1d
Method: POST
Endpoint: https://api.openany.si/v1/agent-apis/ipregistry/user-agent/batch
Price: $0.000667 base + $0.000667 / billing unit
Provider: ipregistry
Contract revision: 1
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.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.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
| 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. |
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" } ] }
Loading related APIs…
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.