SID API

SPACE ID also provides a free HTTP API with a rate limit to help Dapps integrate the name-resolving and reverse-name-resolving services.

Resolve Names

GET https://api.prd.space.id/v1/getAddress?tld=&domain=

Query Parameters

NameTypeDescription

tld*

String

top level domain, ex: bnb, arb1

domain*

String

domain name, ex: allen.bnb

{
    "code": 0,
    "address": "0x0e76a6dC9af8080b48C51E564e964CD15b9D6664"
}

Request URL Example:

https://api.prd.space.id/v1/getAddress?tld=bnb&domain=allen.bnb

https://api.prd.space.id/v1/getAddress?tld=arb1&domain=allen.arb

Reverse Resolve Names

GET https://api.prd.space.id/v1/getName?tld=&address=

Query Parameters

NameTypeDescription

tld

String

top-level domain, ex: bnb, arb1

address

String

address

{
"code": 0,
"name": "allen.bnb"
}

Request URL Example:

https://api.prd.space.id/v1/getName?tld=bnb&address=0x2e552E3aD9f7446e9caB378c008315E0C26c0398

https://api.prd.space.id/v1/getName?tld=arb1&address=0x2e552E3aD9f7446e9caB378c008315E0C26c0398

Last updated