> For the complete documentation index, see [llms.txt](https://tagzz.gitbook.io/tagzz-your-omnichain-identity/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://tagzz.gitbook.io/tagzz-your-omnichain-identity/integration-guide/rest-api/tagzz-name-to-address.md).

# Tagzz name to Address

### Resolve Tagzz name to address

```url
GET /resolve
```

#### Query Param

<table><thead><tr><th width="212">Param</th><th>Description</th></tr></thead><tbody><tr><td><code>domainName</code></td><td>Domain name that the user has minted over the Tagzz platform</td></tr><tr><td><code>subDomain</code></td><td>Sub Domain name that has been added by user while adding the records, by default it is <code>main</code></td></tr></tbody></table>

#### Example

{% code overflow="wrap" %}

```bash
curl -X GET "https://api.tagzz.xyz/resolve?domainName=bruce&subDomain=main" \
-H "Accept: application/json"
```

{% endcode %}

#### Response

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

```json
{
  "msg": "Domain resolved",
  "resolvedData": "0x2480a8f1325b579b57922929c895ba4ecd47521c"
}
```

{% endtab %}

{% tab title="Status: 404 Not Found" %}

```json
{
  "msg": "No matching address found for the provided domainName and subDomain"
}
```

{% endtab %}
{% endtabs %}
