XRPLID API

This is a beta version that will be continuously improved.

We are also provides a free HTTP API to help any dApps to integrate the name-resolving and reverse-name-resolving service.

isOwner

GET https://app.xrpdomains.xyz/api/xrplnft/isOwner

https://app.xrpdomains.xyz/api/xrplnft/isOwner?address=rLhi87aSCyNW88tW4632yLiwinbghFZNue

Query Parameters

NameTypeDescription

address*

rLhi87aSCyNW88tW4632yLiwinbghFZNue

{
    "status": true,
    "message": "Success",
    "data": true
}

Resolve Names

Resolve .xrp name to get the address of the owner.

GET https://app.xrpdomains.xyz/api/xrplnft/getAddress

https://app.xrpdomains.xyz/api/xrplnft/getAddress?domain=xrpdomains.xrp

Query Parameters

NameTypeDescription

domain*

xrpdomains.xrp

{
    "status": true,
    "message": "Success",
    "data": { 
        "owner": "rLhi87aSCyNW88tW4632yLiwinbghFZNue",
        "metadata": [
        ]
    }
}

Reverse Resolve Names

GET https://app.xrpdomains.xyz/api/xrplnft/getName

https://app.xrpdomains.xyz/api/xrplnft/getName?address=rLhi87aSCyNW88tW4632yLiwinbghFZNue

Query Parameters

NameTypeDescription

address*

rLhi87aSCyNW88tW4632yLiwinbghFZNue

{
    status: true,
    message: "Success",
    data: "hello.xrp"
}

Get All Names

GET https://app.xrpdomains.xyz/api/xrplnft/getAllNames

https://app.xrpdomains.xyz/api/xrplnft/getAllNames?address=rLhi87aSCyNW88tW4632yLiwinbghFZNue

Query Parameters

NameTypeDescription

address*

rLhi87aSCyNW88tW4632yLiwinbghFZNue

{
    status: true,
    message: "Success",
    data: ["xrpdomain.xrp","xrpdomains.xrp",]
}

Please contact [email protected] if you have any questions about integration.

Last updated