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
Blockscout Advanced Transaction Search API
Prepare your request, then continue with your agent.
Selected price
$0 / call
- Provider
- API
- Pricing
On this page
Overview
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
- Set OPENANY_API_KEY to your OpenAny API key.
- Set the path variables shown in the URL to your target values; URL-encode each path segment before calling.
- Check the HTTP response and business result before reading optional fields.
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
Related APIs
Playground
Run sends a real API request. Charges follow the published API contract.
Sellers
| Seller | Pricing | Requests · 30d | Performance | Access |
|---|---|---|---|---|
blockscoutCurrent Blockscout — List transactions, internal transactions and token transfers matching the advanced filter criteria · GET · View API reference | $0 / call | 0 | —successP50— |
- 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.
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
Input parameters
Fields in this listing; additional options and input encoding can vary by provider.
| Parameter | Location | Type | Required | Description |
|---|---|---|---|---|
chain_id | URL path parameterspath | string | Yes | The ID of the blockchain |
transaction_types | URL query parametersquery | string | null | No | 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 | URL query parametersquery | string | null | No | 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 | URL query parametersquery | string | null | No | Inclusive lower bound on `timestamp` (ISO 8601). |
age_to | URL query parametersquery | string | null | No | Inclusive upper bound on `timestamp` (ISO 8601). |
from_address_hashes_to_include | URL query parametersquery | string | null | No | Comma-separated list of sender address hashes to include. |
from_address_hashes_to_exclude | URL query parametersquery | string | null | No | Comma-separated list of sender address hashes to exclude. |
to_address_hashes_to_include | URL query parametersquery | string | null | No | Comma-separated list of recipient address hashes to include. |
to_address_hashes_to_exclude | URL query parametersquery | string | null | No | Comma-separated list of recipient address hashes to exclude. |
address_relation | URL query parametersquery | string | null | No | 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 | URL query parametersquery | string | null | No | Inclusive lower bound on the item's transferred amount (decimal string in the token's base units). |
amount_to | URL query parametersquery | string | null | No | Inclusive upper bound on the item's transferred amount (decimal string in the token's base units). |
token_contract_address_hashes_to_include | URL query parametersquery | string | null | No | 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 | URL query parametersquery | string | null | No | 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 | URL query parametersquery | string | null | No | Comma-separated list of human-readable method names corresponding to the `methods` selectors. |
token_contract_symbols_to_include | URL query parametersquery | string | null | No | Comma-separated list of token symbols to include. |
token_contract_symbols_to_exclude | URL query parametersquery | string | null | No | Comma-separated list of token symbols to exclude. |
block_number | URL query parametersquery | string | No | Keyset cursor: block number of the last item from the previous page. |
transaction_index | URL query parametersquery | string | No | Keyset cursor: transaction index within the block of the last item from the previous page. |
internal_transaction_index | URL query parametersquery | string | No | 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 | URL query parametersquery | string | No | 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 | URL query parametersquery | string | No | 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
itemsobject[]block_numberintegercreated_contractobjectens_domain_namestringhashstringimplementationsobject[]address_hashstringnamestring
is_contractbooleanis_scambooleanis_verifiedbooleanmetadataobjecttagsobject[]metaobjectnamestringordinalintegerslugstringtagTypestring
namestringproxy_typestringreputationstring
feestringfromobjectens_domain_namestringhashstringimplementationsobject[]address_hashstringnamestring
is_contractbooleanis_scambooleanis_verifiedbooleanmetadataobjecttagsobject[]metaobjectnamestringordinalintegerslugstringtagTypestring
namestringproxy_typestringreputationstring
hashstringinternal_transaction_indexintegermethodstringstatusstringtimestampstringtoobjectens_domain_namestringhashstringimplementationsobject[]address_hashstringnamestring
is_contractbooleanis_scambooleanis_verifiedbooleanmetadataobjecttagsobject[]metaobjectnamestringordinalintegerslugstringtagTypestring
namestringproxy_typestringreputationstring
tokenobjectaddress_hashstringcirculating_market_capstringcirculating_supplystringdecimalsstringexchange_ratestringholders_countstringicon_urlstringnamestringreputationstringsymbolstringtotal_supplystringtypestringvolume_24hstring
token_transfer_batch_indexintegertoken_transfer_indexintegertotalobjecttoken_idstringtoken_instanceobjectanimation_urlstringexternal_app_urlstringidstringimage_urlstringis_uniquebooleanmedia_typestringmedia_urlstringmetadataobjectdescriptionstringimagestringnamestring
ownerobjectens_domain_namestringhashstringimplementationsobject[]address_hashstringnamestring
is_contractbooleanis_scambooleanis_verifiedbooleanmetadataobjecttagsobject[]metaobjectnamestringordinalintegerslugstringtagTypestring
namestringproxy_typestringreputationstring
thumbnailsobjectoriginalstring
tokenobjectaddress_hashstringcirculating_market_capstringcirculating_supplystringdecimalsstringexchange_ratestringholders_countstringicon_urlstringnamestringreputationstringsymbolstringtotal_supplystringtypestringvolume_24hstring
transaction_indexintegertypestringvaluestring
next_page_paramsobjectblock_numberintegerinternal_transaction_indexnulltoken_transfer_batch_indexnulltoken_transfer_indexintegertransaction_indexinteger
search_paramsobjectmethodsobjecttokensobject
Agent integration
Copy the resource contract without sharing an API key.
Error handling
| Status | Next step |
|---|---|
400 | Check the offering and request fields. |
401 / 403 | Verify your credentials and access permissions. |
402 | Inspect the selected access mode and returned payment requirements. |
429 | Respect the returned rate limit and retry guidance. |
5xx | Inspect 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.
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 / Linuxprintf 'OpenAny API key: ' read -r -s OPENANY_API_KEY export OPENANY_API_KEY printf '\n'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 · cURLcurl \ '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'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": {} } }