Skip to main content
POST
/
api
/
v1
/
subnames
/
search
Query subnames
curl --request POST \
  --url https://offchain-manager.namespace.ninja/api/v1/subnames/search \
  --header 'Content-Type: application/json' \
  --data '{
  "parentName": "oppunk.eth",
  "labelSearch": "alice"
}'
"<any>"

Body

application/json
parentName
string
required

Subname parent name

Example:

"oppunk.eth"

parentNames
string[]

List of subname parent names

Example:
["oppunk.eth", "example.eth"]

Search subnames by label

Example:

"alice"

page
number

Current page. Defaults to 1

Example:

1

size
number

Page size. Defaults to 25

Example:

25

owner
string

Search by subname ownership

Example:

"0x1234...abcd"

metadata
object

Search by metadata properties

Example:
{ "role": "admin", "verified": "true" }

Response

Paged list of matching subnames

The response is of type any.

I