πŸ‘¨πŸš€
Unique User Data
With this data API, one can find out the no of unique users who have interacted with the dapp over time.
get
https://data.biconomy.io/api/v1/dapp/uniqueUserData
Fetches unique user data for a particular dapp

API Call via NodeJS:

const fetch = require("node-fetch");
const { URL, URLSearchParams } = require('url');
const authToken = "<Account's AUTH TOKEN>";
const apiKey = "<Dapp's API KEY>";
const getUniqueUserData = () => {
const url = new URL("https://data.biconomy.io/api/v1/dapp/uniqueUserData");
​
const params = {
startDate : "11-14-2021",
endDate : "01-19-2022"
}
url.search = new URLSearchParams(params).toString();
​
const requestOptions = {
method: 'GET',
headers: { "Content-Type": "application/x-www-form-urlencoded", "authToken": authToken, "apiKey" : apiKey }
};
fetch(url, requestOptions)
.then(response => response.json())
.then(data => console.log(data))
.catch(error => console.error('Error:', error));
}
​
getUniqueUserData()
Copy link
On this page
get
Fetches unique user data for a particular dapp
API Call via NodeJS: