# Blockscout — Search for tokens, addresses, contracts, blocks, or transactions by identifier

Search Blockscout tokens, addresses, contracts, blocks and transactions 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 matched resource objects and next page params for resource discovery, and lookup navigation, ready for production pipelines and AI agent automation.

Documentation: https://openany.si/blockscout/blockscout-search-for-tokens-addresses-contracts-blocks-or-transactions-by-identifier/792db1da-56f6-4865-886e-86901f7226ce/
API ID: 792db1da-56f6-4865-886e-86901f7226ce
Provider: blockscout
Contract revision: 4
Method: GET
Endpoint: https://api.openany.si/v1/agent-apis/blockscout/{chain_id}/api/v2/search
Page update time: 2026-12-03T02:49:24.208Z
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:23.591Z. This is not a price-change timestamp.
```json
{
  "currency": "USD",
  "mode": "fixed",
  "priceMicroUsd": "0",
  "rounding": null,
  "unit": "call",
  "unitQuantity": null
}
```

## Usage and limits
## Blockscout Explorer Search API

Use chain\_id and optional q on search. The provider response envelope contains items and next\_page\_params. This selected implementation exposes next\_page\_params\_type as a string, without the provider’s category-specific object cursor inputs.

## What You Can Build

- **Resource discovery**: Find a resource from a name or identifier within a chain.
- **Lookup navigation**: Keep resource category and chain context with each match.

## Response Envelope

| Field | Meaning |
| --- | --- |
| `items[]` | Matched resource objects |
| `next_page_params` | Provider pagination information when returned |

## Request parameters
```json
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "title": "Blockscout — Search for tokens, addresses, contracts, blocks, or transactions by identifier 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": {
        "q": {
          "type": [
            "string",
            "null"
          ],
          "description": "Search query filter"
        },
        "next_page_params_type": {
          "type": "string",
          "description": "Next page params type for paging"
        }
      }
    },
    "headers": {
      "type": "object",
      "properties": {}
    }
  },
  "required": [
    "path",
    "query",
    "headers"
  ]
}
```

## Response fields
Source: Inferred from examples; not an exhaustive provider schema.
```json
{
  "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/search' \
  -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
{}
```

## 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 this search across multiple chains?
No. chain_id scopes the request to one chain.

### Can I pass the provider’s token or address cursor object?
This selected input contract exposes q and next_page_params_type only. Category-specific object cursors are not accepted as inputs here.

### How does this differ from quick search?
Quick search is an unpaginated root array. This route uses a search-result envelope with pagination information; continuation is limited to the inputs exposed by this implementation.

### Should q be a JSON object?
No. q is one nullable string. Send the desired name or identifier as a single query value.

### 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-search-for-tokens-addresses-contracts-blocks-or-transactions-by-identifier/792db1da-56f6-4865-886e-86901f7226ce/

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