OpenAny
Get API keyAPI Key
APICrypto & DeFi

blockscout logo
Blockscout Advanced Transaction Search API

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.

Selected price
$0 / callPublished pricing
Sellers / APIs
1 / 1
Requests · 30d
0Selected implementation · last 30 days
Success rate · 30d
—No requests in this period
USE THIS API

Blockscout Advanced Transaction Search API

Prepare your request, then continue with your agent.

Selected price

$0 / call

Provider
API
Pricing
Connect your agent
On this page

Overview

Overview
Blockscout Advanced Transaction Search API

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.

Quick Facts

Fact Value
Access OpenAny REST
Authentication OpenAny API key in the Authorization header
Core inputs path: chain_id; query: transaction_types, methods, age_from, age_to, from_address_hashes_to_include, from_address_hashes_to_exclude, to_address_hashes_to_include, to_address_hashes_to_exclude, address_relation, amount_from, amount_to, token_contract_address_hashes_to_include, token_contract_address_hashes_to_exclude, methods_names, token_contract_symbols_to_include, token_contract_symbols_to_exclude, block_number, transaction_index, internal_transaction_index, token_transfer_index, token_transfer_batch_index
Selected implementation blockscout · Blockscout — List transactions, internal transactions and token transfers matching the advanced filter criteria
Billing See the pricing area for the selected implementation and request options

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

Quick Start

  1. Set OPENANY_API_KEY to your OpenAny API key.
  2. Set the path variables shown in the URL to your target values; URL-encode each path segment before calling.
  3. Check the HTTP response and business result before reading optional fields.
bash
curl --request GET --get \
  "https://api.openany.si/v1/agent-apis/blockscout/${CHAIN_ID_URI:?Set CHAIN_ID_URI}/api/v2/advanced-filters" \
  -H "Authorization: Bearer ${OPENANY_API_KEY}" \
  -H 'Content-Type: application/json'

Request and Response Examples

The response example is a schema template, not a captured response. Set the named path variables for your target chain and resource before using the request template; read actual returned values and optional fields from the result.

Published Blockscout Advanced Transaction Search API implementation contract.

Pricing and Billing

The pricing area reflects the selected API implementation. Review its billing unit and any request-dependent rules before calling; a source service's public availability does not determine OpenAny billing.

Frequently Asked Questions

View FAQ

Related APIs

Playground

Run sends a real API request. Charges follow the published API contract.

Request parameters
The ID of the blockchain
Optional parameters (21)
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.
Comma-separated list of 4-byte contract method selectors (lowercase, `0x`-prefixed). At most 20 unique entries are honored; invalid entries are dropped.
Inclusive lower bound on `timestamp` (ISO 8601).
Inclusive upper bound on `timestamp` (ISO 8601).
Comma-separated list of sender address hashes to include.
Comma-separated list of sender address hashes to exclude.
Comma-separated list of recipient address hashes to include.
Comma-separated list of recipient address hashes to exclude.
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).
Inclusive lower bound on the item's transferred amount (decimal string in the token's base units).
Inclusive upper bound on the item's transferred amount (decimal string in the token's base units).
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.
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.
Comma-separated list of human-readable method names corresponding to the `methods` selectors.
Comma-separated list of token symbols to include.
Comma-separated list of token symbols to exclude.
Keyset cursor: block number of the last item from the previous page.
Keyset cursor: transaction index within the block of the last item from the previous page.
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.
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.
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.

Response template · not a real response

Run a request to see the actual response. Published samples are in Examples.

Response result

Sellers

SellerPricingRequests · 30dPerformanceAccess
blockscoutCurrent
Blockscout — List transactions, internal transactions and token transfers matching the advanced filter criteria · GET · View API reference
$0 / call0
—successP50—
Selected implementation traffic · 11/3/2026 – 12/3/2026 (UTC)
Selected pricing · blockscoutUSD / call
Unit price
$0

Statistics use persisted gateway logs from the last 30 days up to now, including today.
Success rate = successful requests / all requests;
P50 = median latency of successful requests.
Prices reflect the published API contract. Contract revision: 4. Price update time: not supplied.

calls

Total $0

API

