# Get API key usage statistics

Get Web Get key usage statistics data via REST or OpenAny MCP—with pay-per-use pricing and no subscription. Powered by OpenAny, configure supported query parameters and filters, and retrieve structured data including returned client id field, returned credential type field, returned usage field, and user identifier to search interfaces and source review, and integration reference.

Documentation: https://openany.si/web/web-get-api-key-usage-statistics/348f92d9-3b93-43ab-9220-dea1cebe43c6/
API ID: 348f92d9-3b93-43ab-9220-dea1cebe43c6
Provider: openany
Contract revision: 5
Method: GET
Endpoint: https://api.openany.si/v1/agent-apis/openany/usage
Page update time: 2026-12-03T02:53:13.616Z
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 / call
The published contract currently has no usage charge. Authentication and service limits still apply.
Price source: OpenAny public API contract.
Contract update time: 2026-12-03T02:53:13.315Z. This is not a price-change timestamp.
```json
{
  "currency": "USD",
  "mode": "fixed",
  "priceMicroUsd": "0",
  "rounding": null,
  "unit": "call",
  "unitQuantity": null
}
```

## Usage and limits
## Web Get key usage statistics API

Retrieve the remaining credit balance for the authenticated account. Review the optional inputs supported by the selected implementation. Read the response using the field paths below, preserving identifiers and the declared value types when mapping results.

## What You Can Build

- **Search interfaces and source review**: Keep returned sources and query context together.
- **Integration reference**: Use the selected request format and keep source identifiers with the returned result.

## Documented Response Fields

| Field | Meaning |
| --- | --- |
| `client_id` | Returned client id field |
| `credential_type` | Returned credential type field |
| `usage` | Returned usage field |
| `user_id` | User identifier |

## Request parameters
```json
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "title": "Get API key usage statistics 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": {
        "period": {
          "type": "string",
          "description": "",
          "enum": [
            "day",
            "week",
            "month",
            "year"
          ]
        }
      }
    },
    "headers": {
      "type": "object",
      "properties": {}
    }
  },
  "required": [
    "path",
    "query",
    "headers"
  ]
}
```

## Response fields
Source: Inferred from examples; not an exhaustive provider schema.
```json
{
  "type": "object",
  "properties": {
    "client_id": {
      "type": "string"
    },
    "credential_type": {
      "type": "string"
    },
    "usage": {
      "type": "integer"
    },
    "user_id": {
      "type": "string"
    }
  }
}
```

## Request example
Scenario: Schema template (HTTP assumed)
```bash
curl \
  'https://api.openany.si/v1/agent-apis/openany/usage' \
  -X GET \
  -H "Authorization: Bearer $OPENANY_API_KEY" \
  -H 'Content-Type: application/json'
```

## Response example
Response illustration only. Placeholder values and unknown business fields are not recorded API results. Replace request placeholders before use.
Response template · not a real response · Configured HTTP 200; actual status is unverified.
```json
{
  "client_id": "<client_id>",
  "credential_type": "api_key",
  "usage": 0,
  "user_id": "<user_id>"
}
```

## 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
### Does this implementation require business input parameters?
No business input is marked as required by the selected schema. Review any optional filters and the documented request format before calling.

### Which values can I use for period?
The selected schema accepts day, week, month, year. Keep the documented string type and exact spelling for this input.

### Where do URL parameters belong?
Use the documented path and query inputs. This GET implementation does not use a JSON request body; keep path values and URL query values in their declared locations.

### How should I map the returned fields?
Use the documented response paths with their returned types. Keep null, empty collections, false and zero distinct, and retain the identifiers needed to match results to the request.

### 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 API implementation. Follow its billing unit, quantity and any request-dependent rules before sending the request.

## Available implementations
- openany: https://openany.si/web/web-get-api-key-usage-statistics/348f92d9-3b93-43ab-9220-dea1cebe43c6/

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