Examples
Marketplace Analytics Examples
Additionally, you can get deep insights into how your Sequence Marketplace is performing so you can report, track, and refine to earn more revenue.
Replace the PROJECT_ID and SECRET_API_ACCESS_KEY variables with your project ID and secret token from Sequence Builder.
Fetch Transactions on your Marketplace
Fetching the number of transaction events on the Sequence marketplace - these can used either be by total or a fixed time interval.
Total
Time Interval
Fetch Wallets on your Marketplace
Fetch wallets that have interacted with your marketplace - either by total across all time or broken down by days, weeks or months.
Total
Time Interval
Schema
All wallet analytic endpoints follow a similar request schema
- Request: POST
- Content-Type: application/json
- Body (in JSON):
projectId
(uint64) — projectID of your project, can be found in the URL of the Builder project.startDate
(timestamp) — starting date of the query in YYYY—MM—DD formatendDate
(timestamp) — ending date of the query in YYYY—MM—DD formatdateInterval
(OPTIONAL string) — date interval for the query, options are “DAY”, “WEEK”, or “MONTH”
- Response (in JSON):
marketStats
(marketStats[]) [value
buyItems
(uint64) — number of items bought.sellItems
(uint64) — number of items sold
label
(string) — label associated with the corresponding endpoint ]
Was this page helpful?