Access to api/v2/addresses/:address_hash/logs
Access to api/v2/addresses/:address_hash/logs. List event logs emitted by or involving a specific address
3000 (raw units)
price
5
calls / 30d
1
unique payers
2026-08-31
updated
Provider
api.blockscout.com · discovered, not yet claimed by its owner
Payment (x402 accepts[])
[
{
"scheme": "exact",
"network": "eip155:8453",
"payTo": "0xd441D9F4c59CB26253E2F0A7a62ac9cE7823b4b4",
"asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
"amount": "3000",
"maxTimeoutSeconds": 60
}
]Output schema
{
"bazaar": {
"info": {
"input": {
"method": "GET",
"pathParams": {
"address_hash_param": "0x8AAAF9a22f439589987B8f1e69d79ca4f648C297",
"chain_id": "4663"
},
"queryParams": {
"block_number": 0,
"index": 0,
"items_count": 0,
"topic": "string"
},
"type": "http"
},
"output": {
"example": {
"items": [
{
"address": {
"ens_domain_name": "string",
"hash": "string",
"implementations": [
{
"address_hash": "string",
"name": "string"
}
],
"is_contract": true,
"is_scam": true,
"is_verified": true,
"metadata": {},
"name": "string",
"private_tags": [
{
"address_hash": "string",
"display_name": "string",
"label": "string"
}
],
"proxy_type": "string",
"public_tags": [
{
"address_hash": "string",
"display_name": "string",
"label": "string"
}
],
"reputation": "string",
"watchlist_names": [
{
"display_name": "string",
"label": "string"
}
]
},
"block_hash": "string",
"block_number": 0,
"block_timestamp": "string",
"data": "string",
"decoded": {},
"index": 0,
"smart_contract": {},
"topics": [
"string"
],
"transaction_hash": "string"
}
],
"next_page_params": {}
},
"type": "json"
}
},
"routeTemplate": "/:chain_id/api/v2/addresses/:address_hash_param/logs",
"schema": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"input": {
"additionalProperties": false,
"properties": {
"method": {
"enum": [
"GET",
"HEAD",
"DELETE"
],
"type": "string"
},
"pathParams": {
"properties": {
"address_hash_param": {
"type": "string"
},
"chain_id": {
"type": "string"
}
},
"type": "object"
},
"queryParams": {
"properties": {
"block_number": {
"type": "integer"
},
"index": {
"type": "integer"
},
"items_count": {
"type": "integer"
},
"topic": {
"type": "string"
}
},
"type": "object"
},
"type": {
"const": "http",
"type": "string"
}
},
"required": [
"type",
"method"
],
"type": "object"
},
"output": {
"properties": {
"example": {
"type": "object"
},
"type": {
"type": "string"
}
},
"required": [
"type"
],
"type": "object"
}
},
"required": [
"input"
],
"type": "object"
}
}
}Use it
curl
curl "https://api.blockscout.com/:chain_id/api/v2/addresses/:address_hash_param/logs" # -> 402 Payment Required, accepts[] lists how to pay # retry with a PAYMENT-SIGNATURE (or PAYMENT header) once paid
JavaScript
const res = await fetch("https://api.blockscout.com/:chain_id/api/v2/addresses/:address_hash_param/logs");
if (res.status === 402) {
const { accepts } = await res.json();
// pay one of accepts[] via an x402 client, then retry with the payment header
}Python
import httpx
res = httpx.get("https://api.blockscout.com/:chain_id/api/v2/addresses/:address_hash_param/logs")
if res.status_code == 402:
accepts = res.json()["accepts"]
# pay one of accepts[] via an x402 client, then retry with the payment headerMachine-readable
Everything on this page is also available as clean JSON at /resources/5399.json, and this resource appears in /discovery/resources and /discovery/search.