# Plaques List API

The Stagemeta plaques API allows developers to retrieve information about unique Metaverse Teleport plaques. This includes details about the plaque such as its ID, name, status, condition, and sale information. The API also allows developers to filter and sort the results based on various criteria, such as the plaque's condition, marketplace, status, and featured status.

### Plaques List API

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

#### Query Parameters

| Name     | Type   | Description                                                                                                                                                                                                                                                  |
| -------- | ------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
| filters  | Object | *Example* : `{ "filters": { "condition": ["VIRGIN", "USED", "DAMAGED"], "marketplace": ["OPENSEA","STAGE"], "status": ["AVAILABLE", "SOLD", "MINTED", "LOCKED"], "featured": true, "from": "2022-03-13T22:25:30.475Z", "to": "2023-03-13T22:25:30.475Z" } }` |
| orderBy  | String | `p.updated_at`, `p.updatedAt`, `p.status`, `p.sale_at`, `p.featured_at`, `p.minted_at`                                                                                                                                                                       |
| filterBy | String | `p.updated_at`, `p.sale_at`, `p.featured_at`,`p.minted_at`                                                                                                                                                                                                   |
| skip     | Number | `ASC`, `DESC`                                                                                                                                                                                                                                                |
| limit    | Number |                                                                                                                                                                                                                                                              |
| sort     | String |                                                                                                                                                                                                                                                              |
| search   | String |                                                                                                                                                                                                                                                              |

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

```javascript
{
  "id": 12,
  "createdAt": "2023-01-28T17:36:38.542Z",
  "updatedAt": "2023-01-28T17:36:38.542Z",
  "deletedAt": null,
  "version": "1.1.0",
  "address": "0x83dda28e561f84cffbf8faa74f99ec57ed5dd093",
  "status": "ACTIVE",
  "abiAddress": "https://cdn.stagemeta.world/contracts/1.1.1.json"
}
```

{% 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?filters[condition]=VIRGIN&filters[condition]=USED&filters[condition]=DAMAGED&filters[marketplace]=OPENSEA&filters[marketplace]=STAGE&filters[status]=AVAILABLE&filters[status]=SOLD&filters[status]=MINTED&filters[status]=LOCKED&filters[featured]=true&filters[from]=2022-03-13T22:25:30.475Z&filters[to]=2023-03-13T22:25:30.475Z&orderBy=p.id&filterBy=p.updated_at' \
  -H 'accept: application/json'
```

{% endtab %}

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

```javascript
fetch('https://api.stagemeta.dev/plaques?filters[condition]=VIRGIN&filters[condition]=USED&filters[condition]=DAMAGED&filters[marketplace]=OPENSEA&filters[marketplace]=STAGE&filters[status]=AVAILABLE&filters[status]=SOLD&filters[status]=MINTED&filters[status]=LOCKED&filters[featured]=true&filters[from]=2022-03-13T22:25:30.475Z&filters[to]=2023-03-13T22:25:30.475Z&orderBy=p.id&filterBy=p.updated_at', {
  headers: {
    'Accept': 'application/json'
  }
})
.then(response => response.json())
.then(data => console.log(data))
.catch(error => console.error(error));
```

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