# Blockscout — Retrieve hot smart-contracts

List Blockscout hot contracts via REST or OpenAny MCP—with pay-per-use pricing and no subscription. Powered by Blockscout, pass parameters such as scale, Set, and retrieve structured data including contract address, reported contract balance, transactions count, and total gas used for activity dashboards, and contract discovery, ready for production pipelines and AI agent automation.

Documentation: https://openany.si/blockscout/blockscout-retrieve-hot-smart-contracts/fbd68d78-f01b-4242-b78f-dd1ac6572e72/
API ID: fbd68d78-f01b-4242-b78f-dd1ac6572e72
Provider: blockscout
Contract revision: 4
Method: GET
Endpoint: https://api.openany.si/v1/agent-apis/blockscout/{chain_id}/api/v2/stats/hot-smart-contracts
Page update time: 2026-12-03T02:49:22.906Z
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.618Z. This is not a price-change timestamp.
```json
{
  "currency": "USD",
  "mode": "fixed",
  "priceMicroUsd": "0",
  "rounding": null,
  "unit": "call",
  "unitQuantity": null
}
```

## Usage and limits
## Blockscout Hot Contracts API

Provide chain\_id and the required scale: 5m, 1h, 3h, 1d, 7d or 30d. Pair sort=transactions\_count or total\_gas\_used with order. items contains contract context and activity metrics; keep scale and sorting unchanged when continuing.

## What You Can Build

- **Activity dashboards**: Compare reported contract activity within one window.
- **Contract discovery**: Navigate from activity metrics to contract addresses.

## Documented Response Fields

| Field | Meaning |
| --- | --- |
| `items[].contract_address.hash` | Contract address |
| `items[].balance` | Reported contract balance |
| `items[].transactions_count` | Reported transaction count for the aggregation window |
| `items[].total_gas_used` | Reported total gas used for the aggregation window |

## Request parameters
```json
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "title": "Blockscout — Retrieve hot smart-contracts 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": {
        "sort": {
          "type": "string",
          "description": "Sort results by:\n* transactions_count - Sort by number of transactions\n* total_gas_used - Sort by total gas used\nShould be used together with `order` parameter.",
          "enum": [
            "transactions_count",
            "total_gas_used"
          ]
        },
        "order": {
          "type": "string",
          "description": "Sort order:\n* asc - Ascending order\n* desc - Descending order\nShould be used together with `sort` parameter.",
          "enum": [
            "asc",
            "desc"
          ]
        },
        "scale": {
          "type": "string",
          "description": "Time scale for hot contracts aggregation (5m=5 minutes, 1h=1 hour, 3h=3 hours, 1d=1 day, 7d=7 days, 30d=30 days)",
          "enum": [
            "5m",
            "1h",
            "3h",
            "1d",
            "7d",
            "30d"
          ]
        },
        "items_count": {
          "type": "integer",
          "description": "Number of items per page",
          "minimum": 1
        },
        "transactions_count": {
          "type": "integer",
          "description": "Transactions count for paging",
          "minimum": 1
        },
        "total_gas_used": {
          "type": "integer",
          "description": "Total gas used for paging",
          "minimum": 0
        },
        "contract_address_hash": {
          "type": "string",
          "description": "Contract address hash for paging"
        }
      },
      "required": [
        "scale"
      ]
    },
    "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": {
          "balance": {
            "type": "string"
          },
          "contract_address": {
            "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"
              }
            }
          },
          "total_gas_used": {
            "type": "integer"
          },
          "transactions_count": {
            "type": "integer"
          }
        }
      }
    },
    "next_page_params": {
      "type": "object",
      "properties": {
        "contract_address_hash": {
          "type": "string"
        },
        "total_gas_used": {
          "type": "string"
        },
        "transactions_count": {
          "type": "integer"
        }
      }
    }
  }
}
```

## Request example
Scenario: Schema template · Schema template (not executed)
```bash
curl \
  'https://api.openany.si/v1/agent-apis/blockscout/%3Cchain_id%3E/api/v2/stats/hot-smart-contracts?scale=5m' \
  -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": [
    {
      "balance": "<balance>",
      "contract_address": {
        "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"
      },
      "total_gas_used": 1,
      "transactions_count": 1
    }
  ],
  "next_page_params": {
    "contract_address_hash": "0x01a2A10583675E0e5dF52DE1b62734109201477a",
    "total_gas_used": "100",
    "transactions_count": 100
  }
}
```

## 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
### Can I omit scale?
No. scale is required. Choose 5m, 1h, 3h, 1d, 7d or 30d.

### Does hot mean profitable or safe?
No. The route reports activity metrics. Transaction count and gas usage do not establish profitability or contract safety.

### What types should continuation values use?
transactions_count is an integer of at least 1 and total_gas_used is a nonnegative integer. Convert a numeric string returned for total_gas_used into an exact integer representation before sending it.

### Is total_gas_used the API request price?
No. It is an on-chain activity metric. OpenAny request pricing appears in the selected implementation’s pricing area.

### 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-retrieve-hot-smart-contracts/fbd68d78-f01b-4242-b78f-dd1ac6572e72/

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