Send Your First Query

The API has only one route, which is the /score POST endpoint.

Here is a self-explanatory query to fetch the score of a user based on the number of proposals the user has created in DAOs (in decentalized governance protocols) with a weightage of 30%, the number of transactions the user has done with wETH with a weightage of 60% and if the user has an ENS or not with a weightage of 10%


{
	"query": {
		"haveEns": {
			"weight": 0.1
		},
		"numberOfSpecificErc20Transactions": {
			"weight": 0.6,
			"query": {
				"address": "0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2"
			}
		},
		"numberOfProposalsCreated": {
			"weight": 0.3
		}
	}
}

The request URL should contain a query string with the user address:

https://rhetorical-coat-production.up.railway.app/score?address=ADDY

Last updated