# Blockscout — List verified smart contracts with optional filtering options

Search Blockscout verified contracts 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 verified contract records and smart contract id for contract discovery, and research queues, ready for production pipelines and AI agent automation using a single OpenAny API key.

Documentation: https://openany.si/blockscout/blockscout-list-verified-smart-contracts-with-optional-filtering-options/da0581db-aec7-4d48-8104-7f1fb56d73e4/
API ID: da0581db-aec7-4d48-8104-7f1fb56d73e4
Provider: blockscout
Contract revision: 4
Method: GET
Endpoint: https://api.openany.si/v1/agent-apis/blockscout/{chain_id}/api/v2/smart-contracts
Page update time: 2026-12-03T02:49:22.709Z
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.172Z. This is not a price-change timestamp.
```json
{
  "currency": "USD",
  "mode": "fixed",
  "priceMicroUsd": "0",
  "rounding": null,
  "unit": "call",
  "unitQuantity": null
}
```

## Usage and limits
## Blockscout Verified Contract Search API

Call smart-contracts with chain\_id and optional q. filter accepts solidity, vyper, yul, geas or stylus\_rust. Pair sort=balance or transactions\_count with order, and keep the same query and sort when continuing.

## What You Can Build

- **Contract discovery**: Find source-verified contracts by language and query.
- **Research queues**: Arrange contracts by balance or transaction count.

## Response Envelope

| Field | Meaning |
| --- | --- |
| `items[]` | Verified contract records |
| `next_page_params.smart_contract_id` | Smart-contract record identifier for continuation |

## Request parameters
```json
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "title": "Blockscout — List verified smart contracts with optional filtering options 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* balance - Sort by account balance\n* transactions_count - Sort by number of transactions\nShould be used together with `order` parameter.",
          "enum": [
            "balance",
            "transactions_count"
          ]
        },
        "order": {
          "type": "string",
          "description": "Sort order:\n* asc - Ascending order\n* desc - Descending order\nShould be used together with `sort` parameter.",
          "enum": [
            "asc",
            "desc"
          ]
        },
        "q": {
          "type": [
            "string",
            "null"
          ],
          "description": "Search query filter"
        },
        "filter": {
          "type": "string",
          "description": "Filter to apply",
          "enum": [
            "solidity",
            "vyper",
            "yul",
            "geas",
            "stylus_rust"
          ]
        },
        "items_count": {
          "type": "integer",
          "description": "Number of items per page",
          "minimum": 1
        },
        "smart_contract_id": {
          "type": "integer",
          "description": "Smart-contract ID for paging"
        },
        "coin_balance": {
          "type": "integer",
          "description": "Coin balance for paging Import profile accepts the integer branch only; other union branches are not exposed."
        },
        "hash": {
          "type": "string",
          "description": "Address hash for paging"
        },
        "transactions_count": {
          "type": "integer",
          "description": "Transactions count for paging Import profile accepts the integer 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": {}
      }
    },
    "next_page_params": {
      "type": "object",
      "properties": {
        "smart_contract_id": {
          "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/smart-contracts' \
  -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": [
    {}
  ],
  "next_page_params": {
    "smart_contract_id": 1947801
  }
}
```

## 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
### Does filter accept proxy-status values?
This implementation accepts language values only: solidity, vyper, yul, geas and stylus_rust.

### Does verified mean security audited?
No. Source verification and security review are different checks. Assess contract behavior and audit evidence separately.

### Can I sort by contract balance?
Use sort=balance with order=asc or desc. transactions_count is the other supported sort key.

### Which inputs continue the list?
The contract exposes smart_contract_id, coin_balance, hash and transactions_count. Use returned values appropriate to the active sort; coin_balance and transactions_count must be integers.

### 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-verified-smart-contracts-with-optional-filtering-options/da0581db-aec7-4d48-8104-7f1fb56d73e4/

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