GET /explorer/search
Auth X-Hub-Key from API_HUB_KEYExecute
GET /run/lighter/explorer/searchCache cached 1s, never served stale past that windowCost free · weight 0 · standard rate classSource billing freeSearch the ZK explorer by block height, batch number, transaction hash, or account.
Parameters
| name | in | type | description | |
|---|---|---|---|---|
q | query | str | required | Search query (height, batch, hash, address). example: 402901615 |
Response
type: array
pagination: none
sample: {
"[0]": "object"
}
Safe request
Reads the credential from API_HUB_KEY; it never appears in the URL.
curl -sH "X-Hub-Key: $API_HUB_KEY" "https://openapihub.dev/run/lighter/explorer/search?q=402901615"