# Plaques Prepare API

The Stagemeta Plaques Prepare API allows developers to prepare a plaque to be minted on the Stagemeta blockchain. This API generates the metadata necessary for the plaque to be minted and provides information on pricing, energy usage, and more. This document will provide information on how to use the Stagemeta Plaques Prepare API, including details on the request, response, and errors.

### Plaque Lookup API

<mark style="color:blue;">`GET`</mark> `https://api.stagemeta.dev/plaques/prepare/{plaqueName}`

#### Path Parameters

| Name                                         | Type   | Description    |
| -------------------------------------------- | ------ | -------------- |
| plaqueName<mark style="color:red;">\*</mark> | String | Name of plaque |

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

```javascript
[
  {
    "price": "57589090322729260",
    "priceEth": "0.05758909032272926",
    "priceUsd": "102.201631",
    "currency": "ETH",
    "description": "Purchase a unique Metaverse Teleport plaque address that is a new and innovative way to 		  represent real-world objects with outstanding value in Metaverse. Metaverse plaque owners can assign to a thriving land in our Metaverse to create a fully functional business.",
    "status": "AVAILABLE",
    "name": "nyc-000",
    "image": null,
   .
   .
   .
  },
  {
    "price": "0",
    "priceEth": "0",
    "priceUsd": "0.000000",
    "currency": "ETH",
    "description": "Purchase a unique Metaverse Teleport plaque address that is a new and innovative way to represent real-world objects with outstanding value in Metaverse. Metaverse plaque owners can assign to a thriving land in our Metaverse to create a fully functional business.",
    "status": "SOLD",
    "name": "uae-000",
    "image": "https://cdn.stagemeta.world/palques/UAE-000.jpg",
    .
    .
    .
  }
]
```

{% 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/lookup?name=nyc-000&name=uae-000
-H 'accept: application/json'
```

{% endtab %}

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

```javascript
fetch('https://api.stagemeta.dev/plaques/prepare/tpa-000', {
  method: 'POST',
  headers: {
    'accept': '*/*',
    'Authorization': 'Bearer ACCESS_TOKEN'
  },
})
  .then(response => {
    console.log(response);
    // handle response
  })
  .catch(error => console.error(error));
```

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