Skip to main content
GET
/
search
/
check-redirect
Check if search query should redirect to a specific entity page
curl --request GET \
  --url 'https://api.blockscout.com/{chain_id}/api/v2/search/check-redirect?apikey='
{
  "parameter": "<string>",
  "redirect": true,
  "type": "address"
}

Authorizations

apikey
string
query
required

API key for authentication. Required for all Pro API endpoints. Obtain your API key at https://dev.blockscout.com/

Query Parameters

q
string | null

Search query filter

apikey
string
required

API key for rate limiting or for sensitive endpoints

key
string

Secret key for getting access to restricted resources

Response

Response indicating whether the query should redirect to a specific entity page.

parameter
string | null
redirect
boolean | null
type
enum<string> | null
Available options:
address,
block,
transaction,
user_operation,
blob