Skip to main content
GET
/
search
Search for tokens, addresses, contracts, blocks, or transactions by identifier
curl --request GET \
  --url 'https://api.blockscout.com/{chain_id}/api/v2/search?apikey='
{
  "items": [
    {}
  ],
  "next_page_params": {}
}

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

next_page_params_type
string

Next page params type for paging

label
object

Label for paging in the search results

token
object

Token for paging in the search results

contract
object

Contract for paging in the search results

tac_operation
object

TAC operation for paging in the search results

metadata_tag
object

Metadata tag for paging in the search results

block
object

Block for paging in the search results

blob
object

Blob for paging in the search results

user_operation
object

User operation for paging in the search results

address
object

Address for paging in the search results

ens_domain
object

ENS domain for paging in the search results

Response

Successful search response containing matched items and pagination information. Results are ordered by relevance and limited to 50 items per page.

Search results containing blocks, transactions, and addresses

items
object[]
next_page_params
object