# Blockscout — List transactions, internal transactions and token transfers matching the advanced filter criteria

Search Blockscout transactions, internal calls and token transfers 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 transaction hash, activity type, sender address, recipient address, and reported transferred value for investigation filters, and mixed activity views.

Documentation: https://openany.si/blockscout/blockscout-list-transactions-internal-transactions-and-token-transfers-matching-the-advanced-fil/e94cb720-3c18-41ae-84d5-69093132de9c/
API ID: e94cb720-3c18-41ae-84d5-69093132de9c
Provider: blockscout
Contract revision: 4
Method: GET
Endpoint: https://api.openany.si/v1/agent-apis/blockscout/{chain_id}/api/v2/advanced-filters
Page update time: 2026-12-03T02:49:22.666Z
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:22.051Z. This is not a price-change timestamp.
```json
{
  "currency": "USD",
  "mode": "fixed",
  "priceMicroUsd": "0",
  "rounding": null,
  "unit": "call",
  "unitQuantity": null
}
```

## Usage and limits
## Blockscout Advanced Transaction Search API

advanced-filters combines multiple activity types in items. Supply filters as documented strings: methods uses lowercase 0x-prefixed four-byte selectors, and amount\_from/amount\_to use decimal strings in token base units. Age bounds are inclusive ISO 8601 timestamps.

## What You Can Build

- **Investigation filters**: Combine counterparties, time bounds and method selectors.
- **Mixed activity views**: Keep transaction, internal-call and transfer positions distinct.

## Documented Response Fields

| Field | Meaning |
| --- | --- |
| `items[].hash` | Transaction hash |
| `items[].type` | Activity type |
| `items[].from.hash` | Sender address |
| `items[].to.hash` | Recipient address |
| `items[].value` | Reported transferred value |
| `items[].transaction_index` | Transaction position within its block |
| `items[].token_transfer_index` | Token transfer position when applicable |

