# Owner Username API

The Owner Username API is used to retrieve the username of the owner of a particular plaque.

### Owner Username API

<mark style="color:blue;">`GET`</mark> `https://api.stagemeta.dev/plaques/owner-username`

#### Query Parameters

| Name | Type      | Description  |
| ---- | --------- | ------------ |
| name | \[String] | plaque names |

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

```javascript
{
  "image": "https://cdn.stagemeta.dev/palques/TPA-000.jpg",
  "metadata": "https://api.stagemeta.world/plaques/tpa-000/metadata.json",
  "price": "57589090322729260",
  "priceUsdt": "102.598996",
  "method": "mintTransfer",
  "networkEnergyPercent": "50",
  "networkEnergyEth": "0.02879454516136463",
  "networkEnergyUsdt": "51.299498",
  "canGetDeltaEnergy": false
}
```

{% endtab %}

{% tab title="500: Internal Server Error There was an error in preparing the plaque. Please contact Stagemeta support." %}

{% endtab %}

{% tab title="401: Unauthorized The access token provided in the Authorization header is invalid." %}

{% endtab %}

{% tab title="404: Not Found The plaque specified in the endpoint does not exist" %}

{% endtab %}
{% endtabs %}

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

```bash
curl -X 'GET' \
  'https://api.stagemeta.dev/plaques/owner-username?name=nnn-000' \
  -H 'accept: */*'
```

{% endtab %}

{% tab title="Node" %}
{% code overflow="wrap" %}

```javascript
fetch('https://api.stagemeta.dev/plaques/owner-username?name=nnn-000', {
  headers: {
    'accept': '*/*'
  }
})
  .then(response => response.json())
  .then(data => console.log(data))
  .catch(error => console.error(error))
```

{% endcode %}
{% endtab %}
{% endtabs %}
