> For the complete documentation index, see [llms.txt](https://dev.stagemeta.world/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://dev.stagemeta.world/reference/api-reference/orders-statistics-api.md).

# Orders Statistics API

## Overview

The Orders/Statistics/Plaques API allows you to retrieve information about plaques sold within a specific time range. This API is accessible via a GET request and requires the `from` and `to` parameters to specify the date range.

## Request

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

#### Query Parameters

| Name | Type   | Description                                                            |
| ---- | ------ | ---------------------------------------------------------------------- |
| from | String | The start date of the time range to retrieve plaques from (YYYY-MM-DD) |
| to   | String | The end date of the time range to retrieve plaques from (YYYY-MM-DD)   |

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

```json
{
  "items": [{
    "id": 0,
    "ethPrice": "1.243223",
    "usdPrice": 1002,
    "metaEnergyPercent": 25,
    "tokenId": "32",
    "plaqueName": "aaa-000"
}],
  "count": 0
}
```

{% endtab %}

{% tab title="400: Bad Request 	 'from' and 'to' must be a valid ISO 8601 date string" %}

{% endtab %}

{% tab title="500: Internal Server Error " %}

{% endtab %}
{% endtabs %}

## Example Requests

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

```bash
curl -X 'GET' \
  'https://api.stagemeta.dev/orders/statistics/plaques?from=2022-01-01&to=2023-04-13' \
  -H 'accept: application/json'
```

{% endtab %}

{% tab title="Node" %}

```javascript
fetch('https://api.stagemeta.dev/orders/statistics/plaques?from=2022-01-01&to=2023-04-13', {
  headers: {
    'accept': 'application/json'
  }
})
  .then(response => response.json())
  .then(data => console.log(data))
  .catch(error => console.error(error))
```

{% endtab %}
{% endtabs %}


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://dev.stagemeta.world/reference/api-reference/orders-statistics-api.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