Method
GET
Endpoint
https://api.openany.si/v1/agent-apis/blockscout/{chain_id}/api/v2/advanced-filters
Content type
application/json
Authentication
Authorization: Bearer $OPENANY_API_KEY
View request and response examples

Input parameters

Fields in this listing; additional options and input encoding can vary by provider.

ParameterLocationTypeRequiredDescription
chain_idURL path parameterspathstringYes

The ID of the blockchain

transaction_typesURL query parametersquerystring | nullNo

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.

methodsURL query parametersquerystring | nullNo

Comma-separated list of 4-byte contract method selectors (lowercase, `0x`-prefixed). At most 20 unique entries are honored; invalid entries are dropped.

age_fromURL query parametersquerystring | nullNo

Inclusive lower bound on `timestamp` (ISO 8601).

age_toURL query parametersquerystring | nullNo

Inclusive upper bound on `timestamp` (ISO 8601).

from_address_hashes_to_includeURL query parametersquerystring | nullNo

Comma-separated list of sender address hashes to include.

from_address_hashes_to_excludeURL query parametersquerystring | nullNo

Comma-separated list of sender address hashes to exclude.

to_address_hashes_to_includeURL query parametersquerystring | nullNo

Comma-separated list of recipient address hashes to include.

to_address_hashes_to_excludeURL query parametersquerystring | nullNo

Comma-separated list of recipient address hashes to exclude.

address_relationURL query parametersquerystring | nullNo

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_fromURL query parametersquerystring | nullNo

Inclusive lower bound on the item's transferred amount (decimal string in the token's base units).

amount_toURL query parametersquerystring | nullNo

Inclusive upper bound on the item's transferred amount (decimal string in the token's base units).

token_contract_address_hashes_to_includeURL query parametersquerystring | nullNo

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_excludeURL query parametersquerystring | nullNo

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_namesURL query parametersquerystring | nullNo

Comma-separated list of human-readable method names corresponding to the `methods` selectors.

token_contract_symbols_to_includeURL query parametersquerystring | nullNo

Comma-separated list of token symbols to include.

token_contract_symbols_to_excludeURL query parametersquerystring | nullNo

Comma-separated list of token symbols to exclude.

block_numberURL query parametersquerystringNo

Keyset cursor: block number of the last item from the previous page.

transaction_indexURL query parametersquerystringNo

Keyset cursor: transaction index within the block of the last item from the previous page.

internal_transaction_indexURL query parametersquerystringNo

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_indexURL query parametersquerystringNo

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_indexURL query parametersquerystringNo

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.

Required markers inside a nested object or variant apply when that object or variant is used.

Response structure

Inferred from examples
  • itemsobject[]
    • block_numberinteger
    • created_contractobject
      • ens_domain_namestring
      • hashstring
      • implementationsobject[]
        • address_hashstring
        • namestring
      • is_contractboolean
      • is_scamboolean
      • is_verifiedboolean
      • metadataobject
        • tagsobject[]
          • metaobject
          • namestring
          • ordinalinteger
          • slugstring
          • tagTypestring
      • namestring
      • proxy_typestring
      • reputationstring
    • feestring
    • fromobject
      • ens_domain_namestring
      • hashstring
      • implementationsobject[]
        • address_hashstring
        • namestring
      • is_contractboolean
      • is_scamboolean
      • is_verifiedboolean
      • metadataobject
        • tagsobject[]
          • metaobject
          • namestring
          • ordinalinteger
          • slugstring
          • tagTypestring
      • namestring
      • proxy_typestring
      • reputationstring
    • hashstring
    • internal_transaction_indexinteger
    • methodstring
    • statusstring
    • timestampstring
    • toobject
      • ens_domain_namestring
      • hashstring
      • implementationsobject[]
        • address_hashstring
        • namestring
      • is_contractboolean
      • is_scamboolean
      • is_verifiedboolean
      • metadataobject
        • tagsobject[]
          • metaobject
          • namestring
          • ordinalinteger
          • slugstring
          • tagTypestring
      • namestring
      • proxy_typestring
      • reputationstring
    • tokenobject
      • address_hashstring
      • circulating_market_capstring
      • circulating_supplystring
      • decimalsstring
      • exchange_ratestring
      • holders_countstring
      • icon_urlstring
      • namestring
      • reputationstring
      • symbolstring
      • total_supplystring
      • typestring
      • volume_24hstring
    • token_transfer_batch_indexinteger
    • token_transfer_indexinteger
    • totalobject
      • token_idstring
      • token_instanceobject
        • animation_urlstring
        • external_app_urlstring
        • idstring
        • image_urlstring
        • is_uniqueboolean
        • media_typestring
        • media_urlstring
        • metadataobject
          • descriptionstring
          • imagestring
          • namestring
        • ownerobject
          • ens_domain_namestring
          • hashstring
          • implementationsobject[]
            • address_hashstring
            • namestring
          • is_contractboolean
          • is_scamboolean
          • is_verifiedboolean
          • metadataobject
            • tagsobject[]
              • metaobject
              • namestring
              • ordinalinteger
              • slugstring
              • tagTypestring
          • namestring
          • proxy_typestring
          • reputationstring
        • thumbnailsobject
          • originalstring
        • tokenobject
          • address_hashstring
          • circulating_market_capstring
          • circulating_supplystring
          • decimalsstring
          • exchange_ratestring
          • holders_countstring
          • icon_urlstring
          • namestring
          • reputationstring
          • symbolstring
          • total_supplystring
          • typestring
          • volume_24hstring
    • transaction_indexinteger
    • typestring
    • valuestring
  • next_page_paramsobject
    • block_numberinteger
    • internal_transaction_indexnull
    • token_transfer_batch_indexnull
    • token_transfer_indexinteger
    • transaction_indexinteger
  • search_paramsobject
    • methodsobject
    • tokensobject

