# Deep Resolve

Fetch all records corresponding to the Domain Name in the request, e.g. example.tld\
In case the domain exists in multiple blockchains/namespace, this endpoint returns an array of all the matching records, ordered based on the NOTO scoring algorithm and/or your custom collision rule, [more info here](https://docs.noto.network/noto-api-docs/api-reference/scoring-mechanism)

You can also specify a Network and/or a Provider in the API call to limit the search to those specific Network/Provider.

### **Endpoint:** <mark style="color:blue;background-color:green;">`engine.noto.network/noto/api/v1/deep-resolve`</mark>

### **Method:** <mark style="color:green;">`GET`</mark>

### **Parameters:**

<table><thead><tr><th width="200">Param name</th><th width="89">Type</th><th width="101">Required</th><th width="163">Addition Info</th><th>Example</th></tr></thead><tbody><tr><td>domain</td><td>String</td><td>✅</td><td></td><td>example.tld</td></tr><tr><td>network</td><td>String</td><td><em>optional</em></td><td><a href="../supported-networks">Available Options</a></td><td><code>POLYGON</code></td></tr><tr><td>provider</td><td>String</td><td><em>optional</em></td><td><a href="../supported-domain-namespaces">Available Options</a></td><td><code>FREENAME</code></td></tr></tbody></table>

## Return type: <mark style="color:orange;">**ARRAY of OBJECTs**</mark>

### **Request Example:**

{% code fullWidth="false" %}

```http
GET /noto/api/v1/deep-resolve?domain=example.tld&network=POLYGON&provider=FREENAME
```

{% endcode %}

### Response Example:

```json
{
  "result": true,
  "data": [
    {
      "info": {
        "sld": "example",
        "tld": "tld",
        "smartContractAddress": "0x48Fd97F28128DBc661F62Bae6AA925b15928dDde",
        "lastUpdate": "2024-02-03T08:59:25.040Z",
        "CSAMValidation": false,
        "KYC": false,
        "tags": []
      },
      "records":{
        // if any records exist, will look like this example
        "redirect.WEBSITE.0": "https://freename.io",
        "profile.OWNER.fullname": "John Doe",
        "record.TXT.0": "https://ex.ample/",
        "record.A.0": "30.25.212.37"
        "token.ETH.0":"0x0000000000000000000000000000000000000000",
        ...
      },
      "domain": "cederico.metaverse",
      "network": "POLYGON",
      "provider": "FREENAME",
      "ownerAddress": "0x673c4F104F425BEB439EdeEF2e22bDFCEdAD0Ac5",
      "score": 100,
      "spam": false
    }, 
    {
      ...
    }, 
    {
      ...
    }
  ]
}
```
