# Blockscout Scroll Withdrawals API

> Blockscout Scroll 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-14).

Retrieves paginated list of Scroll L2-to-L1 withdrawal transactions for a given chain via Blockscout's explorer API

## Facts

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

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-scroll-withdrawals-api-12508c46
```

Example prompt: Show me the latest Scroll withdrawals on chain 534352 — I want to see the origination and completion transaction hashes and timestamps, paginated 25 items at a time.

## When to prefer this

Use this endpoint when you specifically need Scroll L2-to-L1 withdrawal transaction data indexed by Blockscout, including origination and completion hashes with timestamps. Prefer it over generic Ethereum RPC calls when you need pre-indexed, paginated withdrawal history without running your own node. Choose it over other Blockscout endpoints when the query is specifically about Scroll bridge withdrawal events rather than general transactions, tokens, or addresses.

## Known failure modes

- Invalid or unsupported chain_id returns 404 or empty results
- Missing required chain_id path parameter causes request failure
- Pagination cursor mismatch (stale items_count or id) may return duplicate or skipped records
- Network or node unavailability on Blockscout backend returns 5xx errors
- Payment of 0.002 USDC not fulfilled causes 402 Payment Required rejection

## 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 JSON object with an 'items' array of Scroll withdrawal records — each containing a numeric ID, value string, origination timestamp, origination transaction hash, origination block number, and completion transaction hash — plus a 'next_page_params' object for cursor-based pagination.

## 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": {
      "id": {
       "type": "integer"
      },
      "items_count": {
       "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": [
   {
    "id": 0,
    "value": "string",
    "origination_timestamp": "string",
    "completion_transaction_hash": "string",
    "origination_transaction_hash": "string",
    "origination_transaction_block_number": 0
   }
  ],
  "next_page_params": {}
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/blockscout-scroll-withdrawals-api-12508c46/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)