Agent integration

Copy the resource contract without sharing an API key.

Download MDView API Markdown

Error handling

StatusNext step
400Check the offering and request fields.
401 / 403Verify your credentials and access permissions.
402Inspect the selected access mode and returned payment requirements.
429Respect the returned rate limit and retry guidance.
5xxInspect the error and usage record before retrying a paid operation.

Examples

Schema template · Schema template (not executed)

Response illustration only. Placeholder values and unknown business fields are not recorded API results. Replace request placeholders before use.

  1. Prepare your environment

    Use a terminal with cURL installed.

    Use an OpenAny API key with shared-balance access. Confirm availability and price before running; a call may charge your balance.

    Set the key in your terminal using the hidden prompt below. Keep its value out of source files and logs.

    Terminal · macOS / Linux
    printf 'OpenAny API key: '
    read -r -s OPENANY_API_KEY
    export OPENANY_API_KEY
    printf '\n'
  2. Run the request

    Paste the complete command below into your terminal.

    Values to replace before running 22

    Review these request fields before running. Keep the published provider and request method unchanged.

    chain_id
    The ID of the blockchain
    transaction_types
    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
    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
    Inclusive lower bound on `timestamp` (ISO 8601).
    age_to
    Inclusive upper bound on `timestamp` (ISO 8601).
    from_address_hashes_to_include
    Comma-separated list of sender address hashes to include.
    from_address_hashes_to_exclude
    Comma-separated list of sender address hashes to exclude.
    to_address_hashes_to_include
    Comma-separated list of recipient address hashes to include.
    to_address_hashes_to_exclude
    Comma-separated list of recipient address hashes to exclude.
    address_relation
    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
    Inclusive lower bound on the item's transferred amount (decimal string in the token's base units).
    amount_to
    Inclusive upper bound on the item's transferred amount (decimal string in the token's base units).
    token_contract_address_hashes_to_include
    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
    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
    Comma-separated list of human-readable method names corresponding to the `methods` selectors.
    token_contract_symbols_to_include
    Comma-separated list of token symbols to include.
    token_contract_symbols_to_exclude
    Comma-separated list of token symbols to exclude.
    block_number
    Keyset cursor: block number of the last item from the previous page.
    transaction_index
    Keyset cursor: transaction index within the block of the last item from the previous page.
    internal_transaction_index
    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
    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
    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.
    Terminal · cURL
    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'
  3. Check the response

    Response template · not a real response · Documented HTTP 200

    Response template · not a real response
    {
      "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": {}
      }
    }

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.

Use Blockscout Advanced Transaction Search API with your agent

Inspect endpoint contracts and confirm availability and pricing before a paid call.