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
GET 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)
{
"items": [{
"id": 0,
"ethPrice": "1.243223",
"usdPrice": 1002,
"metaEnergyPercent": 25,
"tokenId": "32",
"plaqueName": "aaa-000"
}],
"count": 0
}Example Requests
curl -X 'GET' \
'https://api.stagemeta.dev/orders/statistics/plaques?from=2022-01-01&to=2023-04-13' \
-H 'accept: application/json'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))Last updated