> For the complete documentation index, see [llms.txt](https://docs.xrpdomains.xyz/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.xrpdomains.xyz/developer-guide/xrpl-name-sdk/xrplid-api.md).

# 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

<mark style="color:blue;">`GET`</mark> `https://app.xrpdomains.xyz/api/xrplnft/isOwner`

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

#### Query Parameters

| Name                                      | Type                               | Description |
| ----------------------------------------- | ---------------------------------- | ----------- |
| address<mark style="color:red;">\*</mark> | rLhi87aSCyNW88tW4632yLiwinbghFZNue |             |

{% tabs %}
{% tab title="200: OK " %}

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

{% endtab %}
{% endtabs %}

### Resolve Names

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

<mark style="color:blue;">`GET`</mark> `https://app.xrpdomains.xyz/api/xrplnft/getAddress`

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

#### Query Parameters

| Name                                     | Type           | Description |
| ---------------------------------------- | -------------- | ----------- |
| domain<mark style="color:red;">\*</mark> | xrpdomains.xrp |             |

{% tabs %}
{% tab title="200: OK " %}

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

{% endtab %}
{% endtabs %}

### Reverse Resolve Names

<mark style="color:blue;">`GET`</mark> `https://app.xrpdomains.xyz/api/xrplnft/getName`

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

#### Query Parameters

| Name                                      | Type                               | Description |
| ----------------------------------------- | ---------------------------------- | ----------- |
| address<mark style="color:red;">\*</mark> | rLhi87aSCyNW88tW4632yLiwinbghFZNue |             |

{% tabs %}
{% tab title="200: OK " %}

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

{% endtab %}
{% endtabs %}

### Get All Names

<mark style="color:blue;">`GET`</mark> `https://app.xrpdomains.xyz/api/xrplnft/getAllNames`

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

#### Query Parameters

| Name                                      | Type                               | Description |
| ----------------------------------------- | ---------------------------------- | ----------- |
| address<mark style="color:red;">\*</mark> | rLhi87aSCyNW88tW4632yLiwinbghFZNue |             |

{% tabs %}
{% tab title="200: OK " %}

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

{% endtab %}
{% endtabs %}

Please contact **<info@xrpdomains.xyz>** if you have any questions about integration.
