v1

latestOpenAPI 3.0.02026-07-26268286602.5 KB
DomainsExtractor

Get basic info about domain for ens-lookup and blockscout quick-search. Sorted by `registration_date`

get/services/bens/api/v1/{chain_id}/domains:lookup

Path parameters

chain_idstring int64 required

The chain (network) where domain search should be done

Query parameters

namestring

Optional. Name of domain, for example vitalik.eth. None means lookup for any name

only_activeboolean

Filtering field to remove expired domains

sortstring

Sorting field. Default is registration_date

order'ORDER_UNSPECIFIED' | 'ASC' | 'DESC'

Order direction. Default is DESC

page_sizeinteger

Optional. Max number of items in single response. Default is 50

page_tokenstring

Optional. Value of .pagination.page_token from previous response

protocolsstring

comma separated list of protocol ids to filter by

Response

A successful response.