# Blockscout Shibarium Withdrawals API

> Blockscout Shibarium Withdrawals API is a paid API for AI agents from api.blockscout.com, paid per call via x402, $0.002/call, status unknown (last checked 2026-09-11).

Retrieves paginated withdrawal transactions from Shibarium (a Shiba Inu Layer 2 network) back to Layer 1, including L2/L1 block numbers and transaction hashes.

## Facts

- Endpoint: GET https://api.blockscout.com/%7Bchain_id%7D/api/v2/shibarium/withdrawals
- Price: $0.002/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-11
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/blockscout-shibarium-withdrawals-api-a3e01fa3
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_t6JYPaySknEdgz-OfpmnF

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability blockscout-shibarium-withdrawals-api-a3e01fa3
```

Example prompt: Show me the most recent withdrawal transactions from Shibarium back to Ethereum mainnet — I want to see the L1 and L2 transaction hashes and timestamps for the latest batch.

## When to prefer this

Use this endpoint when you specifically need to enumerate or audit withdrawal (L2→L1 bridge exit) transactions on the Shibarium network. It is purpose-built for Shibarium cross-chain withdrawals with structured pagination, making it ideal for bridge monitoring, reconciliation, or analytics tasks. Prefer this over generic transaction list endpoints when you specifically need the L1↔L2 correlation data for Shibarium exits.

## Known failure modes

- Invalid chain_id returns 404 or empty results
- Malformed block_number parameter returns 422 validation error
- No withdrawals found for the given page cursor returns empty items array
- Rate limiting or payment failure returns 402 Payment Required
- Temporary Blockscout node unavailability returns 503

## How this service works

Explore crypto activities with Blockscout's multichain search. Find transactions, addresses, tokens, and dapps across top blockchain networks — your go-to explorer for cross-chain blockchain data

## Output

Returns a paginated list of Shibarium withdrawal records, each containing the user address, timestamp, L2 block number, L1 transaction hash, and L2 transaction hash. Also includes next_page_params for cursor-based pagination through historical withdrawals.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET",
      "HEAD",
      "DELETE"
     ],
     "type": "string"
    },
    "pathParams": {
     "type": "object",
     "properties": {
      "chain_id": {
       "type": "string"
      }
     }
    },
    "queryParams": {
     "type": "object",
     "properties": {
      "items_count": {
       "type": "integer"
      },
      "block_number": {
       "type": "integer"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "items": [
   {
    "user": {},
    "timestamp": "string",
    "l2_block_number": 0,
    "l1_transaction_hash": "string",
    "l2_transaction_hash": "string"
   }
  ],
  "next_page_params": {}
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/blockscout-shibarium-withdrawals-api-a3e01fa3/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.blockscout.com](https://www.zero.xyz/host/api.blockscout.com/llms.txt)