## Request parameters
```json
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "title": "Blockscout — List transactions, internal transactions and token transfers matching the advanced filter criteria 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": {
        "transaction_types": {
          "type": [
            "string",
            "null"
          ],
          "description": "Comma-separated list of transaction types to include. Allowed values: `COIN_TRANSFER`, `CONTRACT_INTERACTION`, `CONTRACT_CREATION`, `ERC-20`, `ERC-404`, `ERC-721`, `ERC-1155`, `ERC-7984` (plus `ZRC-2` on Zilliqa). Values are matched case-insensitively; unknown entries are silently dropped."
        },
        "methods": {
          "type": [
            "string",
            "null"
          ],
          "description": "Comma-separated list of 4-byte contract method selectors (lowercase, `0x`-prefixed). At most 20 unique entries are honored; invalid entries are dropped."
        },
        "age_from": {
          "type": [
            "string",
            "null"
          ],
          "description": "Inclusive lower bound on `timestamp` (ISO 8601)."
        },
        "age_to": {
          "type": [
            "string",
            "null"
          ],
          "description": "Inclusive upper bound on `timestamp` (ISO 8601)."
        },
        "from_address_hashes_to_include": {
          "type": [
            "string",
            "null"
          ],
          "description": "Comma-separated list of sender address hashes to include."
        },
        "from_address_hashes_to_exclude": {
          "type": [
            "string",
            "null"
          ],
          "description": "Comma-separated list of sender address hashes to exclude."
        },
        "to_address_hashes_to_include": {
          "type": [
            "string",
            "null"
          ],
          "description": "Comma-separated list of recipient address hashes to include."
        },
        "to_address_hashes_to_exclude": {
          "type": [
            "string",
            "null"
          ],
          "description": "Comma-separated list of recipient address hashes to exclude."
        },
        "address_relation": {
          "type": [
            "string",
            "null"
          ],
          "description": "How to combine the `from_address_hashes_*` and `to_address_hashes_*` filters. Accepts `or` or `and` (case-insensitive). `or` (default) matches an item if either side matches; `and` requires both sides to match. Any other value is silently coerced to `nil` (no relation constraint)."
        },
        "amount_from": {
          "type": [
            "string",
            "null"
          ],
          "description": "Inclusive lower bound on the item's transferred amount (decimal string in the token's base units)."
        },
        "amount_to": {
          "type": [
            "string",
            "null"
          ],
          "description": "Inclusive upper bound on the item's transferred amount (decimal string in the token's base units)."
        },
        "token_contract_address_hashes_to_include": {
          "type": [
            "string",
            "null"
          ],
          "description": "Comma-separated list of token contract address hashes to include. Use the literal `native` to also include native coin transfers. Each list (include and exclude) is capped to 20 entries separately."
        },
        "token_contract_address_hashes_to_exclude": {
          "type": [
            "string",
            "null"
          ],
          "description": "Comma-separated list of token contract address hashes to exclude. Use the literal `native` to also exclude native coin transfers. Each list (include and exclude) is capped to 20 entries separately."
        },
        "methods_names": {
          "type": [
            "string",
            "null"
          ],
          "description": "Comma-separated list of human-readable method names corresponding to the `methods` selectors."
        },
        "token_contract_symbols_to_include": {
          "type": [
            "string",
            "null"
          ],
          "description": "Comma-separated list of token symbols to include."
        },
        "token_contract_symbols_to_exclude": {
          "type": [
            "string",
            "null"
          ],
          "description": "Comma-separated list of token symbols to exclude."
        },
        "block_number": {
          "type": "string",
          "description": "Keyset cursor: block number of the last item from the previous page."
        },
        "transaction_index": {
          "type": "string",
          "description": "Keyset cursor: transaction index within the block of the last item from the previous page."
        },
        "internal_transaction_index": {
          "type": "string",
          "description": "Keyset cursor: internal-transaction index of the last item from the previous page. Use an empty string or the literal `null` when the previous item was not an internal transaction. Import profile accepts the string branch only; other union branches are not exposed."
        },
        "token_transfer_index": {
          "type": "string",
          "description": "Keyset cursor: token-transfer index of the last item from the previous page. Use an empty string or the literal `null` when the previous item was not a token transfer. Import profile accepts the string branch only; other union branches are not exposed."
        },
        "token_transfer_batch_index": {
          "type": "string",
          "description": "Keyset cursor: index within an ERC-1155 batch token transfer. Use an empty string or the literal `null` when the previous item was not part of a batch. Import profile accepts the string branch only; other union branches are not exposed."
        }
      }
    },
    "headers": {
      "type": "object",
      "properties": {}
    }
  },
  "required": [
    "path",
    "query",
    "headers"
  ]
}
```

