# Blockscout — Withdrawals counters

Read Blockscout withdrawal counters via REST or OpenAny MCP—with pay-per-use pricing and no subscription. Powered by Blockscout, pass parameters such as Set, and retrieve structured data including reported number of withdrawals for staking overview, and explorer statistics, ready for production pipelines and AI agent automation using a single OpenAny API key.

Documentation: https://openany.si/blockscout/blockscout-withdrawals-counters/9379f243-78ee-4329-939f-b36111a37182/
API ID: 9379f243-78ee-4329-939f-b36111a37182
Provider: blockscout
Contract revision: 4
Method: GET
Endpoint: https://api.openany.si/v1/agent-apis/blockscout/{chain_id}/api/v2/withdrawals/counters
Page update time: 2026-12-03T02:49:24.231Z
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:49:23.634Z. This is not a price-change timestamp.
```json
{
  "currency": "USD",
  "mode": "fixed",
  "priceMicroUsd": "0",
  "rounding": null,
  "unit": "call",
  "unitQuantity": null
}
```

## Usage and limits
## Blockscout Withdrawal Counters API

Provide chain\_id on withdrawals/counters. The response is an object containing withdrawals\_count and withdrawals\_sum. Keep count and amount distinct, and preserve the returned decimal representations without assuming a currency conversion.

## What You Can Build

- **Staking overview**: Present record counts separately from amount totals.
- **Explorer statistics**: Associate both counters with the selected chain.

## Documented Response Fields

| Field | Meaning |
| --- | --- |
| `withdrawals_count` | Reported number of withdrawals |
| `withdrawals_sum` | Reported sum of withdrawal amounts |

## Request parameters
```json
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "title": "Blockscout — Withdrawals counters 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": {
        "chain_id": {
          "type": "string",
          "description": "The ID of the blockchain"
        }
      },
      "required": [
        "chain_id"
      ]
    },
    "query": {
      "type": "object",
      "properties": {}
    },
    "headers": {
      "type": "object",
      "properties": {}
    }
  },
  "required": [
    "path",
    "query",
    "headers"
  ]
}
```

## Response fields
Source: Inferred from examples; not an exhaustive provider schema.
```json
{
  "type": "object",
  "properties": {
    "withdrawals_count": {
      "type": "string"
    },
    "withdrawals_sum": {
      "type": "string"
    }
  }
}
```

## Request example
Scenario: Schema template · Schema template (not executed)
```bash
curl \
  'https://api.openany.si/v1/agent-apis/blockscout/%3Cchain_id%3E/api/v2/withdrawals/counters' \
  -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 · Documented HTTP 200
```json
{
  "withdrawals_count": "<withdrawals_count>",
  "withdrawals_sum": "<withdrawals_sum>"
}
```

## 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
### Are withdrawals_count and withdrawals_sum interchangeable?
No. The first is a record count; the second is an amount total.

### Does this return individual withdrawal records?
No. Use the withdrawals list to retrieve individual entries and continuation values.

### Can I filter counters by address or time?
This implementation accepts chain_id only and exposes no address or time filters.

### Does the amount total represent a fiat value?
Do not interpret it as fiat or apply an exchange-rate conversion without confirming the response unit for the selected chain.

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

## Available implementations
- blockscout: https://openany.si/blockscout/blockscout-withdrawals-counters/9379f243-78ee-4329-939f-b36111a37182/

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