# Blockscout — Check if search query should redirect to a specific entity page

Check Blockscout search query for entity-page redirection 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 structured JSON records, identifiers, and response metadata for explorer search boxes, and navigation helpers, ready for production pipelines and AI agent automation.

Documentation: https://openany.si/blockscout/blockscout-check-if-search-query-should-redirect-to-a-specific-entity-page/4af5c565-dbc0-4956-8744-fd0a618c28bc/
API ID: 4af5c565-dbc0-4956-8744-fd0a618c28bc
Provider: blockscout
Contract revision: 4
Method: GET
Endpoint: https://api.openany.si/v1/agent-apis/blockscout/{chain_id}/api/v2/search/check-redirect
Page update time: 2026-12-03T02:49:16.018Z
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:15.678Z. This is not a price-change timestamp.
```json
{
  "currency": "USD",
  "mode": "fixed",
  "priceMicroUsd": "0",
  "rounding": null,
  "unit": "call",
  "unitQuantity": null
}
```

## Usage and limits
## Blockscout Search Redirect Check API

Provide chain\_id and optionally q. The check helps an application decide whether to navigate to a specific explorer entity. It is a lookup result; the client remains responsible for navigation.

## What You Can Build

- **Explorer search boxes**: Check whether direct entity navigation is appropriate.
- **Navigation helpers**: Keep query resolution within the selected chain.

## Response Scope

Use the returned redirect-check result to guide client navigation. Only use a destination supplied by the response; an empty result does not identify an entity.

## Request parameters
```json
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "title": "Blockscout — Check if search query should redirect to a specific entity page 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"
        }
      }
    },
    "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/check-redirect' \
  -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
### Is q required by this implementation?
The contract marks q as optional and nullable. Supply the intended search text when checking a query.

### Does the API automatically move the user to a page?
No. The application reads the lookup result and handles navigation.

### Is this a paginated entity search?
It checks redirection for a query. This implementation has no page or result-limit input.

### Can the same query refer to different chains?
Keep chain_id with the query and any resolved entity context.

### 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-check-if-search-query-should-redirect-to-a-specific-entity-page/4af5c565-dbc0-4956-8744-fd0a618c28bc/

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