## Response fields
Source: Inferred from examples; not an exhaustive provider schema.
```json
{
  "type": "object",
  "properties": {
    "items": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "block_number": {
            "type": "integer"
          },
          "created_contract": {
            "type": "object",
            "properties": {
              "ens_domain_name": {
                "type": "string"
              },
              "hash": {
                "type": "string"
              },
              "implementations": {
                "type": "array",
                "items": {
                  "type": "object",
                  "properties": {
                    "address_hash": {
                      "type": "string"
                    },
                    "name": {
                      "type": "string"
                    }
                  }
                }
              },
              "is_contract": {
                "type": "boolean"
              },
              "is_scam": {
                "type": "boolean"
              },
              "is_verified": {
                "type": "boolean"
              },
              "metadata": {
                "type": "object",
                "properties": {
                  "tags": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "properties": {
                        "meta": {
                          "type": "object",
                          "properties": {}
                        },
                        "name": {
                          "type": "string"
                        },
                        "ordinal": {
                          "type": "integer"
                        },
                        "slug": {
                          "type": "string"
                        },
                        "tagType": {
                          "type": "string"
                        }
                      }
                    }
                  }
                }
              },
              "name": {
                "type": "string"
              },
              "proxy_type": {
                "type": "string"
              },
              "reputation": {
                "type": "string"
              }
            }
          },
          "fee": {
            "type": "string"
          },
          "from": {
            "type": "object",
            "properties": {
              "ens_domain_name": {
                "type": "string"
              },
              "hash": {
                "type": "string"
              },
              "implementations": {
                "type": "array",
                "items": {
                  "type": "object",
                  "properties": {
                    "address_hash": {
                      "type": "string"
                    },
                    "name": {
                      "type": "string"
                    }
                  }
                }
              },
              "is_contract": {
                "type": "boolean"
              },
              "is_scam": {
                "type": "boolean"
              },
              "is_verified": {
                "type": "boolean"
              },
              "metadata": {
                "type": "object",
                "properties": {
                  "tags": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "properties": {
                        "meta": {
                          "type": "object",
                          "properties": {}
                        },
                        "name": {
                          "type": "string"
                        },
                        "ordinal": {
                          "type": "integer"
                        },
                        "slug": {
                          "type": "string"
                        },
                        "tagType": {
                          "type": "string"
                        }
                      }
                    }
                  }
                }
              },
              "name": {
                "type": "string"
              },
              "proxy_type": {
                "type": "string"
              },
              "reputation": {
                "type": "string"
              }
            }
          },
          "hash": {
            "type": "string"
          },
          "internal_transaction_index": {
            "type": "integer"
          },
          "method": {
            "type": "string"
          },
          "status": {
            "type": "string"
          },
          "timestamp": {
            "type": "string"
          },
          "to": {
            "type": "object",
            "properties": {
              "ens_domain_name": {
                "type": "string"
              },
              "hash": {
                "type": "string"
              },
              "implementations": {
                "type": "array",
                "items": {
                  "type": "object",
                  "properties": {
                    "address_hash": {
                      "type": "string"
                    },
                    "name": {
                      "type": "string"
                    }
                  }
                }
              },
              "is_contract": {
                "type": "boolean"
              },
              "is_scam": {
                "type": "boolean"
              },
              "is_verified": {
                "type": "boolean"
              },
              "metadata": {
                "type": "object",
                "properties": {
                  "tags": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "properties": {
                        "meta": {
                          "type": "object",
                          "properties": {}
                        },
                        "name": {
                          "type": "string"
                        },
                        "ordinal": {
                          "type": "integer"
                        },
                        "slug": {
                          "type": "string"
                        },
                        "tagType": {
                          "type": "string"
                        }
                      }
                    }
                  }
                }
              },
              "name": {
                "type": "string"
              },
              "proxy_type": {
                "type": "string"
              },
              "reputation": {
                "type": "string"
              }
            }
          },
          "token": {
            "type": "object",
            "properties": {
              "address_hash": {
                "type": "string"
              },
              "circulating_market_cap": {
                "type": "string"
              },
              "circulating_supply": {
                "type": "string"
              },
              "decimals": {
                "type": "string"
              },
              "exchange_rate": {
                "type": "string"
              },
              "holders_count": {
                "type": "string"
              },
              "icon_url": {
                "type": "string"
              },
              "name": {
                "type": "string"
              },
              "reputation": {
                "type": "string"
              },
              "symbol": {
                "type": "string"
              },
              "total_supply": {
                "type": "string"
              },
              "type": {
                "type": "string"
              },
              "volume_24h": {
                "type": "string"
              }
            }
          },
          "token_transfer_batch_index": {
            "type": "integer"
          },
          "token_transfer_index": {
            "type": "integer"
          },
          "total": {
            "type": "object",
            "properties": {
              "token_id": {
                "type": "string"
              },
              "token_instance": {
                "type": "object",
                "properties": {
                  "animation_url": {
                    "type": "string"
                  },
                  "external_app_url": {
                    "type": "string"
                  },
                  "id": {
                    "type": "string"
                  },
                  "image_url": {
                    "type": "string"
                  },
                  "is_unique": {
                    "type": "boolean"
                  },
                  "media_type": {
                    "type": "string"
                  },
                  "media_url": {
                    "type": "string"
                  },
                  "metadata": {
                    "type": "object",
                    "properties": {
                      "description": {
                        "type": "string"
                      },
                      "image": {
                        "type": "string"
                      },
                      "name": {
                        "type": "string"
                      }
                    }
                  },
                  "owner": {
                    "type": "object",
                    "properties": {
                      "ens_domain_name": {
                        "type": "string"
                      },
                      "hash": {
                        "type": "string"
                      },
                      "implementations": {
                        "type": "array",
                        "items": {
                          "type": "object",
                          "properties": {
                            "address_hash": {
                              "type": "string"
                            },
                            "name": {
                              "type": "string"
                            }
                          }
                        }
                      },
                      "is_contract": {
                        "type": "boolean"
                      },
                      "is_scam": {
                        "type": "boolean"
                      },
                      "is_verified": {
                        "type": "boolean"
                      },
                      "metadata": {
                        "type": "object",
                        "properties": {
                          "tags": {
                            "type": "array",
                            "items": {
                              "type": "object",
                              "properties": {
                                "meta": {
                                  "type": "object",
                                  "properties": {}
                                },
                                "name": {
                                  "type": "string"
                                },
                                "ordinal": {
                                  "type": "integer"
                                },
                                "slug": {
                                  "type": "string"
                                },
                                "tagType": {
                                  "type": "string"
                                }
                              }
                            }
                          }
                        }
                      },
                      "name": {
                        "type": "string"
                      },
                      "proxy_type": {
                        "type": "string"
                      },
                      "reputation": {
                        "type": "string"
                      }
                    }
                  },
                  "thumbnails": {
                    "type": "object",
                    "properties": {
                      "original": {
                        "type": "string"
                      }
                    }
                  },
                  "token": {
                    "type": "object",
                    "properties": {
                      "address_hash": {
                        "type": "string"
                      },
                      "circulating_market_cap": {
                        "type": "string"
                      },
                      "circulating_supply": {
                        "type": "string"
                      },
                      "decimals": {
                        "type": "string"
                      },
                      "exchange_rate": {
                        "type": "string"
                      },
                      "holders_count": {
                        "type": "string"
                      },
                      "icon_url": {
                        "type": "string"
                      },
                      "name": {
                        "type": "string"
                      },
                      "reputation": {
                        "type": "string"
                      },
                      "symbol": {
                        "type": "string"
                      },
                      "total_supply": {
                        "type": "string"
                      },
                      "type": {
                        "type": "string"
                      },
                      "volume_24h": {
                        "type": "string"
                      }
                    }
                  }
                }
              }
            }
          },
          "transaction_index": {
            "type": "integer"
          },
          "type": {
            "type": "string"
          },
          "value": {
            "type": "string"
          }
        }
      }
    },
    "next_page_params": {
      "type": "object",
      "properties": {
        "block_number": {
          "type": "integer"
        },
        "internal_transaction_index": {
          "type": "null"
        },
        "token_transfer_batch_index": {
          "type": "null"
        },
        "token_transfer_index": {
          "type": "integer"
        },
        "transaction_index": {
          "type": "integer"
        }
      }
    },
    "search_params": {
      "type": "object",
      "properties": {
        "methods": {
          "type": "object",
          "properties": {}
        },
        "tokens": {
          "type": "object",
          "properties": {}
        }
      }
    }
  }
}
```

