# /tokens/:address/:id/uri

{% hint style="info" %}
You do NOT need an API key for this endpoint
{% endhint %}

<mark style="color:green;">`GET`</mark>`/tokens/:address/:id/uri`

The `/tokens/:address/:id/uri` endpoint retrieves URI data about tokens on any chain.

### **Headers**

None

### **Path Variables**

<table><thead><tr><th width="215">Name</th><th width="130">Mandatory?</th><th width="119">Default</th><th>Value</th></tr></thead><tbody><tr><td><code>:address</code></td><td>Yes</td><td></td><td>The address of the contract we want URI data for.</td></tr><tr><td><code>:id</code></td><td>Yes</td><td></td><td>The token Id.</td></tr></tbody></table>

### **Params**

<table><thead><tr><th width="215">Name</th><th width="130">Mandatory?</th><th width="119">Default</th><th>Value</th></tr></thead><tbody><tr><td><code>b</code></td><td>Yes</td><td></td><td>The chain the contract is on</td></tr><tr><td><code>s</code></td><td>No</td><td><code>0</code></td><td>The token standard for the contract:<br>0: ERC721<br>1: ERC1155</td></tr></tbody></table>

### **Response Body**

The response body will be whatever is defined in the target for the URI for that token on that chain.\
An example is provided below.

### **Example Request**

```
GET https://api.bless.net/tokens/0xbfe75b036bc41a3cbbb55b5aaec804706e9d3751/:id/uri?b=11155111
```

### **Response**

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

```json
{
    "image": "ipfs://QmQRMzNX9bcdnEuMx4qhsQGWxJ2BA3BNZZVybu3nZxma5d",
    "attributes": [
        {
            "trait_type": "Mouth",
            "value": "Bored Cigarette"
        },
        {
            "trait_type": "Eyes",
            "value": "3d"
        },
        {
            "trait_type": "Hat",
            "value": "Sea Captain's Hat"
        },
        {
            "trait_type": "Background",
            "value": "Army Green"
        },
        {
            "trait_type": "Fur",
            "value": "Pink"
        }
    ]
}
```

{% endtab %}

{% tab title="400" %}

```json
{
  "message": "Please provide chainId and delegate address as query parameters."
}
```

{% endtab %}
{% endtabs %}
