⚙️
API Docs
  • Welcome!
  • Quick Start
  • Reference
    • API Reference
      • Plaque Lookup API
      • Plaques Prepare API
      • Owner Username API
      • Featured Plaques API
      • Latest contract API
      • Plaques List API
      • Buy Plaque API
      • Stage Wallet Authentication API
      • Email Verification API
      • Request For Private Key API
      • Private Key API
      • Orders Statistics API
      • User Profile API
    • Blockchain Smart-Contract
      • Plaque Price Method
      • Check mintTranfer Method
      • MintTransfer method
      • Token Owners Method
Powered by GitBook
On this page
  • Overview
  • Request
  • Example Requests
  1. Reference
  2. API Reference

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))
PreviousPrivate Key APINextUser Profile API

Last updated 2 years ago