## Request example
Scenario: Schema template · Schema template (not executed)
```bash
curl \
  'https://api.openany.si/v1/agent-apis/blockscout/%3Cchain_id%3E/api/v2/advanced-filters' \
  -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
{
  "items": [
    {
      "block_number": 0,
      "created_contract": {
        "ens_domain_name": "<ens_domain_name>",
        "hash": "<hash>",
        "implementations": [
          {
            "address_hash": "<address_hash>",
            "name": "<name>"
          }
        ],
        "is_contract": false,
        "is_scam": false,
        "is_verified": false,
        "metadata": {
          "tags": [
            {
              "meta": {},
              "name": "<name>",
              "ordinal": 0,
              "slug": "<slug>",
              "tagType": "<tagType>"
            }
          ]
        },
        "name": "<name>",
        "proxy_type": "eip1167",
        "reputation": "ok"
      },
      "fee": "<fee>",
      "from": {
        "ens_domain_name": "<ens_domain_name>",
        "hash": "<hash>",
        "implementations": [
          {
            "address_hash": "<address_hash>",
            "name": "<name>"
          }
        ],
        "is_contract": false,
        "is_scam": false,
        "is_verified": false,
        "metadata": {
          "tags": [
            {
              "meta": {},
              "name": "<name>",
              "ordinal": 0,
              "slug": "<slug>",
              "tagType": "<tagType>"
            }
          ]
        },
        "name": "<name>",
        "proxy_type": "eip1167",
        "reputation": "ok"
      },
      "hash": "<hash>",
      "internal_transaction_index": 0,
      "method": "transfer",
      "status": "<status>",
      "timestamp": "<timestamp>",
      "to": {
        "ens_domain_name": "<ens_domain_name>",
        "hash": "<hash>",
        "implementations": [
          {
            "address_hash": "<address_hash>",
            "name": "<name>"
          }
        ],
        "is_contract": false,
        "is_scam": false,
        "is_verified": false,
        "metadata": {
          "tags": [
            {
              "meta": {},
              "name": "<name>",
              "ordinal": 0,
              "slug": "<slug>",
              "tagType": "<tagType>"
            }
          ]
        },
        "name": "<name>",
        "proxy_type": "eip1167",
        "reputation": "ok"
      },
      "token": {
        "address_hash": "<address_hash>",
        "circulating_market_cap": "<circulating_market_cap>",
        "circulating_supply": "<circulating_supply>",
        "decimals": "<decimals>",
        "exchange_rate": "<exchange_rate>",
        "holders_count": "<holders_count>",
        "icon_url": "https://example.com",
        "name": "<name>",
        "reputation": "ok",
        "symbol": "<symbol>",
        "total_supply": "<total_supply>",
        "type": "ERC-20",
        "volume_24h": "<volume_24h>"
      },
      "token_transfer_batch_index": 0,
      "token_transfer_index": 0,
      "total": {
        "token_id": "<token_id>",
        "token_instance": {
          "animation_url": "https://example.com",
          "external_app_url": "https://example.com",
          "id": "<id>",
          "image_url": "https://example.com",
          "is_unique": false,
          "media_type": "image/png",
          "media_url": "https://example.com",
          "metadata": {
            "description": "Test",
            "image": "https://example.com/image.png",
            "name": "Test"
          },
          "owner": {
            "ens_domain_name": "<ens_domain_name>",
            "hash": "<hash>",
            "implementations": [
              {
                "address_hash": "<address_hash>",
                "name": "<name>"
              }
            ],
            "is_contract": false,
            "is_scam": false,
            "is_verified": false,
            "metadata": {
              "tags": [
                {
                  "meta": {},
                  "name": "<name>",
                  "ordinal": 0,
                  "slug": "<slug>",
                  "tagType": "<tagType>"
                }
              ]
            },
            "name": "<name>",
            "proxy_type": "eip1167",
            "reputation": "ok"
          },
          "thumbnails": {
            "original": "<original>"
          },
          "token": {
            "address_hash": "<address_hash>",
            "circulating_market_cap": "<circulating_market_cap>",
            "circulating_supply": "<circulating_supply>",
            "decimals": "<decimals>",
            "exchange_rate": "<exchange_rate>",
            "holders_count": "<holders_count>",
            "icon_url": "https://example.com",
            "name": "<name>",
            "reputation": "ok",
            "symbol": "<symbol>",
            "total_supply": "<total_supply>",
            "type": "ERC-20",
            "volume_24h": "<volume_24h>"
          }
        }
      },
      "transaction_index": 0,
      "type": "coin_transfer",
      "value": "<value>"
    }
  ],
  "next_page_params": {
    "block_number": 23532302,
    "internal_transaction_index": null,
    "token_transfer_batch_index": null,
    "token_transfer_index": 0,
    "transaction_index": 1
  },
  "search_params": {
    "methods": {},
    "tokens": {}
  }
}
```

## 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
### How many method selectors can I include?
At most 20 unique selectors are honored. Use lowercase 0x-prefixed four-byte values; invalid entries are dropped.

### How do sender and recipient filters combine?
address_relation=or matches either side and is the default; and requires both. Other values remove the relation constraint.

### Can I filter native coin transfers with token filters?
Use the literal native in token_contract_address_hashes_to_include or the corresponding exclude list. Each list is capped separately at 20 entries.

### How should I send continuation fields?
Send block_number and transaction_index as strings. For internal_transaction_index, token_transfer_index and token_transfer_batch_index, use decimal strings or the literal null when that component is inapplicable; preserve the original filters.

### 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-list-transactions-internal-transactions-and-token-transfers-matching-the-advanced-fil/e94cb720-3c18-41ae-84d5-69093132de9c/

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