# Blockscout Address Logs CSV Export

> Blockscout Address Logs CSV Export 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-12).

Exports event logs for a specific blockchain address on a given chain as a CSV file, with optional date and filter parameters

## Facts

- Endpoint: GET https://api.blockscout.com/%7Bchain_id%7D/api/v2/addresses/%7Baddress_hash_param%7D/logs/csv
- Price: $0.002/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-12
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/blockscout-address-logs-csv-export-000eaaf8
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_hzlSLrmC9cvmKFONHhIft

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-address-logs-csv-export-000eaaf8
```

Example prompt: Can you download the event logs for address 0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48 on Ethereum (chain ID 1) as a CSV from Blockscout, filtered from January 1 2024 to June 30 2024?

## When to prefer this

Use this endpoint when you need bulk, exportable event log data for a specific address on a specific blockchain in CSV format — ideal for auditing, tax reporting, compliance, or feeding on-chain data into spreadsheet or data analysis tools. Prefer this over JSON API alternatives when downstream workflows require CSV ingestion. Choose this over generic blockchain explorers when you need multichain support and structured export.

## Known failure modes

- Invalid chain_id returns 404 or empty response
- Invalid or malformed address_hash_param returns 400 error
- No logs found for the address in the given period returns empty CSV
- Unsupported chain_id for Blockscout returns error
- Invalid date format for from_period or to_period causes 400
- Rate limiting or payment failure returns 402 or 429

## 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

A CSV file containing event log entries for the specified address on the given chain, including fields such as block number, transaction hash, event topic, log data, timestamp, and contract address. Rows can be filtered by date range and log type.

## 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"
      },
      "address_hash_param": {
       "type": "string"
      }
     }
    },
    "queryParams": {
     "type": "object",
     "properties": {
      "to_period": {
       "type": "string"
      },
      "filter_type": {
       "type": "string"
      },
      "from_period": {
       "type": "string"
      },
      "filter_value": {
       "type": "string"
      }
     }
    }
   },
   "additionalProperties": false
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/blockscout-address-logs-csv-export-000eaaf8/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)
